1 Generate your token file

Generate your token file

Head to the designtoken.md generator and configure your design system:

Open the generator →
2 Place it in your project

Drop it in your project root

Every major coding agent reads files in your project root as context. Place the file at the top level:

your-project/
├── designtoken.md    ← place it here
├── src/
├── package.json
└── ...

That's it. No configuration needed. The structured markdown format with consistent headings means any agent can parse it deterministically. No special plugins or integrations required.

3 Your agent reads it

Start building with tokens

Your coding agent discovers designtoken.md as part of your project context and applies the token values when writing UI code. You can reference it explicitly for stronger results:

"Build a settings page using the tokens from designtoken.md for all styling."

"Create a card component. Use the color, spacing, and radius tokens from designtoken.md."

The agent reads the full file and applies your color scales, typography stack, spacing, radius, elevation, and component tokens consistently across every file it generates.

Agents that work with designtoken.md

Any coding agent that reads project context files will pick up your designtoken.md. Here are the ones with dedicated guides:

If your agent reads markdown files from your project, it works with designtoken.md.

Before & after

See the difference tokens make in what your agent outputs:

Without tokens (generic)
<button style="
  background: blue;
  color: white;
  padding: 10px 20px;
">
  Click me
</button>
With designtoken.md
<button style="
  background: var(--color-primary-500);
  color: #fff;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-md);
  font-weight: 600;
">
  Click me
</button>

With tokens, every component your agent generates uses your actual design values instead of arbitrary defaults.

Best practices

When to go beyond static tokens

A static designtoken.md file works great for most projects. Consider moving beyond the file when you need:

That's the graduation path from a static token file to runtime infrastructure.

Runtime resolution

For runtime token resolution and brand enforcement at production scale, explore Designless Studio. It reads the same token vocabulary and makes it available via API, so your design system updates across your app without regenerating files.

Reusable skills

If you find yourself generating the same tokens across multiple projects, turn your tokens into a reusable design skill on skill.design so your agent installs your design preferences as a package.

Frequently asked questions

Which coding agents work with designtoken.md?
designtoken.md files work with any coding agent that reads project context files, including Claude Code, Cursor, GitHub Copilot, OpenAI Codex, Google Gemini CLI, Windsurf, Lovable, Bolt, and v0. If your agent can read markdown files from your project, it works.
How does a coding agent read a designtoken.md file?
Most coding agents read files in your project root as context. Place designtoken.md at the top level of your project and the agent discovers it automatically. The structured markdown format with consistent headings makes it easy for agents to parse deterministically. No special integrations needed.
When should I move beyond a static designtoken.md file?
A static designtoken.md file works great for most projects. Consider runtime token resolution when you need design system updates to propagate across your app without regenerating files, brand guardrails that prevent off-brand output, or composition intelligence that resolves token relationships dynamically. Designless Studio handles these runtime use cases.
Generate your designtoken.md →