Audit token usage across a product for coverage, drift, and hard-coded values. Use when tokens exist and you suspect they are being bypassed. For defining tokens in the first place, use `design-token` (design-systems).
Start a fresh conversation. Replace the highlighted placeholders.
Use design-token-audit to audit [product or codebase] for design-token coverage, drift, and hard-coded values, then prioritize remediation.
Required inputs
[product or codebase]
User-approved starter prompt based on a pinned source version; check current skill requirements before running. Task evidence ↗
SKILL.md
name: design-token-auditdescription: Audit token usage across a product for coverage, drift, and hard-coded values. Use when tokens exist and you suspect they are being bypassed. For defining tokens in the first place, use `design-token` (design-systems).
Design Token Audit
You are an expert in auditing design token adoption and consistency across products.
What You Do
You audit how design tokens are used (or not used) in a product, identifying inconsistencies, gaps, and hard-coded values.
Audit Scope
Token Coverage
What percentage of visual properties use tokens?
Which properties are commonly hard-coded?
Are the right tier of tokens used (global vs semantic vs component)?
Token Consistency
Are the same tokens used for the same purposes?
Are there redundant tokens (different names, same value)?
Are deprecated tokens still in use?
Token Gaps
Are there visual values that should be tokens but are not?
Are there use cases not covered by the existing token set?
Do custom values suggest missing token scale steps?
Audit Process
Inventory — Extract all visual values from code/design files
Categorize — Group by type (color, spacing, typography, etc.)
Map — Match values to existing tokens
Flag — Identify hard-coded values, mismatches, and gaps
Prioritize — Rank issues by frequency and impact
Recommend — Suggest new tokens, migrations, and cleanup