design-system
Installation
SKILL.md
Design System
Overview
Turn product facts, existing UI evidence, and explicitly scoped references into a versioned, repository-owned design system. Own creation, extraction, maintenance, task design, and design evaluation; route product-source edits to implement-frontend, runtime evidence to ops-browser or ops-client, and read-only implementation audits to audit-frontend.
Workflow
- Read effective repository guidance and run
git status --shortbefore planning artifacts. - Identify product, audience, platform, primary user job, target surface, current component system, available states, data facts, and forbidden inventions.
- Inspect the smallest useful set of current screenshots, routes, components, tokens, DTOs, and analogous surfaces. Say
Not foundorNot verifiedfor missing evidence. - Select one primary mode: create, extract, maintain, task, or evaluate. Supporting outputs may be included only when needed by that mode.
- Assign each reference an explicit
useandignorelist plus source and rights status. Never treat a reference as authorization to copy brand, content, or functionality. - Create one coherent, subject-specific visual direction: named palette, typography roles, layout concept, density, material, interaction tone, and one justified signature element. Reject interchangeable AI-design defaults and preserve product truth over decoration. Load
references/visual-direction.mdwhen creating or materially reshaping that direction. - Treat
assets/ui-package.schema.jsonas the package contract, then produce or update the project profile, task brief, reference registry, design tokens, component map, evaluation, and manifest fromassets/templates/. - Separate deterministic acceptance checks from visual or experience judgment. Apply hard blockers before weighted scoring.
- Version every input and output in the manifest. Never overwrite the last accepted revision without preserving rollback.
- When Python and PyYAML are available, validate the package with
scripts/validate_ui_artifacts.py; otherwise report artifact validation asNot verifiedwithout installing dependencies implicitly. Then hand off source work and runtime proof to their owning Skills.