CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

jui-dombuilder

Build and update DOM with JUI's DomBuilder. Use this skill whenever rendering or re-rendering DOM in a JUI component, control or fragment: building element trees with Div/Span/H3/A/Button etc. under Wrap.$(el), extracting elements with .by()/.use(), wiring events with .onclick()/.on(), inserting child components, and — critically — updating part of the DOM at runtime. Triggers include: DomBuilder, Wrap, Wrap.buildInto, buildInto, rerender, re-render, refresh part of the DOM, update the DOM, ElementBuilder, INodeProvider, StateComponent, StateVariable, 'my onclick stopped firing after re-render', 'event handler not wired up', 'how do I redraw a section'.

Quality

94%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

90%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

Excellent framework reference content: lean, entirely JUI-specific, with executable examples for every rendering and update path and a genuinely useful decision table for runtime DOM updates. The only improvements are minor — an explicit post-rebuild verification step and splitting the API inventory into a reference file.

DimensionReasoningScore

Conciseness

The body is dense with bespoke-framework facts Claude cannot know (renderer() vs buildNode, .by()/.use() extraction, the Wrap.buildInto vs component buildInto distinction, reuse()) and contains no padding or explanation of known concepts — every section earns its tokens, fitting the 'lean and efficient' anchor better than the 'minor over-explanation' one.

5 / 5

Actionability

Copy-paste-ready Java examples cover every common case: renderer(root -> {...}), the buildNode override, the builder-method chain, both buildInto variants with the dead-handler trap and its fix shown side by side, rerender() over component state, and reuse() for expensive children — fully executable guidance.

5 / 5

Workflow Clarity

A numbered Workflow section plus a decision table ('One text/attribute tweak → targeted mutation ... Most of the component changes → rerender()') gives a clear sequence, and the trap callout supplies a symptom → diagnosis → fix loop. It falls short of the top anchor only because there is no explicit verification step (e.g. confirming handlers fire after a rebuild); DOM updating is not destructive/batch, so the score-3 cap does not apply.

4 / 5

Progressive Disclosure

Well-sectioned with clear headers, a decision table and one-level external doc links, but the ~180-line single-file body inlines an element-class inventory and builder-method API listing that would fit a references/ file; matches 'good structure with minor organization gaps' rather than the cleanly split top anchor.

4 / 5

Total

18

/

20

Passed

Description

96%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description: concrete, comprehensive capability list with an explicit use-when clause and unusually good trigger coverage that includes natural symptom phrasing. The only weakness is a handful of generic trigger phrases that create minor conflict risk with non-JUI DOM work.

DimensionReasoningScore

Specificity

Enumerates multiple concrete actions — 'building element trees with Div/Span/H3/A/Button etc. under Wrap.$(el), extracting elements with .by()/.use(), wiring events with .onclick()/.on(), inserting child components, and — critically — updating part of the DOM at runtime' — with no notable coverage gaps, matching the comprehensive-coverage anchor rather than the 'minor gaps' anchor.

5 / 5

Completeness

Explicitly answers both what ('Build and update DOM with JUI's DomBuilder...' with enumerated capabilities) and when ('Use this skill whenever rendering or re-rendering DOM in a JUI component, control or fragment' plus a 'Triggers include:' list with concrete phrases), matching the top anchor exactly.

5 / 5

Trigger Term Quality

Covers API names (DomBuilder, Wrap, Wrap.buildInto, ElementBuilder, INodeProvider, StateComponent), natural variations ('rerender', 're-render', 'refresh part of the DOM', 'update the DOM'), and symptom phrases a user would genuinely say ('my onclick stopped firing after re-render', 'how do I redraw a section') — comprehensive synonym-level coverage.

5 / 5

Distinctiveness Conflict Risk

The JUI-specific triggers (DomBuilder, Wrap, StateComponent) form a clear niche, but generic phrases like 'update the DOM', 'rerender' and 'how do I redraw a section' could plausibly fire for non-JUI DOM questions, and the skill intentionally overlaps its sibling jui-components/controls/fragments skills — minor overlap risk, so a notch below the 'minimal conflict risk' anchor.

4 / 5

Total

19

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

juiproject/jui-stack

Path

jui-skills/jui-dombuilder/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.