design-md-reference

Generate implementation-ready DESIGN.md design system contracts from approved UI artifacts and references.

Updated Jun 28, 2026
One-click install
npx skills add https://github.com/jason23452/my-skill --skill design-md-reference-jason23452
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: design-md-reference
Source: https://github.com/jason23452/my-skill/tree/main/flow/design-md-reference
Command: npx skills add https://github.com/jason23452/my-skill --skill design-md-reference-jason23452

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? AI coding agents often produce inconsistent, generic UI because they lack a concrete design source of truth. This Skill turns approved UI artifacts, product evidence, or external design references into a single executable DESIGN.md that agents can implement without guessing. ## Core Features & Use Cases - Three execution modes: artifact-documentation for approved HTML/CSS or design-tool output, design-exploration for researching getdesign.md references and producing selectable options, and living-document-update for merging new evidence into an existing DESIGN.md without silently overwriting rules. - Normative design tokens: produces YAML front matter with exact colors, typography, spacing, radius, elevation, motion, and breakpoints, plus Markdown rationale covering components, states, responsive behavior, and accessibility. - Quality gates: anti-copy and anti-slop checks, a candidate scoring rubric for reference selection, and an implementation readiness gate that blocks fabricated values or unresolved placeholders. - Use Case: After a stakeholder approves an HTML mockup for an admin console, use this Skill to extract its exact tokens and composition rules into a DESIGN.md so every subsequent agent-generated screen matches the approved design. ## Quick Start Use the design-md-reference skill to document this approved HTML mockup as a complete, implementation-ready DESIGN.md for the project.

Frequently Asked Questions about design-md-reference

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a DESIGN.md from an approved HTML mockup?▼

Use artifact-documentation mode: the approved HTML/CSS artifact becomes the authority for tokens, components, and responsive behavior. Exact values are extracted where present, absent values are marked unknown, and one final DESIGN.md is produced without restarting research or generating alternatives.

What is a DESIGN.md file used for with AI coding agents?▼

A DESIGN.md is a design source of truth combining machine-readable YAML tokens (colors, typography, spacing, breakpoints) with Markdown rationale for components, states, and accessibility. Coding agents consume it to implement UI consistently without guessing values or reopening design discussions.

How does design exploration with getdesign.md references work?▼

In design-exploration mode the workflow searches getdesign.md with product-specific queries, fetches 4-8 candidate DESIGN.md sources, scores them against PRD evidence, and translates 2-4 selected references into 3-5 project-specific options. A final DESIGN.md is written only after an option is explicitly selected.

Can I update an existing DESIGN.md without losing current rules?▼

Yes, living-document-update mode classifies each conflict as unchanged, update, deprecate, or scoped-exception, and requires explicit approval before changing valid rules. It emits one complete standalone document with revision and approval traceability rather than a patch.

What happens when exact design values are missing from the source artifact?▼

Missing values are marked as unknown with a required implementation decision instead of being fabricated. The readiness gate blocks completion if hex values, fonts, breakpoints, or durations were invented without evidence from the approved artifact.