CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

modular-ds-accessibility-contract

Use when: determining which Primer React API type (config, presentational, base, or utility) should own a specific accessibility responsibility, or documenting that ownership for a new component. Covers a responsibility matrix mapping ARIA requirements to API types, worked examples for Dialog and Tabs, and how to build a matrix for a new ARIA pattern.

Quality

87%

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

75%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 dense, high-value body: nearly all content is project-specific knowledge Claude would not have (responsibility matrices, getter gating rules, useDevOnlyEffect/ADR-012 conventions, APG optional-semantics policy), delivered with concrete rules and worked examples. Its main weakness is rhetorical repetition in the optional-semantics and dev-mode warnings sections, and cross-references that are mentioned in prose rather than signaled as navigation.

Suggestions

Consolidate the 'Optional APG semantics' section: the rule is stated three times across the section and the 'Document the call means a file in the repository' paragraph — state the rule once, give the accordion worked example once, and cut the repetition.

Tighten the dev-mode warnings section: the useDevOnlyEffect/ADR-012 rationale, the Banner.tsx DOM-query precedent, and the warning-truthiness note can each be one or two sentences instead of full paragraphs.

Format cross-skill references as explicit pointers (e.g. "See `modular-ds-utilities` for the callback-ref registration mechanism") so navigation to sibling material is signaled rather than buried in prose.

DimensionReasoningScore

Conciseness

Mostly efficient — the matrices are information-dense and the doc assumes competence (no explainer on what ARIA or showModal() is) — but several passages could be tightened: the "Optional APG semantics" section makes its point three times ("is the failure mode here, just as much as one that's wrongly defaulted" and the follow-on "'Document the call' means a file in the repository" paragraph restate the same rule), and the dev-mode warnings section runs five paragraphs where two would carry the same content. This fits the 3 anchor ("mostly efficient but includes some unnecessary explanation or could be tightened") better than the 4 anchor's "minor instances".

3 / 5

Actionability

The guidance is fully actionable for an instruction skill: exact decision rules ("Gate the reference on the referenced part registering itself", "omit `aria-describedby` entirely when content has complex semantic structure", "focus the least destructive control"), a copy-paste-ready code pattern for the dev-mode warning with the exact file path (`packages/react/src/internal/hooks/useDevOnlyEffect.ts`), a concrete precedent (`Banner.tsx` querying `[data-banner-title]`), and a complete worked example (Dialog) plus a skeleton (Tabs). The 5 anchor's "specific examples cover the common cases" is met.

5 / 5

Workflow Clarity

The "Applying this to other ARIA patterns" section gives a clearly sequenced 5-step procedure with embedded checkpoints — step 4 instructs marking ⚠️ in every column, step 5 requires committing the matrix as a deliverable, and the testing guidance ("cover both the default and the opt-in path in tests, stories, or docs metadata") verifies the outcome. It falls short of the 5 anchor because there is no explicit validate/fix/retry feedback loop, but it is comfortably above the 3 anchor's implicit checkpoints.

4 / 5

Progressive Disclosure

No bundle files exist, and the single SKILL.md is well-structured with clear section headers, two example matrices, and a build procedure — no monolithic wall or nested references. It misses the 5 anchor because cross-skill and cross-file references are prose-embedded ("Per `modular-ds-spectrum-model`", "`modular-ds-utilities` shows one") rather than clearly signaled navigation pointers, and the long dev-mode warnings section could arguably live in a separate reference file.

4 / 5

Total

16

/

20

Passed

Description

92%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: it explicitly answers both what and when, uses concrete domain-specific trigger language, and is tightly scoped to a niche that virtually no other skill would claim. The only improvement space is adding a few natural synonym terms (a11y, screen reader) to broaden trigger matching.

DimensionReasoningScore

Specificity

The description lists multiple concrete actions — "determining which Primer React API type (config, presentational, base, or utility) should own a specific accessibility responsibility", "documenting that ownership for a new component", and "how to build a matrix for a new ARIA pattern" — plus the concrete artifacts (responsibility matrix, worked examples for Dialog and Tabs). This is comprehensive coverage of the skill's scope with no padding, matching the 5 anchor rather than the 4 anchor, whose coverage has "minor gaps".

5 / 5

Completeness

Both halves are explicit: the "Use when:" clause opens the description with concrete trigger scenarios ("determining which... API type should own a specific accessibility responsibility, or documenting that ownership for a new component"), and the second sentence states what it covers ("a responsibility matrix mapping ARIA requirements to API types, worked examples for Dialog and Tabs, and how to build a matrix"). This clearly matches the 5 anchor; the 4 anchor's weaker "when" does not apply.

5 / 5

Trigger Term Quality

Good keyword coverage: "accessibility", "ARIA", "Primer React", "API type", "Dialog", "Tabs", "component" are terms a user in this codebase would naturally say. A few natural variations are missing (e.g. "a11y", "screen reader", "focus", "keyboard"), which matches the 4 anchor ("good keyword coverage; a few natural terms missing") rather than the 5 anchor's comprehensive synonym coverage.

4 / 5

Distinctiveness Conflict Risk

"Primer React API type (config, presentational, base, or utility)" + "accessibility responsibility" carves out a clear niche with distinct triggers that no generic skill would compete with, matching the 5 anchor ("clear niche with distinct triggers; minimal conflict risk").

5 / 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

primer/react

Path

.agents/skills/modular-ds-accessibility-contract/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.