design-design-system

Installation
SKILL.md

Design: Design System (image → DESIGN.md + DESIGN.html)

Translate an image reference the member loves — a screenshot, mockup, Figma file, or live website — into a design system captured as two mirrored files:

  • docs/DESIGN.md — YAML tokens in Google's open design.md format plus prose rationale. The source of truth coding agents build from.
  • docs/DESIGN.html — a self-contained style guide that renders every token and component live in a browser, styled from the same token values. The mirror the human opens.

They are always written and updated together so they never drift.

This is Design phase Step 3. The identity already lives in docs/DESIGN.md as its ## Product Identity section (Step 1 created the file); this skill adds the tokens and the eight design-system sections around it. The identity supplies the words and deliberately leaves the visuals undecided — this skill derives colours, fonts, spacing, shapes, and components from a real image, guided by those words. The member supplies the image; you do the analysis, extraction, reconciliation, and both writes. Already have a codebase instead of an image? Use design-design-system-from-code.

Modes

  • No image provided yet: ask for one (Step 0) before doing anything else. Don't draft from imagination. If the member has no image after one prompt, offer the weak fallback: "I can draft a starter system from your Product Identity's words alone and we'll refine it — but it will be far weaker than working from an image you love. Want to proceed that way, or grab a reference first?"
  • docs/DESIGN.md holds only the Product Identity (frontmatter with no token groups — the usual state after Step 1): a first run. Build the system around the identity; no overwrite question beyond the diff in Step 6.
  • docs/DESIGN.md already has tokens: read it (and docs/DESIGN.html) and ask what the member wants — refine specific tokens, replace with a fresh analysis from new imagery, or merge. Confirm before destructive overwrites, and regenerate docs/DESIGN.html whatever changes.
  • Partial conversation: if the session was interrupted mid-flow, resume from where it left off. Don't restart.
  • Lite: the shape's Design route marks Step 3 Lite (typical for shapes without screens of their own — skills, MCP servers, services, digital products), or the member asks for brand tokens only. Run Lite mode instead of the full token set.
Installs
1
GitHub Stars
33
First Seen
Nov 4, 2026