design-md-to-app

design-md-to-app is a skill for Claude Code from lukedj78/dev-flow. It costs 229 tokens per session (22,243 once invoked), scanned A, original, MIT.

A tool that turns a Google `DESIGN.md` design specification into a working React frontend. It supports Next.js 16 with the App Router and can use several specified interface-component libraries and form tools.

In plain words
What is it for?
Use it to scaffold a Next.js 16 app from a `DESIGN.md`, choosing a supported component library and form setup.
Why use it?
It removes the need to manually translate design tokens and written interface rules into an initial app structure. It also records the generated project's phase when used within a dev-flow project.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: built for gstack.

Part of the dev-flow plugin — 47 skills shipped together

Good fit Use it to scaffold a Next.js 16 app from a DESIGN.md, choosing a supported component library and form setup.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lukedj78/dev-flow/design-md-to-app
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.

Any agent
npx skills add lukedj78/dev-flow --skill design-md-to-app
Clone the repo
git clone --depth 1 https://github.com/lukedj78/dev-flow

Made for: Claude Code.

Or install dev-flow, the plugin that ships this one along with the rest of its 47 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for design-md-to-app

README.md
[![agentmods](https://agentmods.dev/badge/skills/lukedj78/dev-flow/design-md-to-app/github.svg)](https://agentmods.dev/skills/lukedj78/dev-flow/design-md-to-app)
Your own site
<a href="https://agentmods.dev/skills/lukedj78/dev-flow/design-md-to-app"><img src="https://agentmods.dev/badge/skills/lukedj78/dev-flow/design-md-to-app/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for design-md-to-app

Your own site · 80×15
<a href="https://agentmods.dev/skills/lukedj78/dev-flow/design-md-to-app"><img src="https://agentmods.dev/badge/skills/lukedj78/dev-flow/design-md-to-app.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 229 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 22,243 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 1104
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium MCP Rug Pull · line 1106
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 1123
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
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.1 $0.00229 $0.22243
Opus 5 $0.00114 $0.11121
Sonnet 5 $0.00046 $0.04449
Haiku 4.5 $0.00023 $0.02224

Measured 4d ago against content hash 017d6e45bd10, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

design-md-to-app 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 4d ago.

The scan reads SKILL.md. This mod also ships 8 executable files (assets/mui/theme.skeleton.ts, assets/shadcn/tailwind.config.skeleton.ts, references/env.template.ts, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

design-md-to-app/SKILL.md · 1,147 lines

How it starts

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

Dev-flow contract

This skill participates in the dev-flow workflow. When invoked on a project that has a .workflow/ folder at its root:

  • Input is <root>/.workflow/DESIGN.md (mandatory) and <root>/.workflow/meta.json#stack (preferred — if framework and ui are set, use them; if not, ask the user once and persist).
  • Output is the codebase scaffold at <project-root>/, alongside the existing .workflow/ directory (NOT nested inside it). The framework's standard layout — package.json, app/, components/, lib/, etc. — sits at the top so cd <project-root> && pnpm dev works the way every developer expects.
  • State is updated by setting meta.json#phase = "scaffolded", refreshing updated_at, and appending an entry to meta.json#history describing the run (skill name, inputs, outputs, phase delta).
  • Standalone mode (no .workflow/ present) is still supported — fall back to the original "ask the user where to scaffold" behavior. The contract is opt-in.

The canonical contract spec is in references/contracts.md. Read it if any of the rules above are unclear.

DESIGN.md → App

Take a DESIGN.md (Google design.md spec — see references/spec.md) and produce a working React app where shadcn/ui or MUI components are already themed and ready to compose into the actual product. The user picks the library; this skill turns design tokens into theme code, customizes component variants according to the components block, and leaves the user with a runnable scaffold plus a /showcase page they can visually verify.

When this skill applies

Trigger on any of:

  • A DESIGN.md (or design.md) file path or content provided by the user.
  • Explicit requests: "fai partire l'app dal DESIGN.md", "scaffold from design.md", "customize shadcn/MUI from this DESIGN.md", "apply these tokens to shadcn/MUI".
  • A user describing wanting to start a project where the design system is already specified in DESIGN.md form.

If the user has a DESIGN.md but only mentions shadcn/MUI without referencing the file, still trigger — they likely want their tokens applied.

Read the full file on GitHub · 1,147 lines

Files

What ships with it

32 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. 4d ago Changed · +11 lines 017d6e45bd10
  2. 8d ago First seen · 1,136 lines · 229 tokens per session scan A e8d9ca7a9c34

Subscribe to this mod's changes

design-md-to-app is a skill published in the GitHub repository lukedj78/dev-flow (6 stars, last pushed 2d ago), licensed MIT. It adds 229 tokens to every session and 22,243 once invoked, about $0.0011 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-31.

Related

Other skills, from other repositories

moai-design-tools

Design tool integration specialist covering Figma MCP, Pencil renderer, and Pencil-to-code export. Use when fetching design context from Figma, rendering Pencil designs, or exporting to React/Tailwind code.

modu-ai/moai-adk · 45 tokens

moai-domain-uiux

UI/UX design systems specialist covering accessibility, icons, theming, design tokens, and user experience patterns. Use when working on design systems, WCAG compliance, ARIA patterns, or dark mode theming.

modu-ai/moai-adk · 49 tokens

ai-ui-generation

AI-assisted UI generation patterns for json-render, v0.app, Google Stitch, Bolt Cloud, and Cursor workflows. Covers prompt engineering for component and full-stack app generation, review checklists for AI-generated code, design token injection, refactoring for design system conformance, and CI gates for quality…

yonatangross/orchestkit · 95 tokens

styled-components-best-practices

You are an expert in styled-components, CSS-in-JS patterns, and React component styling.

punkadillo/figma-code-composer · 20 tokens

figma-generate-component

Generate production-ready code from a Figma component or frame using the Figma MCP server.

punkadillo/figma-code-composer · 23 tokens

omit-design

AI-collaborative design composition with omit-design. Use when the user is in an omit-design project (has @omit-design/preset-mobile installed and design/ directory) and asks to add or modify design pages, work with patterns, or audit compliance. Covers the four-layer constraint system (skills + ESLint hard rules +…

leefanv/omit-design · 101 tokens