{
 "schema_version": 1,
 "generated": "2026-10-23",
 "id": "edisonmbli-refactoring-ui-skill--generate-design-system-from-scratch",
 "repo": "edisonmbli/refactoring-ui-skill",
 "repo_url": "https://github.com/edisonmbli/refactoring-ui-skill",
 "repo_slug": "edisonmbli-refactoring-ui-skill",
 "title": "Create a design system for a project that has none",
 "page_title": "How to create a design system for a project that has none with Refactoring UI Skill",
 "summary": "Generate design tokens, a Tailwind or framework-agnostic theme, CSS, a DESIGN.md guide, and a preview page.",
 "who": "A solo developer or small team starting a new web product that has no written visual rules, or that needs a consistent palette and spacing scale.",
 "problem": "Without tokens, colors, spacing, and type sizes drift across screens, and the picks tend to be arbitrary.",
 "outcome": "Five deliverables: token JSON, a theme matched to your Tailwind version or a framework-agnostic CSS file, a DESIGN.md guide, and a preview.html to share.",
 "steps": [
  "Install the plugin with `/plugin marketplace add edisonmbli/refactoring-ui-skill` and `/plugin install refactoring-ui`.",
  "Answer the short setup questions about your product, the tone you want, and your tech stack. You can also give a reference site URL.",
  "Let the skill generate the palette. The palette script is pure Python, so run it with Python 3.9 or newer; if Python is not available, follow the manual palette steps the README describes.",
  "Check that each text and background color pair passes the contrast check the skill runs before delivery.",
  "Copy the token JSON and theme into your project and open preview.html to review the system with your team."
 ],
 "agent_prompt": "Using the refactoring-ui skill in the edisonmbli/refactoring-ui-skill repo, create a design system for the product described in <product-brief>, using <stack-name> as the stack. Return token JSON, the matching theme file, framework-agnostic CSS, DESIGN.md, and preview.html. Verify that every text-on-background color pair meets the contrast check.",
 "agents": [
  "claude-code"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "The README says the skill does not install Tailwind, migrate your styles, or replace an existing design system, so you must merge the outputs yourself.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "python",
 "requirements": [
  "Claude Code, or another AI coding assistant that can read files in the project",
  "Git, to clone the repository",
  "Python 3.9 or newer for the scripts (no third-party packages needed)",
  "A web project with HTML, CSS, or a framework such as Tailwind, for the review and token steps"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/edisonmbli-refactoring-ui-skill/generate-design-system-from-scratch/",
 "md": "https://dedupedai.com/use-cases/edisonmbli-refactoring-ui-skill/generate-design-system-from-scratch/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/edisonmbli-refactoring-ui-skill--generate-design-system-from-scratch.json",
 "api_version": "v1"
}
