AI design agent
The AI design agent is a Claude Code plugin that ships with this design system. It gives an AI assistant the same rules documented on this site, so it can build, review, and clean up DayTwo screens without a person re-explaining the system each time.
What it is
The agent is a set of three installable skills — create, review, simplify — not a prompt you paste in. Once the plugin is installed, a skill runs when you ask Claude Code something it matches — "review this screen", "check the states", or "did this refactor drop anything?" — and returns a structured answer based on this design system.
Every skill is documented in full on this page, so you can understand and use the agent without opening the repository.
The skills do not keep their own copy of the colours or component list. They
read the live files when they run: the generated
packages/tokens/dist/tokens.json and this repo's
USAGE.md. Change a token, and the skills use the new value on
their next run.
Get started
npm install, then npm run build:tokens once so the skills have tokens.json to read./plugin install ./daytwo-design-agent
You can also name a skill directly when you want a specific one:
# Runs the matching skill automatically:Check the states on the Community Discover tab.# Or name the skill:Use daytwo-ui-review to check what this change dropped.
Using it in Claude chat or Lovable
The three skills are a Claude Code plugin — they only run inside Claude Code. Tools like Claude chat, Lovable, v0, or ChatGPT have no plugin system; the only thing they accept is text in the prompt. So for those, the design system travels as one paste-in block — the same rules, compressed to fit any prompt.
In Claude Code, install the plugin. Everywhere else, paste the design brief. Both carry the same rules — colours, type, spacing, states, three languages — so a screen comes out on-brand either way.
Paste the block below at the top of your prompt, then describe the screen
underneath — e.g. "Build a screen for a shop owner to record a cash sale, big
amount on top, one confirm button." The full version, with every hex value and
the exact type scale, lives in DESIGN-BRIEF.md at the repo root.
You are designing for DayTwo, a mobile finance app for small-business owners inMyanmar and Thailand. The feel is calm, premium, and trustworthy — Apple-minimal,not busy or loud. Follow these rules exactly.Brand & tone — Clean, spacious, one clear thing to do per screen. Warm, plaincopy; never scold on errors. Assume a first-time, low-literacy user on a cheapAndroid phone in bright sun.Colours — Primary action (buttons/CTAs): teal #005E77 + white text. Accent/focusonly: aqua #14DBDB (never behind white text, never body text). AI features only:violet #7C3AED or gradient linear-gradient(135deg,#8B5CF6,#6366F1 52%,#14DBDB).Text #1A1F22 / #5B656C / #7C868D. Background #FFFFFF, inset #F7F8F9. Success#1E8E4E, Warning #9A6400, Error #C42B22.Type — body 17, headings semibold; a hero number caps at 22–28 (classy, notshouty). Corners: buttons are pills, cards radius 16. Space on an 8-pt grid;screen padding 16–20. Shadows very soft; prefer a hairline border.Rules — one primary teal pill per screen; 44–48px tap targets. Always includeempty / loading / error / offline states. App ships in English, Burmese, Thai —short labels, no text baked into images. No aqua text, no violet unless AI, noheavy shadows, no pure black.Now design the screen I describe next, following all of the above.
The three skills
Three skills, one per verb — create a new screen, review an existing one, simplify a busy one. Each reads the design system first, then returns a structured answer. Expand any skill to see what it checks and what it returns.
Which skill for which job
| I want to… | Use |
|---|---|
| Build a new screen the right way from the start | daytwo-ui-create |
| Review a screen — on-brand? usable? states? offline? did a change break it? | daytwo-ui-review |
| Make a busy screen calmer without breaking it | daytwo-ui-simplify |
daytwo-ui-review is the full audit. What used to be separate skills — a
consistency sweep, a usability walk, a states check, a low-end/offline check, a
regression diff, a prioritized cleanup list — are now dimensions inside
review. Ask for one by name in your prompt ("focus on missing states", "check
it offline in Burmese", "did this refactor drop anything?") and review leans into
it.
What good output looks like
A good result is specific and tied to a user outcome, and every fix names a real token or component. A generic answer counts as a failed run. Each skill's test prompt describes what a failing run looks like, so quality is something you can check rather than judge by feel.
How it stays honest
Folder layout
daytwo-design-agent/
README.md
.claude-plugin/plugin.json the plugin manifest
skills/<name>/SKILL.md one folder per skill (create, review, simplify)
references/ eight pointer files to the live tokens and catalog
test-prompts/ prompt + expected/good/bad output + improvement notes, per skill
examples/ real sample runs against DayTwo screens