data-shape
You are helping the user create or update the general shape of their product's data — the core entities ("nouns") and how they relate to each other. This…
You are helping the user export their complete product design as a handoff package for implementation. This generates all files needed to integrate the UI designs into a real codebase.
How it fires
How this command gets triggered: by you, by Claude, or both.
/export-productContext preview
What this command does when you run it.
You are helping the user export their complete product design as a handoff package for implementation. This generates all files needed to integrate the UI designs into a real codebase.
You are helping the user export their complete product design as a handoff package for implementation. This generates all files needed to integrate the UI designs into a real codebase.
Verify the minimum requirements exist:
**Required:**
**Recommended (show warning if missing):**
If required files are missing:
"To export your product, you need at minimum:
Please complete these first."
Stop here if required files are missing.
If recommended files are missing, show warnings but continue:
"Note: Some recommended items are missing:
You can proceed without these, but they help ensure a complete handoff."
Read all relevant files:
1. `/product/product-overview.md` — Product name, description, features 2. `/product/product-roadmap.md` — List of sections in order 3. `/product/data-shape/data-shape.md` (if exists) 4. `/product/design-system/colors.json` (if exists) 5. `/product/design-system/typography.json` (if exists) 6. `/product/shell/spec.md` (if exists) 7. For each section: `spec.md`, `data.json`, `types.ts` 8. List screen design components in `src/sections/` and `src/shell/`
Create the `product-plan/` directory with this structure:
product-plan/
├── README.md # Quick start guide
├── product-overview.md # Product summary (always provide)
│
├── prompts/ # Ready-to-use prompts for coding agents
│ ├── one-shot-prompt.md # Prompt for full implementation
│ └── section-prompt.md # Prompt template for section-by-section
│
├── instructions/ # Implementation instructions
│ ├── one-shot-instructions.md # All milestones combined
│ └── incremental/ # For milestone-by-milestone implementation
│ ├── 01-shell.md
│ ├── 02-[first-section].md
│ ├── 03-[second-section].md
│ └── ...
│
├── design-system/ # Design tokens
│ ├── tokens.css
│ ├── tailwind-colors.md
│ └── fonts.md
│
├── data-shapes/ # UI data contracts
│ ├── README.md
│ └── overview.ts
│
├── shell/ # Shell components
│ ├── README.md
│ ├── components/
│ │ ├── AppShell.tsx
│ │ ├── MainNav.tsx
│ │ ├── UserMenu.tsx
│ │ └── index.ts
│ └── screenshot.png (if exists)
│
└── sections/ # Section components
└── [section-id]/
├── README.md
├── tests.md # UI behavior test specs
├── components/
│ ├── [Component].tsx
│ └── index.ts
├── types.ts
├── sample-data.json
└── screenshot.png (if exists)Create `product-plan/product-overview.md`:
# [Product Name] — Product Overview ## Summary [Product description from product-overview.md] ## Planned Sections [Ordered list of sections from roadmap with descriptions] 1. **[Section 1]** — [Description] 2. **[Section 2]** — [Description] ... ## Product Entities [If data shape exists: list entity names and brief descriptions] [If not: "Entities to be defined during implementation"] ## Design System **Colors:** - Primary: [color or "Not defined"] - Secondary: [color or "Not defined"] - Neutral: [color or "Not defined"] **Typography:** - Heading: [font or "Not defined"] - Body: [font or "Not defined"] - Mono: [font or "Not defined"] ## Implementation Sequence Build this product in milestones: 1. **Shell** — Set up design tokens and application shell 2. **[Section 1]** — [Brief description] 3. **[Section 2]** — [Brief description] ... Each milestone has a dedicated instruction document in `product-plan/instructions/`.
Each milestone instruction file should begin with the following preamble (adapt the milestone-specific details):
--- ## About This Handoff **What you're receiving:** - Finished UI designs (React components with full styling) - Product requirements and user flow specifications - Design system tokens (colors, typography) - Sample data showing the shape of data components expect - Test specs focused on user-facing behavior **Your job:** - Integrate these components into your application - Wire up callback props to your routing and business logic - Replace sample data with real data from your backend - Implement loading, error, and empty states The components are props-based — they accept data and fire callbacks. How you architect the backend, data layer, and business logic is up to you. ---
Place in `product-plan/instructions/incremental/01-shell.md`:
# Milestone 1: Shell > **Provide alongside:** `product-overview.md` > **Prerequisites:** None [Include the preamble above] ## Goal Set up the design tokens and application shell — the persistent chrome that wraps all sections. ## What to Implement ### 1. Design Tokens [If design tokens exist:] Configure your styling system with these tokens: - See `product-plan/design-system/tokens.css` for CSS custom properties - See `product-plan/design-system/tailwind-colors.md` for Tailwind configuration - See `product-
The missing design process between your product idea and your codebase.
Repo: buildermethods/design-os
You are helping the user create or update the general shape of their product's data — the core entities ("nouns") and how they relate to each other. This…
You are helping the user create a screen design for a section of their product. The screen design will be a props-based React component that can be exported…
You are helping the user design the application shell — the persistent navigation and layout that wraps all sections. This is a screen design, not…
You are helping the user choose colors and typography for their product. These design tokens will be used consistently across all screen designs and the…
You are helping the user create or update their product roadmap for Design OS.
You are helping the user define their product vision for Design OS. This is a conversational process that results in three files: the product overview, product…