design-system-builder

A workflow for studying interface screenshots or mockups and turning their visual patterns into a design system, product requirements document, and implementation prompt.

In plain words
What is it for?
Use it to extract colors, typography, spacing, and other interface patterns from reference images. It is intended for planning MVP interfaces and generating prompts for implementation.
Why use it?
It helps translate an existing visual style into reusable guidance instead of copying individual screens without a consistent system. This makes related pages and UI variations easier to design consistently.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/zebbern/claude-code-guide/design-system-builder
Any agent
npx skills add zebbern/claude-code-guide --skill design-system-builder
Clone the repo
git clone --depth 1 https://github.com/zebbern/claude-code-guide

Made for: Claude Code, Codex.

Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,435 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00047 $0.01435
Opus 5 $0.00023 $0.00718
Sonnet 5 $0.00009 $0.00287
Haiku 4.5 $0.00005 $0.00144

Measured 3d ago against content hash bdc7727d9feb, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

design-system-builder scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/design-system-builder/SKILL.md · 192 lines

How it starts

The opening of the file, as written. The whole thing — 192 lines — stays where its author put it; the contents beside it link to each section on GitHub.

UI Designer

Overview

This skill enables systematic extraction of design systems from reference UI images through a multi-step workflow: analyze visual patterns → generate design system documentation → create PRD → produce implementation-ready UI prompts.

When to Use

  • User provides UI screenshots, mockups, or design references
  • Need to extract color palettes, typography, spacing from existing designs
  • Want to generate design system documentation from visual examples
  • Building MVP UI that should match reference aesthetics
  • Creating multiple UI variations following consistent design principles

Workflow

Step 1: Gather Inputs

Request from user:

  • Reference images directory: Path to folder containing UI screenshots/mockups
  • Project idea file: Document describing the product concept and goals
  • Existing PRD (optional): If PRD already exists, skip Step 3

Step 2: Extract Design System from Images

Use Task tool with general-purpose subagent, providing:

Prompt template from assets/design-system.md:

  • Analyze color palettes (primary, secondary, accent, functional colors)
  • Extract typography (font families, sizes, weights, line heights)
  • Identify component styles (buttons, cards, inputs, icons)
  • Document spacing system
  • Note animations/transitions patterns
  • Include dark mode variants if present

Attach reference images to the subagent context.

Output: Complete design system markdown following the template format

Save to: documents/designs/{image_dir_name}_design_system.md

Step 3: Generate MVP PRD (if not provided)

Use Task tool with general-purpose subagent, providing:

Prompt template from assets/app-overview-generator.md:

  • Replace {项目背景} with content from project idea file
  • The template guides through: elevator pitch, problem statement, target audience, USP, features list, UX/UI considerations

Interact with user to refine and clarify product requirements

Output: Structured PRD markdown

Read the full file on GitHub · 192 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 192 lines · 47 tokens per session scan A bdc7727d9feb

Subscribe to this mod's changes

design-system-builder is a skill published in the GitHub repository zebbern/claude-code-guide (4,597 stars, last pushed yesterday), licensed MIT. It adds 47 tokens to every session and 1,435 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories