Claude Code Tools

claude-plugin-design-md

official

Claude Code plugin + standalone CLI that scaffolds DESIGN.md files following the google-labs-code/design.md spec.

Version
0.1.1
Last Updated
2026-04-23
Source
official

DESIGN.md

A Claude Code plugin that scaffolds a DESIGN.md in the current project. The file follows the google-labs-code/design.md specification — YAML design tokens plus markdown rationale — so any AI coding agent can read a single document and produce UI that matches the intended visual identity.

Use

As a Claude Code plugin

Install from this GitHub repo by registering it as a marketplace:

/plugin marketplace add eveiljuice/claude-plugin-design-md
/plugin install design-md@eveiljuice

Or point Claude Code at a local clone:

/plugin install /absolute/path/to/claude-plugin-design-md

Then, inside any project, run:

/design-md:create
/design-md:create atmospheric-glass
ArgumentBehaviour
(none) or blankWrites the bundled starter template — every required section with placeholder prose and a neutral default token palette.
atmospheric-glassDownloads the official Atmospheric Glass example.
paws-and-pathsDownloads the official Paws & Paths example.
totality-festivalDownloads the official Totality Festival example.

If DESIGN.md already exists the command asks before overwriting.

As a standalone CLI (npx)

Run without Claude Code — no install, no clone. Requires Node 18+.

npx -y claude-plugin-design-md
npx -y claude-plugin-design-md atmospheric-glass
npx -y claude-plugin-design-md paws-and-paths --out design/DESIGN.md

Or pull straight from GitHub (useful for unreleased changes on main):

npx -y github:eveiljuice/claude-plugin-design-md

Options:

FlagDefaultDescription
--out <path>./DESIGN.mdWhere to write the file
--force, -foffOverwrite without prompting
--help, -hShow usage

Valid sources: blank (default), atmospheric-glass, paws-and-paths, totality-festival.

With any other AI coding agent

The CLI works from any agent that can run shell commands (Cursor, Codex, Cline, Continue, Windsurf, Aider, Copilot CLI, Gemini CLI, Zed, OpenCode, …). To teach the agent when to reach for it, drop the skill file at skills/create-design-md.md into whatever instruction layer your tool uses:

Cursor — save as .cursor/rules/create-design-md.mdc
---
description: Scaffold a DESIGN.md via the claude-plugin-design-md CLI
globs: "**/*"
alwaysApply: false
---

Then paste the body of skills/create-design-md.md underneath.

Codex / Amp / Jules / Gemini CLI / Aider / Zed / Copilot — append to AGENTS.md

These tools all read AGENTS.md at the project root. Append a section:

## Scaffolding DESIGN.md

When asked to create a DESIGN.md, a design system spec, or a YAML design-tokens
document, run `npx -y claude-plugin-design-md [blank|atmospheric-glass|paws-and-paths|totality-festival]`
in the project root. Do not write the file by hand — the templates are versioned
upstream.
Cline — save as .clinerules/create-design-md.md

Paste the body of skills/create-design-md.md directly — Cline reads every file in the .clinerules/ directory as part of its system prompt.

OpenCode — add to .opencode/opencode.json
{
  "instructions": ["https://raw.githubusercontent.com/eveiljuice/claude-plugin-design-md/main/skills/create-design-md.md"]
}
Windsurf — save as .windsurf/rules/create-design-md.md

Paste the body of skills/create-design-md.md directly.

After the file exists

Validate it against the spec using the upstream CLI (no install required):

npx @google/design.md lint DESIGN.md

Other useful commands from the same package:

npx @google/design.md export --format tailwind DESIGN.md
npx @google/design.md export --format dtcg DESIGN.md
npx @google/design.md spec          # prints the full spec for agent prompts

Releases

Each tag matching v* triggers .github/workflows/publish.yml, which verifies that the tag matches package.json and publishes to npm with npm provenance signing.

To cut a new version:

npm version patch          # or minor / major
git push --follow-tags

GitHub Actions picks up the tag, publishes to npm, and the new version is live under npx -y claude-plugin-design-md.

Layout

design-md/
├── .claude-plugin/plugin.json      # Claude Code plugin manifest
├── commands/create.md              # Claude Code slash command
├── skills/create-design-md.md      # Universal skill for any AI agent
├── templates/DESIGN.md             # Bundled starter template
├── bin/cli.js                      # Standalone npx CLI
└── README.md

License

MIT