Audit Design Tokens — Security skill for Claude Code
Find design token drift in a codebase: raw hex colors, off-scale spacing, near-duplicate values.
How to install Audit Design Tokens
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open humbleteam/audit-design-tokens and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Audit Design Tokens does
Find design token drift in a codebase: raw hex colors, off-scale spacing, near-duplicate values.
Alternatives in Security
- Engage.Cvediff — Find the canonical fix commit(s) for a CVE across sources, then diff for root cause 348 ★
- Cross-Pollinate Hex MCP Servers — Diff-driven audit: find real transferable changes across hex-line-mcp, hex-ssh-mcp, hex-graph-mcp 238 ★
- Airsec — Find Security Issues in your code by using coding CLIs like Claude, Codex & CommandCode 162 ★
README
Audit design tokens
**A Claude Code skill that scans a codebase for design token drift - raw hex colors, off-scale spacing, and near-duplicate values a team stopped routing through its own design system.**
[](https://github.com/humbleteam/audit-design-tokens/actions/workflows/validate.yml) [](https://github.com/humbleteam/audit-design-tokens/stargazers) [](https://github.com/humbleteam/audit-design-tokens/commits/main) [](LICENSE) [](https://github.com/humbleteam/audit-design-tokens/blob/main/SKILL.md)
Every design system starts clean and drifts. Someone ships a one-off `#2563EB` instead of `var(--color-primary)`, a `padding: 13px` sneaks past the 4px scale, and nobody can say with confidence which colors are actually tokens anymore. This skill scans a codebase, finds every raw value that should have been a token, and returns a severity-ranked report with a file:line for each finding and a smallest-diff-first plan to fix it.
Table of contents
- What it does
- Quick start
- Usage
- Example output
- How it works
- How is this different from just asking the model?
- FAQ
- Related skills
- Who maintains this
What it does
- Finds token definitions in
Related Skills
Review CSS Architecture
Audit CSS and design-token usage against the console-idiom rubric: ad hoc overrides, magic values, duplicated
Colors
Run a color-only design audit — contrast, near-duplicates, dark mode, semantic coverage. Scoped variant of /ui
UI UX Review
Run a visual design conformance audit using the ui-ux-engineer agent — spacing, typography, colour tokens, res
Audit Design
Audit an existing codebase against its original docs/specs, auto-update stale docs, clean up dangling/duplicat
Fit Audit
Audit the fit between an already-deployed Claude Code harness and the current state of the target project (tra
Audit Credentials
Find long-lived tokens, hardcoded secrets, and credentials that should be rotated or replaced
Related Agents
System Critic
Adversarial design-system review with fresh context — hunts premature abstraction, domain leaks into primitive
Ds Tokens
Use ONLY to extract design tokens (colors, spacing, radius, typography) from the Figma file's LOCAL variable c
Tokens Engineer
Generates a design token system (palette, type scale, spacing, radii, shadows, motion) from a synthesis statem