Design-system audit
When to use
Use this skill when a named design system has a canonical component or token source and
the requester can define the artifact sample and as-of boundary. It can assess adoption,
coverage, repeated patterns, deviations, and documented exceptions without changing them.
Do not use it to define a new system, refactor product work, approve an exception, or
claim organization-wide adoption from an undeclared sample. Not for editing components,
tokens, design files, code, or adoption records without a separately confirmed action.
Inputs and source discipline
- Identify the canonical component and token sources, version, source date, and as-of
date/time. Record the rule that makes a component or token canonical; if the source is
missing or contradictory, keep adoption unknown.
- Declare the sample and coverage: population if known, eligibility rule, included and
excluded artifacts, artifact/version dates, and inspection method. Do not call a sample
representative without evidence for that claim.
- Define adoption numerator and denominator before counting. Record the adoption source,
source date, retrieval/as-of date, and items that are uncountable; never invent a
denominator or percentage.
- Locate exception records and their rationale, authority, version, and date. Treat a
local pattern as an observation, not an approved exception, unless the source says so.
Method
- Confirm the canonical sources, versions, sample boundary, coverage declaration, timezone
if relevant, and as-of date/time.
- Inspect the declared sample read-only. Record exact canonical component/token usage by
stable artifact and location, and mark unreadable or ambiguous cases unknown.
- Apply the declared adoption definition. Reconcile numerator and denominator from eligible
artifacts only; report excluded, duplicate, and uncountable items separately.
- Compare observed usage with the canonical version. Classify a deviation only when the
canonical rule supports that classification and no approved exception covers it.
- Classify an intentional exception only with an explicit rationale, authority, source,
and date. Otherwise distinguish unsupported deviation, possible equivalence, stale
documentation, and unknown rather than guessing intent.
- Identify repeated patterns and coverage gaps, state confidence and evidence, and offer
recommendations as proposals. Do not approve a component, exception, or roadmap item.
- Show a complete report preview before any requested save or downstream action and obtain
explicit confirmation from the human authority.
Truth and uncertainty rules
- Observed: canonical version, component/token usage, artifact membership, exception
record, or count directly present in a dated source.
- Inferred: likely equivalence, adoption barrier, or repeated pattern derived from the
sample; state the reasoning and confidence.
- Unknown: missing canonical rule, unreadable artifact, incomplete sample, denominator,
exception rationale, or authority.
- Stale: usage or exception evidence tied to an older canonical version or outside the
requested as-of boundary.
- Contradictory: canonical sources, artifact records, or exception records disagree;
show versions and dates instead of resolving the conflict silently.
Never invent dates, metrics, percentages, owners, intent, money, causes, status, or
evidence. A recommendation is not an approval or human decision. Do not report an adoption
percentage when the denominator is not reliable.
Output contract
Return an audit with:
- canonical component/token sources, versions, source dates, as-of date/time, and authority;
- declared sample, coverage, eligibility rule, exclusions, and inspection limitations;
- component/token usage findings with artifact/version/source/date trace and confidence;
- adoption numerator, denominator, calculation rule, uncountable items, or an explicit
unknown when calculation is unsupported;
- deviations, documented intentional exceptions, stale evidence, unknowns, contradictions,
and recommendations separated from approvals or implementation decisions.
Safety and write boundaries
Default to read-only. Do not change canonical components, tokens, artifacts, code, exception
records, or adoption metrics. Any requested write or downstream action requires a precise
preview, explicit confirm, and human authority; execute only that approved scope. A gap
recommendation does not authorize refactoring or exception approval.
Verification and recovery
Read back the canonical versions, sample manifest, artifact references, exception records,
and counts, then reconcile duplicate handling, numerator, denominator, and coverage before
delivery. After an authorized save, read back the destination and reconcile it with the
confirmed preview. If a canonical source changes, mark affected findings stale and rerun
the impacted sample; if a source or artifact cannot be read, mark the result unknown. If a
write fails or partially succeeds, stop, preserve the preview and error, report the exact
state, and obtain human authority before retrying or recovering.
1---2name: design-system-audit3description: Use when assessing use of named design-system components or tokens across a defined sample of product artifacts, including adoption and deviation questions.4---56<!-- Generated from `.claude/skills/_available/design/design-system-audit/SKILL.md` by `scripts/generate-agents-skills.py`. Do not edit. -->78# Design-system audit910## When to use1112Use this skill when a named design system has a canonical component or token source and13the requester can define the artifact sample and as-of boundary. It can assess adoption,14coverage, repeated patterns, deviations, and documented exceptions without changing them.1516Do not use it to define a new system, refactor product work, approve an exception, or17claim organization-wide adoption from an undeclared sample. Not for editing components,18tokens, design files, code, or adoption records without a separately confirmed action.1920## Inputs and source discipline2122- Identify the canonical component and token sources, version, source date, and as-of23 date/time. Record the rule that makes a component or token canonical; if the source is24 missing or contradictory, keep adoption unknown.25- Declare the sample and coverage: population if known, eligibility rule, included and26 excluded artifacts, artifact/version dates, and inspection method. Do not call a sample27 representative without evidence for that claim.28- Define adoption numerator and denominator before counting. Record the adoption source,29 source date, retrieval/as-of date, and items that are uncountable; never invent a30 denominator or percentage.31- Locate exception records and their rationale, authority, version, and date. Treat a32 local pattern as an observation, not an approved exception, unless the source says so.3334## Method35361. Confirm the canonical sources, versions, sample boundary, coverage declaration, timezone37 if relevant, and as-of date/time.382. Inspect the declared sample read-only. Record exact canonical component/token usage by39 stable artifact and location, and mark unreadable or ambiguous cases unknown.403. Apply the declared adoption definition. Reconcile numerator and denominator from eligible41 artifacts only; report excluded, duplicate, and uncountable items separately.424. Compare observed usage with the canonical version. Classify a deviation only when the43 canonical rule supports that classification and no approved exception covers it.445. Classify an intentional exception only with an explicit rationale, authority, source,45 and date. Otherwise distinguish unsupported deviation, possible equivalence, stale46 documentation, and unknown rather than guessing intent.476. Identify repeated patterns and coverage gaps, state confidence and evidence, and offer48 recommendations as proposals. Do not approve a component, exception, or roadmap item.497. Show a complete report preview before any requested save or downstream action and obtain50 explicit confirmation from the human authority.5152## Truth and uncertainty rules5354- **Observed:** canonical version, component/token usage, artifact membership, exception55 record, or count directly present in a dated source.56- **Inferred:** likely equivalence, adoption barrier, or repeated pattern derived from the57 sample; state the reasoning and confidence.58- **Unknown:** missing canonical rule, unreadable artifact, incomplete sample, denominator,59 exception rationale, or authority.60- **Stale:** usage or exception evidence tied to an older canonical version or outside the61 requested as-of boundary.62- **Contradictory:** canonical sources, artifact records, or exception records disagree;63 show versions and dates instead of resolving the conflict silently.6465Never invent dates, metrics, percentages, owners, intent, money, causes, status, or66evidence. A recommendation is not an approval or human decision. Do not report an adoption67percentage when the denominator is not reliable.6869## Output contract7071Return an audit with:7273- canonical component/token sources, versions, source dates, as-of date/time, and authority;74- declared sample, coverage, eligibility rule, exclusions, and inspection limitations;75- component/token usage findings with artifact/version/source/date trace and confidence;76- adoption numerator, denominator, calculation rule, uncountable items, or an explicit77 unknown when calculation is unsupported;78- deviations, documented intentional exceptions, stale evidence, unknowns, contradictions,79 and recommendations separated from approvals or implementation decisions.8081## Safety and write boundaries8283Default to read-only. Do not change canonical components, tokens, artifacts, code, exception84records, or adoption metrics. Any requested write or downstream action requires a precise85preview, explicit confirm, and human authority; execute only that approved scope. A gap86recommendation does not authorize refactoring or exception approval.8788## Verification and recovery8990Read back the canonical versions, sample manifest, artifact references, exception records,91and counts, then reconcile duplicate handling, numerator, denominator, and coverage before92delivery. After an authorized save, read back the destination and reconcile it with the93confirmed preview. If a canonical source changes, mark affected findings stale and rerun94the impacted sample; if a source or artifact cannot be read, mark the result unknown. If a95write fails or partially succeeds, stop, preserve the preview and error, report the exact96state, and obtain human authority before retrying or recovering.