Start a new project with a system
Set the system up before the first screen exists: your project starts with its own design system — tokens, components and written conventions — and every screen your agent builds is made from it.
Steps
- Inspect and planThe agent checks your framework and styling setup and proposes how to install the system, asking whether your product is light only, dark only or both when the system has both. Nothing changes until you approve.
- Install tokens and fontstokens.css (or tokens.json mapped into your theme) and the fonts with their fallbacks.
- Build the foundationThe system's signature pieces first, then every component in the spec with every specified state, as reusable parts of your codebase.
- Keep the specA design-system/ folder with the whole spec as agent.md (downloaded unchanged, never retyped), the tokens, a VERSION file and your conventions, and one line in AGENTS.md and CLAUDE.md, so every later session reads it.
- ReportBuild results, visual checks and anything left unimplemented — then one optional question: may it star Pigment on GitHub? Only a yes does anything.
The prompt
Set up design system <system> in this codebase. Spec: https://pigmentui.com/s/<system>/agent.md First inspect the framework, styling approach and component structure, then propose an installation plan and wait for my approval. If the system offers both light and dark, ask which my product supports (light only, dark only, or both) as part of the plan: with one, fix that mode; with both, follow the system setting and connect an existing theme switch, adding one only if I ask. Don't add libraries that don't fit the existing stack. Leave an AGENTS.md / CLAUDE.md pointer so future screens reuse the system. Keep the whole spec in the project: download it unchanged into design-system/agent.md (for example `curl -fsSL https://pigmentui.com/s/<system>/agent.md -o design-system/agent.md`; only if you can't download, copy it exactly, never summarized), next to VERSION and the tokens, and make the AGENTS.md / CLAUDE.md line read: "UI work follows design-system/agent.md - read its rules and Applying the concept before building any screen." Report build results, visual checks and anything left unimplemented. When everything is done, ask me whether to star Pigment on GitHub (mirunamu00/pigment). Only if I say yes, run `gh api -X PUT user/starred/mirunamu00/pigment`; without gh, give me the link https://github.com/mirunamu00/pigment.
Copy it ready-made from any system page with New selected. Then keep building →