{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "kazarazat-chai-ui--let-agent-build-with-chai-design-md",
 "repo": "kazarazat/chai-ui",
 "repo_url": "https://github.com/kazarazat/chai-ui",
 "repo_slug": "kazarazat-chai-ui",
 "title": "Let your coding agent build UI from the design reference",
 "page_title": "How to let your coding agent build UI from the design reference with Chai UI",
 "summary": "Point your coding agent at Chai UI's DESIGN.md and llms.txt so it builds a consistent AI generation screen on the first try.",
 "who": "A solo builder using Claude Code or Cursor who wants an AI image app that looks designed, not improvised.",
 "problem": "Agents invent their own spacing, colors and states, so every screen looks different.",
 "outcome": "A generation screen built from Material Design 3 based components that follows the documented rules.",
 "steps": [
  "Run `pnpm add @chai-ui/react @chai-ui/core @chai-ui/tokens` (React 18.3 or 19)",
  "Give your agent packages/react/DESIGN.md from the repo",
  "Also give it Chai UI.com/docs/llms.txt as the API reference",
  "Ask: build a generation screen with Composer and ResultCard using the Fal engine",
  "Check the result against the accessibility section of DESIGN.md"
 ],
 "agent_prompt": "Read chai-ui's DESIGN.md and https://chai-ui.com/docs/llms.txt, then build a <type> generation screen in <app> with Composer and ResultCard. Keep API keys server side and list any rule from DESIGN.md you could not follow.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "The components call a model provider, so the screen only works once a Fal.ai, OpenRouter or gateway key is set on your server.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "typescript",
 "requirements": [
  "React 18.3 or 19, or Vue 3.5 or later",
  "pnpm",
  "An engine account such as Fal.ai or OpenRouter"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/kazarazat-chai-ui/let-agent-build-with-chai-design-md/",
 "md": "https://dedupedai.com/use-cases/kazarazat-chai-ui/let-agent-build-with-chai-design-md/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/kazarazat-chai-ui--let-agent-build-with-chai-design-md.json",
 "api_version": "v1"
}
