design-system-validator
Validate design system compliance in code and detect token usage violations
npx skills add a5c-ai/babysitter --skill design-system-validator --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Design System Validator Skill ## Purpose Validate that code adheres to design system specifications, checking token usage, component props, and style consistency. ## Capabilities - Check design token usage in CSS/SCSS - Validate component prop usage - Detect hard-coded values that should use tokens - Ensure naming convention compliance - Generate compliance reports - Integrate with linting tools ## Target Processes - design-system.js - component-library.js ## Integration Points - ESLint plugins for design systems - Stylelint for CSS validation - Custom AST analyzers - Token documentation ## Input Schema ```json { "type": "object", "properties": { "scanPath": { "type": "string", "description": "Path to code to validate" }, "tokenDefinitions": { "type": "string", "description": "Path to design token definitions" }, "rules": { "type": "object", "properties": { "enforceTokenColors": { "type": "boolean", "default": true }, "enforceTokenSpacing": { "type": "boolean", "default": true }, "enforceTokenTypography": { "type": "boolean", "default": true }, "allowHardcodedValues": { "type": "array", "items": { "type": "string" } } } }, "fileTypes": { "type": "array", "items": { "type": "strin
- Purpose
- Capabilities
- Target Processes
- Integration Points
- Input Schema
- Output Schema
- Usage Example
What does the design-system-validator skill do?
Validate design system compliance in code and detect token usage violations
How do I install it?
Run `npx skills add a5c-ai/babysitter --skill design-system-validator --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From a5c-ai/babysitter, a repository with 1,642 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
