Back to Skills

design-system

Translates an image (or a set of image references — screenshots, mockups, Figma URLs, live websites) into two mirrored design-system artifacts: `docs/design.md` (YAML tokens + prose, following Google's open [design.md](https://github.com/google-labs-code/design.md) format, for the coding agent) and `docs/design.html` (a self-contained, token-driven style guide rendering every token and component live, for the human to read). Reads the imagery, asks targeted clarifying questions, derives the desi

205stars40forksUpdated 8/17/2026

Security Assessment

Safe(95/100)
Security Score95/100

About design-system

This skill turns visual references into a structured, dual-format design system. It solves a common founder/agent handoff problem: a screenshot, mockup, Figma file, or live site captures a look, but a coding agent needs exact token values to implement it without guessing, while a human needs a readable style guide to review. The skill produces two mirrored artifacts that must always stay in sync: `docs/design.md` (a YAML token block in Google's open design.md format plus prose rationale, serving as the source of truth) and `docs/design.html` (a self-contained style guide that renders every token and component live in a browser).

The workflow is deliberately staged. It refuses to invent a design from imagination and asks for imagery first. It reads local image paths with the Read tool, uses Figma MCP tools for Figma URLs, and can use WebFetch only as a supplementary signal for live sites. During analysis it extracts colors, typography, spacing and density, corner-radius philosophy, elevation, visible components, and mood, then mirrors that back to the founder in tight bullets, flagging any conflicts between references. It asks context questions one at a time with tailored suggestions, and can read an existing product-vision doc to skip already-answered questions. It also handles re-runs, offering to refine, replace, or merge tokens, and confirms before destructive overwrites, always regenerating the HTML so the two files never drift.

Target users are founders and product teams who want a precise, implementable design token spec from reference imagery. Use cases include bootstrapping a design system from inspiration, supplementing a PRD with concrete tokens, and keeping an agent-readable spec and a human-readable style guide aligned.

FAQ

What does the skill produce?

Two mirrored files: docs/design.md (YAML design tokens plus rationale in Google's design.md format, the source of truth) and docs/design.html (a self-contained, token-driven style guide the human reads).

What inputs does it accept?

Local image paths (PNG/JPG/WebP), Figma URLs (via Figma MCP tools), live website URLs (as a supplementary signal only), or a combination. It asks for imagery before drafting anything.

What are the requirements?

Per its metadata it requires file system access to write the docs/ directory, and optional Figma MCP for Figma URLs. It is fully standalone and needs no other document or skill.

What happens if a design.md already exists?

It reads the existing files and asks whether to refine specific tokens, replace them with a fresh analysis, or merge new analysis in, confirming before any destructive overwrite and regenerating the HTML to stay in sync.

Can it screenshot a live website itself?

No. It notes it cannot screenshot arbitrary URLs without browser tooling and asks you to paste a screenshot, using WebFetch only to read content/styles as a secondary signal.

Install design-system

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill