Artifact Design Validator

•
1
•

Validates AI-generated HTML artifacts against design contracts to ensure design linting and color token compliance.

The validate-artifact skill is a critical component of the ATV-PaperBoard toolkit, designed to bridge the gap between AI-generated code and professional design standards. By executing the `paperboard validate` command, this skill automatically audits rendered artifacts for compliance with Google design.md specifications and performs a rigorous color-token trace. It ensures that every inline hex color used in the HTML is explicitly defined in the design sidecar, preventing 'style drift' and ensuring that Claude's output remains strictly within the bounds of a project's visual identity system. This is an essential utility for developers using AI agents to build production-grade frontend components.

Key Features

01Automated Google design.md JSON linting
02Inline HTML hex color-token trace verification
03Ensures design system adherence in generated code
04Seamless integration with AI-driven artifact review cycles
05Detailed failure classification for rapid debugging
061 GitHub stars

Use Cases

01Identifying undocumented or 'hallucinated' color tokens in frontend code
02Automating the review process for AI-coded HTML artifacts before deployment
03Verifying that a generated UI component strictly matches a project's design system