| name | design-os |
| description | Structured product design planning from vision to implementation handoff. Use when user asks to "plan a product design", "design tokens", "shape a section", "design screen", or "export product plan". Generates specs, sample data, React components, and coding agent handoff packages. |
| description_zh | ็ปๆๅไบงๅ่ฎพ่ฎก่งๅ๏ผไปๆฟๆฏๅฐๅผๅไบคๆฅใ็ๆ่ฎพ่ฎก่ง่ใ็คบไพๆฐๆฎใReact ็ปไปถๅ Coding Agent ไบคๆฅๅ
ใ |
Design OS โ Skill
Adapted from Design OS by Brian Casel.
Structured product design planning: vision โ design system โ shell โ sections โ screen designs โ export handoff.
The Planning Flow
Design OS follows a strict sequential workflow. Each step builds on the previous:
1. Product Vision โ 2. Design Tokens โ 3. App Shell
โ
6. Export โ 5. Screenshot โ 4. Sections (shape โ data โ screen)
| Step | Command | Trigger | Reference |
|---|
| 1 | Product Vision | "define product", "product vision" | references/product-vision.md |
| 1b | Product Roadmap | "update roadmap", "add sections" | references/product-roadmap.md |
| 1c | Data Shape | "update data shape", "define entities" | references/data-shape.md |
| 2 | Design Tokens | "choose colors", "design tokens", "typography" | references/design-tokens.md |
| 3 | Design Shell | "design shell", "app navigation", "layout" | references/design-shell.md |
| 4a | Shape Section | "shape section", "define section spec" | references/shape-section.md |
| 4b | Sample Data | "update sample data", "regenerate data" | references/sample-data.md |
| 4c | Design Screen | "design screen", "create UI components" | references/design-screen.md |
| 5 | Screenshot | "screenshot design", "capture screen" | references/screenshot-design.md |
| 6 | Export Product | "export product", "generate handoff" | references/export-product.md |
How It Works
- Read the relevant reference file for the step being invoked
- Also read
references/agents.md for overall Design OS directives and file structure
- Follow the reference instructions step by step
- Read
references/screen-design-guide.md when creating any screen designs (Step 4c)
Workspace Conventions
All files are stored relative to the target project root:
{project}/
โโโ product/ # Product definition (portable)
โ โโโ product-overview.md
โ โโโ product-roadmap.md
โ โโโ data-shape/
โ โ โโโ data-shape.md
โ โโโ design-system/
โ โ โโโ colors.json
โ โ โโโ typography.json
โ โโโ shell/
โ โ โโโ spec.md
โ โโโ sections/
โ โโโ {section-id}/
โ โโโ spec.md
โ โโโ data.json
โ โโโ types.ts
โ โโโ *.png
โ
โโโ src/ # Screen design components
โ โโโ shell/
โ โ โโโ components/
โ โ โ โโโ AppShell.tsx
โ โ โ โโโ MainNav.tsx
โ โ โ โโโ UserMenu.tsx
โ โ โ โโโ index.ts
โ โ โโโ ShellPreview.tsx
โ โโโ sections/
โ โโโ {section-id}/
โ โโโ components/ # Exportable (props-based)
โ โ โโโ {Component}.tsx
โ โ โโโ index.ts
โ โโโ {ViewName}.tsx # Preview wrapper
โ
โโโ product-plan/ # Export package (generated)
โโโ README.md
โโโ product-overview.md
โโโ prompts/
โโโ instructions/
โโโ design-system/
โโโ data-shapes/
โโโ shell/
โโโ sections/
OpenClaw Integration
Canvas Preview
Instead of requiring a local Vite dev server, use Canvas to preview generated React components:
- After generating screen design components, render them in Canvas for instant visual feedback
- This replaces the original Design OS's local dev server preview
Subagent for Heavy Work
- Screen design creation (Step 4c) involves generating multiple React components โ spawn a subagent if the section has complex UI requirements
- Export generation (Step 6) is 1000+ lines โ always spawn a subagent for this step. Read the reference in sections: lines 1-200 (overview + templates), 200-600 (section generation), 600+ (prompts + README).
Memory
- After completing product vision, note the product name and key sections in daily notes
- Design tokens (colors/fonts) are worth remembering for consistency across sessions
Key Design Principles
From the screen-design-guide reference (read it for every screen design):
- Bold aesthetic direction โ Choose a clear visual concept, never generic
- Tailwind CSS v4 โ No
tailwind.config.js, use built-in utilities
- Props-based components โ All data and callbacks via props, never import data directly
- Mobile responsive + dark mode โ Always
- Design tokens applied โ Product's colors and typography, not defaults
Adaptation Notes
- Original uses Claude Code slash commands โ We trigger via natural language
- Original uses
AskUserQuestion tool โ We ask the user directly in conversation
- Original requires Vite dev server for preview โ We can use Canvas for quick preview
- Original requires Playwright MCP for screenshots โ We use
browser tool or Canvas snapshot
- All original command logic is preserved in the reference files
- The React application part of Design OS is NOT included โ we only use the planning workflow and component generation