design-system-governor
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "design-system-governor" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-7087e942098b73b5f27684ad9a62af4602141a4cffa89a1c6d0d2d6711a288af. Verify the upstream source and version against https://github.com/Jason904/ui-skill-lab before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Use after visual spec review and before OpenSpec UI updates or frontend implementation. This capability expands screenshot-based visual specs into a production-grade design system by adding interaction states, responsive behavior, accessibility rules, UX checklists, and implementation constraints, while not overriding UI types, layout paradigms, component trees, rejected assumptions, or resource policies.
Introduction source: third_party · Jason904 · 0.0.1 Reference
SkillPi interpretation
- Tasks
- Expand a reviewed visual spec into a product-grade design system.
- Inputs and outputs
- Read: Recommended: If `spec-review-report.md` says Fail, stop. Do not generate `05_design_system/`.
- Testing
- Not tested
Browse files
Frontmatter
name: design-system-governor
description: |
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.
argument-hint: "[visual-spec-directory]"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:
03_visual_spec/
visual-analysis.md
layout-spec.md
component-tree.md
DESIGN.md
tokens.json
implementation-risks.md
human-review-needed.md
Recommended:
04_visual_spec_review/
spec-review-report.md
conflict-log.md
revised-files-needed.md
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:
05_design_system/
MASTER.md
pages/
target-page.md
ux-checklist.md
component-state-spec.md
responsive-spec.md
accessibility-spec.md
implementation-constraints.md
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
Current listing version
0.0.1
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 专业设计系统构建工具,面向特定工作流程
- 具有明确受众和实用价值
Highlights
- 触发条件清晰,覆盖多种变体
- 边界清晰,明确说明不覆盖的内容
Highlights
- Main Workflow 10 个步骤明确
- 含端到端示例,frontmatter 完整
Highlights
- 异常处理完善,spec-review-report.md 为 Fail 时停止
- Hard Rules 明确禁止覆盖已有内容
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.