Design Token Guard

Source-level gate that prevents inline styles and hardcoded CSS from bypassing a project's design-token system. Use whenever frontend work touches colors, styling, or themes — before committing or declaring a UI task done, when auditing for hardcoded hex/rgb/inline styles, when setting up enforcement so inline CSS can't slip in again, or as an orchestrator/agent wave-gate. Trigger on: "inline CSS", "inline styles", "hardcoded colors", "hardcoded hex", "style={{}}", "theme/token drift", "design tokens", "we keep shipping inline styles", "lint for tokens", "why did this get through review". Framework- and stack-agnostic (React/JSX, Vue, Svelte, Angular, Astro, HTML; CSS variables, SCSS/Less, JS theme objects, design-token JSON) — auto-discovers the project's tokens; NOT specific to any one repo or to Tailwind. Don't skip it because a render review passed: render gates can't see a hardcoded color — it renders identically to the token.

ivy00johns Updated

File contents

ivy00johns/Skill-Madness/tree/main/skills/workflows/design-token-guard commit 66548419f7

Frequently asked questions

npx skillmds@latest add ivy00johns/design-token-guard