design-chain-audit
Installation
SKILL.md
Cursor: Read this skill when the user asks for a design audit, design chain check, token audit, color audit, typography audit, Tailwind cleanup, or "flush drift." This is the unified audit — it supersedes running design-audit, color-audit, tailwind-cleanup, and typography-polish individually by combining all four with chain-specific rules.
Before starting
- Read the design chain reference:
_docs/_build/_stitch/_design-system/DESIGN-CHAIN.md - Read the runtime tokens:
src/app/globals.css(the@theme { }block) - Identify the target scope from the user (specific files, a route, or "full sweep").
If the user says "flush" or "flush drift," run all 5 layers as a full sweep across src/.
Layer 1 — Token Drift
Goal: No hardcoded colors exist where semantic tokens should be used.