Skip to content

■ TOOLS // TOOL MAP

Awesome DESIGN.md: copy a design spec into an agent project

Community DESIGN.md examples you can copy into a project root and use with Claude, Cursor, Codex, or another coding agent. Includes placement, prompts, and verification.

■ [!] ON THIS PAGE ▼

Updated May 14, 2026.

Need a usable DESIGN.md, not another inspiration gallery? Pick a file from VoltAgent/awesome-design-md , copy it into your project root as DESIGN.md, then make your coding agent treat it as the visual contract.

Quickstart

  1. Open the awesome-design-md repository and choose the design system closest to the UI you want.
  2. Copy the chosen content into ./DESIGN.md in your app repository. If the collection does not have the style you need, use the request page as the next step.
  3. Start Claude, Cursor, Codex, or another coding agent from the repo root.
  4. Ask the agent to summarize the palette, typography, spacing, and component rules before it writes code.
  5. Keep the first implementation small: one screen or one component. Verify that it follows the file before asking for more.

This page is about the community collection. The formal DESIGN.md spec and tooling live separately in Google’s DESIGN.md docs and @google/design.md .

Where the file goes

LocationUseNote
./DESIGN.mdActive visual contract for the repoDefault path. This is the file the agent should read before building UI.
./docs/design/<name>.mdReference or archived examplesFine for comparison, but tell the agent which one is active.
Component subfoldersUsually avoidFragmented design rules make agents invent glue. Keep the contract central unless a component has a real exception.
External collection repoBrowsing onlyCopy the specific file or excerpt you want; do not expect your agent to read GitHub by osmosis.

If your repo already has AGENTS.md, CLAUDE.md, or another workflow file, add one line there that points the agent at DESIGN.md.

Before changing UI, read ./DESIGN.md and follow its tokens, typography, spacing, component rules, and interaction notes.

For the broader file-placement decision, see agent config files compared and Claude Code workflow files .

Prompt to use with an agent

Paste this after the file exists at the repo root:

Read ./DESIGN.md first. Summarize the visual contract in five bullets: palette, type, spacing, components, and motion/interaction. Then implement only the requested screen/component. Reuse existing app primitives where possible. Do not invent new colors, type scales, radii, shadows, or spacing unless DESIGN.md is silent. At the end, list which DESIGN.md rules you followed and where the implementation may still drift.

That prompt does two useful things: it proves the agent saw the file, and it forces the UI diff to stay reviewable.

Verify it worked

Use this checklist before trusting the output:

  • DESIGN.md exists at the project root.
  • The agent can restate the design system before coding.
  • The generated UI uses the named colors, typography, spacing, and component mood from the file.
  • The agent does not introduce extra tokens because they “look nice”.
  • A human can compare the finished screen against the source style in one pass.

If you need formal validation against the DESIGN.md format, use the Google tooling context, not the community collection as an install target:

npx -y @google/design.md lint DESIGN.md
npx -y @google/design.md diff DESIGN.md DESIGN-v2.md
npx -y @google/design.md export --format tailwind DESIGN.md > tailwind.theme.json

The first command checks format. The diff command helps review changes to the contract. The export command is useful when you want tokens in a build system instead of only in prose.

Caveats

  • awesome-design-md is a community collection, not the canonical DESIGN.md spec.
  • A copied design system is a starting contract for your agent, not a license to clone a brand. Check upstream license, trademark, and product context before shipping.
  • A DESIGN.md does not replace visual QA. It gives the agent constraints; you still need screenshots or review.
  • Keep one active contract per repo when possible. Multiple competing design files produce mush.
PageWhy it matters
Andrej Karpathy SkillsSame pattern: a Markdown file that changes agent behavior, but for coding discipline instead of UI taste.
Agent config files comparedDecides whether a rule belongs in DESIGN.md, CLAUDE.md, AGENTS.md, or another config file.
Claude Code workflow filesPractical placement patterns for repo-level instruction files.
Google DESIGN.md formatThe formal format reference when you need validation rather than examples.