Design Token Guard — Design skill for Claude Code
Enforce the token layer — find raw hex values and magic numbers in component files, replace with token references.
How to install Design Token Guard
Installs to ~/.claude/commands/andrem-sec-psc-comet-design-token-guard.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/andrem-sec/psc-comet/HEAD/.claude/commands/design-token-guard.md -o ~/.claude/commands/andrem-sec-psc-comet-design-token-guard.md Restart Claude Code, or start a new session, for it to be picked up.
What Design Token Guard does
name: design-token-guard description: Enforce the token layer — find raw hex values and magic numbers in component files, replace with token references
Invoke the design-token-guard skill now. Locate the token definition file(s) first. Scan component files for raw hex values, arbitrary Tailwind color values, and raw font-size/spacing numbers. Classify each finding as TOKEN_VIOLATION (token exists, use it), TOKEN_GAP (token missing, create it), or TOKEN_CONFLICT (token exists but differs
Alternatives in Design
- Studio — Launch the local design Studio — a live token editor over the latest extraction 3.6k ★
- Design UI UX — Design UI/UX systems with style guides, palettes, typography, and component specs 2.8k ★
- Clipify — Claude Code skill: turn long videos into social-ready clips 549 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Skynet Site System
60-site master website-design playbook distilled from shipped client work - 17 niche design-token sets with re
UI Pro Magic
Claude Code skill combining ui-ux-pro-max (design strategy: 50+ styles, 97 palettes, 57 fonts, 99 UX rules) wi
UI Forager Skill
Claude/Codex Skill that pulls and adapts real UI components from shadcn/ui, Aceternity, Magic UI, and 25+ othe
Utility
CSS utility class creation and updates. Use when adding, modifying, or checking Dialtone CSS utilities (d- cla
Design Handoff
Generate a developer handoff document from a Figma file — spacing specs, token maps, component APIs, and produ
Create New Component
Build new UI components for @policyengine/ui-kit — with design token validation, tests, visual preview, and PR
Related Agents
Codemod Runner
Writes and runs codemod scripts that replace hardcoded visual values with token references in ui/src/index.css
Maintainability Reviewer
Read-only maintainability reviewer for the forgeward gate. Fires on every diff that touches code. Audits dead
Beads Warden
Guard the beads execution record: enforce the write-flush-verify discipline that defeats the bd rapid-write ra