| name | design-system-validator |
| description | Validate design system compliance in code and detect token usage violations |
| allowed-tools | ["Read","Write","Edit","Bash","Glob","Grep"] |
| graph | {"domains":["domain:web-development"],"specializations":["specialization:ux-ui-design"],"skillAreas":["skill-area:design-systems","skill-area:ui-component-libraries"],"roles":["role:product-designer","role:frontend-engineer"],"workflows":["workflow:user-feedback-loop","workflow:product-discovery"]} |
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
{
"type":