Design md

From sheawinkler/hermes-agent-ultra · View interactive version

Design md is an AI agent skill from the GitHub repository sheawinkler/hermes-agent-ultra. Author, lint, diff, and export DESIGN.md files (Google's open-source format for giving coding agents persistent design-system context). Use when building a design system, porting brand rules, enforcing consistency, or validating accessibility contrast.

How to use this skill

Skill file

DESIGN.md

DESIGN.md is an open format from Google (google-labs-code/design.md) that

combines machine-readable design tokens with human-readable guidance in one

file.

Use this skill when users need:

Expected file anatomy

  1. YAML front matter
  2. Markdown narrative sections

Typical token groups:

Component variants should be sibling keys (for example:

button-primary-hover), not nested keys.

Canonical section order

When sections exist, keep this order:

  1. Overview
  2. Colors
  3. Typography
  4. Layout
  5. Elevation & Depth
  6. Shapes
  7. Components
  8. Do's and Don'ts

CLI workflow

Use the official CLI package:

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

Authoring rules

typography, rounded, padding, size, height, width).

Recommended execution pattern

  1. Generate or update DESIGN.md.
  2. Run lint.
  3. Fix broken references and accessibility warnings.
  4. Export target format if needed.
  5. Report what changed and why.

Starter template

If user asks for a fresh spec, begin from:

templates/starter.md

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.