What problem does it solve?
Frontend codebases drift from their design system over time: raw colors replace semantic tokens, primitives get reimplemented, and accessibility or responsive defects slip in. This Skill provides a structured, rule-based audit that separates mechanical violations from judgment calls and produces consistent, comparable reports.
Core Features & Use Cases
- Rule-Based Rubric: Runs mechanical checks (raw colors, undefined tokens, duplicate components, missing accessible names, overflow, theme parity) plus judgment checks (hierarchy, typography, brand accent, copy clarity) with stable rule IDs and severities.
- Structured Reports: Emits both
design-audit.json and design-audit.md with severity counts, file/line evidence, and remediation guidance.
- Constrained Auto-Fix: Applies only narrow, deterministic fixes allowed by the fix policy, leaving redesign and copy changes for human review.
- GitHub PR Delivery: Opens or updates a dedicated automation pull request against the consumer repository based on a findings decision table.
- Use Case: Schedule a recurring audit of the ClawHub web app against a pinned Carapace design system version, and receive a pull request containing the report and allowed token fixes whenever errors or warnings appear.
Quick Start
Audit this repository's frontend against the installed Carapace design system and generate the JSON and Markdown design audit reports.