Agent skill · Frontend

design-system-validator

Validate design system compliance in code and detect token usage violations

a5c-aigithub.com/a5c-aiGitHub ↗
claude-codecodexcan modify filesMIT
Install
npx skills add a5c-ai/babysitter --skill design-system-validator --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 3 KB
Bundled scripts: none
Allowed tools: -Read-Write-Edit-Bash-Glob-Grep
Path: library/specializations/ux-ui-design/skills/design-system-validator/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 1,642
Language: JavaScript

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. Purpose
  2. Capabilities
  3. Target Processes
  4. Integration Points
  5. Input Schema
  6. Output Schema
  7. Usage Example
Ships with 1 file
  • README.md
More from babysitter
All skills →
About this skill
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.

Keep going