data-shape
You are helping the user create or update the general shape of their product's data — the core entities ("nouns") and how they relate to each other. This…
You are helping the user choose colors and typography for their product. These design tokens will be used consistently across all screen designs and the application shell.
How it fires
How this command gets triggered: by you, by Claude, or both.
/design-tokensContext preview
What this command does when you run it.
You are helping the user choose colors and typography for their product. These design tokens will be used consistently across all screen designs and the application shell.
You are helping the user choose colors and typography for their product. These design tokens will be used consistently across all screen designs and the application shell.
First, verify that the product overview exists:
Read `/product/product-overview.md` to understand what the product is.
If it doesn't exist:
"Before defining your design system, you'll need to establish your product vision. Please run `/product-vision` first."
Stop here if the prerequisite is missing.
"Let's define the visual identity for **[Product Name]**.
I'll help you choose: 1. **Colors** — A primary accent, secondary accent, and neutral palette 2. **Typography** — Fonts for headings, body text, and code
These will be applied consistently across all your screen designs and the application shell.
Do you have any existing brand colors or fonts in mind, or would you like suggestions?"
Wait for their response.
Help the user select from Tailwind's built-in color palette. Present options based on their product type:
"For colors, we'll pick from Tailwind's palette so they work seamlessly with your screen designs.
**Primary color** (main accent, buttons, links): Common choices: `blue`, `indigo`, `violet`, `emerald`, `teal`, `amber`, `rose`, `lime`
**Secondary color** (complementary accent, tags, highlights): Should complement your primary — often a different hue or a neutral variation
**Neutral color** (backgrounds, text, borders): Options: `slate` (cool gray), `gray` (pure gray), `zinc` (slightly warm), `neutral`, `stone` (warm gray)
Based on [Product Name], I'd suggest:
What feels right for your product?"
Use AskUserQuestion to gather their preferences if they're unsure:
Help the user select Google Fonts:
"For typography, we'll use Google Fonts for easy web integration.
**Heading font** (titles, section headers): Popular choices: `DM Sans`, `Inter`, `Poppins`, `Manrope`, `Space Grotesk`, `Outfit`
**Body font** (paragraphs, UI text): Often the same as heading, or: `Inter`, `Source Sans 3`, `Nunito Sans`, `Open Sans`
**Mono font** (code, technical content): Options: `IBM Plex Mono`, `JetBrains Mono`, `Fira Code`, `Source Code Pro`
My suggestions for [Product Name]:
What do you prefer?"
Once they've made decisions:
"Here's your design system:
**Colors:**
**Typography:**
Does this look good? Ready to save it?"
Once approved, create two files:
**File 1:** `/product/design-system/colors.json`
{
"primary": "[color]",
"secondary": "[color]",
"neutral": "[color]"
}**File 2:** `/product/design-system/typography.json`
{
"heading": "[Font Name]",
"body": "[Font Name]",
"mono": "[Font Name]"
}Let the user know:
"I've saved your design tokens:
**Your palette:**
**Your fonts:**
These will be used when creating screen designs for your sections.
Next step: Run `/design-shell` to design your application's navigation and layout."
Available colors (each has shades 50-950):
The missing design process between your product idea and your codebase.
Repo: buildermethods/design-os
You are helping the user create or update the general shape of their product's data — the core entities ("nouns") and how they relate to each other. This…
You are helping the user create a screen design for a section of their product. The screen design will be a props-based React component that can be exported…
You are helping the user design the application shell — the persistent navigation and layout that wraps all sections. This is a screen design, not…
You are helping the user export their complete product design as a handoff package for implementation. This generates all files needed to integrate the UI…
You are helping the user create or update their product roadmap for Design OS.
You are helping the user define their product vision for Design OS. This is a conversational process that results in three files: the product overview, product…