design-system-integrator
Skill1 starsChanged 19 days agoMITView on GitHub
Integrates design systems via a strict 4-scenario Decision Tree (Figma, existing codebase, brand/URL reference, or zero-design generation) using MCP tools and vendor libraries, and enforces Phase 6 component reuse. Use in Phase 3 and Phase 6.
In this repository40 other files it gives its agents.
- AGENTS.mdAGENTS.md
- platform-cliSkill
- platform-desktopSkill
- platform-mobileSkill
- platform-pluginSkill
- platform-webSkill
- agentic-security-guardSkill
- architecture-guardSkill
- artifact-analyzerSkill
- boundary-guardSkill
- code-quality-gateSkill
- cognitive-load-auditorSkill
- context-groundingSkill
- copy-auditSkill
- cost-estimatorSkill
- dast-scannerSkill
- database-architectSkill
- design-auditSkill
- design-system-generatorSkill
- environment-preflightSkill
- evidence-gated-blockingSkill
- human-in-the-loopSkill
- lessons-learnedSkill
- mcp-discoverySkill
- meta-judgeSkill
- ponytail-wrapperSkill
- prd-generatorSkill
- prompt-historySkill
- sast-scannerSkill
- sca-secret-scannerSkill
- security-context-managerSkill
- security-gateSkill
- security-hardeningSkill
- snapshot-rollbackSkill
- stack-advisorSkill
- task-breakdownSkill
- tech-spec-writerSkill
- test-suite-auditorSkill
- ui-interaction-authoritySkill
- viewport-qaSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 0 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
Read docs/project/PRD.md, docs/project/STACK.md, .agents/rules/02-design-principles.md, and read …
- Very specific: line 18
Scenario A (User has Figma): Use figma-console-mcp or design-context-bridge to extract DTCG tokens, typography, and component specs, and …
- Very specific: line 20
Scenario C (User has a brand/URL reference): Use @designmdcc/mcp or designlang to extract the design language from the URL and record it in …
- Very specific: line 21
Scenario D (User has NO design): Use standby-design-mcp or .agents/vendor/design-taste-frontend (with design-system-generator) to generate …
- Very specific: line 23
Ensure docs/project/DESIGN.md meets all hard-floor rules (WCAG AA 4.5:1 contrast, focus states, prefers-reduced-motion, mobile fit, >= 3 …
- Very specific: line 26
Before generating UI components in Phase 6, you MUST use ds-pilot or brandrail MCP (if available.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Design System Integrator
Trigger
Phase 3 (Design System) and Phase 6 (Implementation).
Process
Phase 3: Strict Decision Tree
Read docs/project/PRD.md, docs/project/STACK.md, .agents/rules/02-design-principles.md, and read .agents/skills/design-system-integrator/references/mcp-design-tools.md on-demand for detailed MCP tool workflows. Select the matching scenario:
- Scenario A (User has Figma): Use
figma-console-mcpordesign-context-bridgeto extract DTCG tokens, typography, and component specs, and map them todocs/project/DESIGN.md. - Scenario B (User has an existing codebase): Scan CSS/Tailwind config to mine the de-facto styling and formalize it into
docs/project/DESIGN.md. - Scenario C (User has a brand/URL reference): Use
@designmdcc/mcpordesignlangto extract the design language from the URL and record it indocs/project/DESIGN.md. - Scenario D (User has NO design): Use
standby-design-mcpor.agents/vendor/design-taste-frontend(withdesign-system-generator) to generate a production-ready system from PRD tone and industry.
Ensure docs/project/DESIGN.md meets all hard-floor rules (WCAG AA 4.5:1 contrast, focus states, prefers-reduced-motion, mobile fit, >= 3 typography levels) and configure the stack's token files / theme provider.
Phase 6: Component & Token Reuse Rule
Before generating UI components in Phase 6, you MUST use ds-pilot or brandrail MCP (if available; see references/mcp-design-tools.md) to search the local codebase for existing components and tokens to prevent duplication. Bind every component to docs/project/DESIGN.md tokens.
Output Contract
docs/project/DESIGN.mdrecording the Decision Tree scenario (A-D), extracted or generated tokens, hard-floor compliance, and override justifications.- Configured theme provider and exported token files matching
docs/project/STACK.md.
Checklist
- Decision Tree scenario (A: Figma, B: Existing codebase, C: Brand/URL, D: No design) applied cleanly
- Read
.agents/skills/design-system-integrator/references/mcp-design-tools.mdfor MCP extraction/reuse details - Hard-floor rules satisfied and documented in
docs/project/DESIGN.md - Phase 6 UI component generation preceded by
ds-pilot/brandrailreuse search
Prohibitions
- Defaulting to
shadcn/uior hardcoded styles when another system, Figma spec, codebase, or brand aesthetic applies. - Guessing tokens from memory instead of invoking MCP/codebase tools.
- Creating duplicate UI components without searching existing components and tokens first.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

