library/specializations/ux-ui-design/skills/design-system-validator/SKILL.md
Validate design system compliance in code and detect token usage violations
npx skillsauth add a5c-ai/babysitter design-system-validatorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Validate that code adheres to design system specifications, checking token usage, component props, and style consistency.
{
"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": "string" },
"default": ["css", "scss", "tsx", "jsx"]
},
"severity": {
"type": "string",
"enum": ["error", "warning", "info"],
"default": "warning"
}
},
"required": ["scanPath", "tokenDefinitions"]
}
{
"type": "object",
"properties": {
"violations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"file": { "type": "string" },
"line": { "type": "number" },
"rule": { "type": "string" },
"message": { "type": "string" },
"suggestion": { "type": "string" }
}
}
},
"summary": {
"type": "object",
"properties": {
"filesScanned": { "type": "number" },
"totalViolations": { "type": "number" },
"byRule": { "type": "object" },
"complianceScore": { "type": "number" }
}
},
"tokenCoverage": {
"type": "object",
"description": "Token usage statistics"
}
}
}
const result = await skill.execute({
scanPath: './src/components',
tokenDefinitions: './tokens/design-tokens.json',
rules: {
enforceTokenColors: true,
enforceTokenSpacing: true,
enforceTokenTypography: true
},
severity: 'warning'
});
development
Model documentation skill for generating model cards following Google's model card framework.
development
MLflow integration skill for experiment tracking, model registry, and artifact management. Enables LLMs to log experiments, compare runs, manage model lifecycle, and retrieve artifacts through the MLflow API.
data-ai
LIME-based local explanation skill for individual predictions across tabular, text, and image data.
devops
Kubeflow Pipelines skill for ML workflow orchestration, component management, and Kubernetes-native ML.