CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

modular-ds-presentational-components

Use when: building or evaluating flexible, composable Primer React parts that consumers assemble directly, or deciding whether a pattern is ready to become a config component. Covers structure-first composition, pairing presentational components with behavior hooks, data-component attributes, sub-component export conventions, and when to promote a pattern up the spectrum.

Quality

80%

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

Fix and improve this skill with Tessl

tessl review fix ./.agents/skills/modular-ds-presentational-components/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

67%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.

A high-quality conventions reference: concrete, non-obvious, repo-specific rules with copy-paste export examples and well-signaled cross-references. Its weakest point is conciseness — the data-component section and several caveat chains over-explain and could be consolidated.

Suggestions

Consolidate the four data-component paragraphs into rule-plus-one-line-rationale form, stating the ADR-023 identity argument once instead of re-deriving it across paragraphs.

Trim the layered caveats in the composition rules (e.g. the ButtonBase/variant-props bullet) to the rule and a single-clause reason, leaving extended justification to the referenced ADR and contributor docs.

Replace or shorten the ~17-line illustrative useList/List sample with a minimal fragment showing only the dot-notation vs flat-export contrast it exists to illustrate.

DimensionReasoningScore

Conciseness

The body is dense with non-obvious, repo-specific conventions and pads nothing Claude already knows, but the data-component section spans four discursive paragraphs that repeatedly re-invoke ADR-023's identity-vs-styling rationale, and layered caveat chains (e.g. 'this is a default, not a prohibition... otherwise you're hard-coding an appearance decision the consumer can't reach') could be tightened. Mostly efficient with clear trimming opportunities.

3 / 5

Actionability

Concrete, executable guidance throughout: exact attribute values ('data-component="ComponentName.PartName"', PascalCase), ':where()' specificity wrapping, copy-paste-ready export snippets for both flat and composed forms, and 'CSS Modules (.module.css)... and clsx for className merging'. The main component sample is explicitly flagged as illustrative shorthand ('useList and the List parts don't exist in the repo'), a justified but real gap versus fully executable coverage.

4 / 5

Workflow Clarity

The topical flow (when to use → behavior via hooks → composition rules → data-component → exports → accessibility → promotion) is unambiguous per area, includes concrete decision guidance ('If starting fresh, ship flat named exports only'), and gives escalation paths ('surface it as a gap rather than resolving it inside a component PR'). It is a conventions reference rather than a stepwise workflow, and no destructive or batch operations require validation loops.

4 / 5

Progressive Disclosure

Well-organized sections with clearly signaled one-level references to sibling skills (modular-ds-utilities, modular-ds-config-components, slots) and repo docs (contributor-docs/adrs/adr-023-stable-selectors-api.md, contributor-docs/style.md); no bundle files exist to mis-navigate. The minor gap is that the deep ADR-023 policy discussion (four paragraphs of data-component rules) is inlined in SKILL.md rather than split into a reference file.

4 / 5

Total

15

/

20

Passed

Description

83%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 with an explicit 'Use when:' trigger clause and a concrete enumeration of covered topics, both in the skill's specific niche. The main risks are jargon-dependent phrasing ('promote a pattern up the spectrum') and minor trigger overlap with the config-components sibling skill.

DimensionReasoningScore

Specificity

Lists several concrete actions and topics ('building or evaluating flexible, composable Primer React parts', 'pairing presentational components with behavior hooks', 'data-component attributes', 'sub-component export conventions'), but phrases like 'when to promote a pattern up the spectrum' lean on domain jargon rather than concrete actions, leaving minor gaps in coverage.

4 / 5

Completeness

Explicitly answers both halves: 'Use when: building or evaluating... or deciding whether a pattern is ready to become a config component' gives concrete triggers, and 'Covers structure-first composition, pairing presentational components with behavior hooks, data-component attributes...' states what the skill does. Both what and when are explicit with concrete trigger phrases, matching the top anchor.

5 / 5

Trigger Term Quality

'Use when: building or evaluating... composable Primer React parts... or deciding whether a pattern is ready to become a config component' provides natural phrases a contributor would actually say. A few natural terms (sub-components, RSC, exports) are absent, so it falls just short of comprehensive synonym coverage.

4 / 5

Distinctiveness Conflict Risk

The Primer-specific, presentational-components niche keeps it clearly distinguishable, but the 'deciding whether a pattern is ready to become a config component' trigger overlaps with the closely related modular-ds-config-components sibling skill — minor overlap risk with a closely related skill.

4 / 5

Total

17

/

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

primer/react

Path

.agents/skills/modular-ds-presentational-components/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.