jason904/ui-skill-lab/design-system-governor
Claude Code and agent skill by jason904/ui-skill-lab
- community
Checking that the SKILL.md file is still in the repository.
This skill should be used after visual-spec-review passes and before OpenSpec UI update or frontend implementation. It expands screenshot-derived visual specs into a production design system by adding interaction states, responsive behavior, accessibility rules, UX checklist, and implementation constraints without overriding UI type, layout paradigm, component tree, rejected assumptions, or asset strategy.
Install
npx vskill@latest install jason904/ui-skill-lab/design-system-governorSKILL.md
Version: 2.0.0
design-system-governor
Expand a reviewed visual spec into a product-grade design system.
This skill reads the seven visual-to-spec files and optional visual-spec-review results. It adds the missing product-level rules that static screenshots cannot show: states, responsive behavior, accessibility, motion, and implementation constraints.
It must never redesign the UI or override screenshot-derived facts.
Trigger Conditions
Use this skill when:
- visual-spec-review has passed or conditionally passed
- the user asks to build or expand a design system from visual specs
- the user asks to add hover/focus/loading/empty/error states
- the user asks to add responsive and accessibility rules
- the visual spec must be prepared for OpenSpec UI update or Codex implementation
Required Inputs
Read:
Recommended:
If spec-review-report.md says Fail, stop. Do not generate 05_design_system/.
Source of Truth
reference.png— visual appearancevisual-analysis.md / UI Type Classificationvisual-analysis.md / Visible Element Inventoryvisual-analysis.md / Rejected Assumptionslayout-spec.md / Layout Paradigmlayout-spec.md / Layer Modelcomponent-tree.mdcomponent-tree.md / Prohibited Componentsimplementation-risks.md / Asset StrategyDESIGN.mdtokens.jsonhuman-review-needed.md
Required Sections to Read
From visual-analysis.md:
- UI Type Classification
- Visible Element Inventory
- Rejected Assumptions
From layout-spec.md:
- Layout Paradigm
- Layer Model
- Region Layout
- Forbidden Layouts
From component-tree.md:
- Component Tree Type
- bboxRef for reference-visible components
- Prohibited Components
From implementation-risks.md:
- Asset Strategy
- UI Type Drift Risks
- Asset Misuse Risks
- Hallucinated Component Risks
From DESIGN.md:
- UI Type and Rendering Strategy
- Asset Strategy
- Forbidden Assumptions
- Implementation Rules
From tokens.json:
- source
- confidence
- strictness
- usedBy
- bboxRef if present
Main Workflow
- Confirm visual-spec-review did not fail.
- Read UI Type and Layout Paradigm.
- Read Rejected Assumptions and Prohibited Components.
- Read Asset Strategy.
- Branch design-system generation by UI Type.
- Generate component states only for allowed components.
- Generate responsive rules without changing layout paradigm.
- Generate accessibility rules.
- Generate implementation constraints.
- Write
05_design_system/.
Hard Rules
- Do not override screenshot-derived values.
- Do not change UI Type.
- Do not change Layout Paradigm.
- Do not change Asset Strategy.
- Do not add prohibited components.
- Do not add rejected layouts.
- Do not invent dashboard components for non-dashboard UIs.
- Do not redraw raster/photorealistic main visuals with CSS/SVG if Asset Strategy forbids it.
- Do not generate frontend code.
- Do not modify
03_visual_spec/. - Do not modify
04_visual_spec_review/. - Do not merge this skill with implementation or validation skills.
Output
Write:
Supporting Files
Read these references directly:
references/governance-workflow.mdreferences/ui-type-branching-rules.mdreferences/state-rules.mdreferences/responsive-rules.mdreferences/accessibility-rules.mdreferences/asset-aware-design-rules.mdreferences/implementation-constraints-rules.mdreferences/external-skill-usage.mdreferences/output-files.md
Examples:
examples/master.example.mdexamples/target-page.panorama.example.mdexamples/target-page.dashboard.example.mdexamples/component-state-spec.panorama.example.mdexamples/component-state-spec.dashboard.example.mdexamples/responsive-spec.example.mdexamples/accessibility-spec.example.mdexamples/implementation-constraints.example.md
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/design-system-governor/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/jason904/ui-skill-lab/design-system-governor)