mirror of
https://github.com/0xdesign/design-plugin.git
synced 2026-09-19 07:32:24 +08:00
931c20c7a8
Reflects stable release with: - FeedbackOverlay CSS isolation fix - Button overlap UX improvements - DESIGN_PRINCIPLES.md expansion (~1,700 lines) - Interaction design techniques integration Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Design and Refine
Generate UI design variations, collect feedback, synthesize the best elements, and iterate to confident design decisions.
Installation
Local Testing
claude --plugin-dir /path/to/design-variations-plugin
From Marketplace
/plugin marketplace add 0xdesigner/design-plugin
/plugin install design-and-refine@design-plugins
Commands
/design-and-refine:start [target]
Start a design and refine session.
Arguments:
target(optional): Component or page to design/redesign
Example:
/design-and-refine:start CheckoutSummary
/design-and-refine:start
/design-and-refine:cleanup
Remove all temporary design lab files.
How It Works
- Preflight: Detects framework, package manager, styling system
- Style Inference: Reads your existing design tokens and patterns
- Interview: Asks about requirements, pain points, and direction
- Generate: Creates 5 distinct variations using your project's visual language
- Review: Preview variants side-by-side at
/__design_lab - Feedback: Tell me what you like about each variant
- Synthesize: Creates a refined version combining the best elements
- Iterate: Repeat until you're confident
- Finalize: Cleans up temp files, produces
DESIGN_PLAN.md
Supported Frameworks
- Next.js (App Router & Pages Router)
- Vite (React, Vue)
- Remix
- Astro
- Create React App
Supported Styling
- Tailwind CSS
- CSS Modules
- Material UI
- Chakra UI
- Ant Design
- styled-components
- Emotion
Files Created
Temporary (cleaned up on completion or abort)
.claude-design/- All temporary variants and previewsapp/__design_lab/orpages/__design_lab.tsx- Lab routeapp/__design_preview/orpages/__design_preview.tsx- Preview route
Permanent (kept after finalization)
DESIGN_PLAN.md- Implementation plan for the chosen designDESIGN_MEMORY.md- Reusable style decisions for future runs
License
MIT