Interactively create the global project PRD.md
Interactively gathers project requirements and generates a comprehensive PRD.md file at repository root.
/plugin marketplace add cyotee/cyotee-claude-plugin-design/plugin install design@cyoteeUse interactive Q&A to gather project requirements and generate the global PRD.md at the repository root.
Look for existing PRD.md at the repository root. If it exists, ask user if they want to:
Use AskUserQuestion to gather requirements in rounds. Ask 2-4 questions per round.
Round 1 - Vision & Purpose:
Round 2 - Scope & Goals:
Round 3 - Technical Context:
Round 4 - Development Approach:
Create PRD.md at the repository root with the gathered information:
---
project: [Project Name]
version: 1.0
created: YYYY-MM-DD
last_updated: YYYY-MM-DD
---
# [Project Name] - Product Requirements Document
## Vision
[One paragraph describing what the project is and why it exists]
## Problem Statement
[What problem does this solve? For whom?]
## Target Users
| User Type | Description | Primary Needs |
|-----------|-------------|---------------|
| [User 1] | [Description] | [Needs] |
| [User 2] | [Description] | [Needs] |
## Goals
### Primary Goals
1. [Goal 1]
2. [Goal 2]
3. [Goal 3]
### Success Metrics
| Metric | Target | Measurement |
|--------|--------|-------------|
| [Metric 1] | [Target] | [How measured] |
## Non-Goals (Out of Scope)
- [Explicitly not doing X]
- [Explicitly not doing Y]
## Key Features
### Feature 1: [Name]
[Description of feature and its value]
### Feature 2: [Name]
[Description of feature and its value]
## Technical Requirements
### Architecture
[High-level architecture description]
### Integrations
| System | Purpose | Type |
|--------|---------|------|
| [System 1] | [Why] | [Read/Write/Both] |
### Chains & Networks
| Network | Purpose | Priority |
|---------|---------|----------|
| [Network 1] | [Primary/Secondary] | [P0/P1/P2] |
### Security Requirements
- [Security requirement 1]
- [Security requirement 2]
### Constraints
- [Technical constraint 1]
- [Technical constraint 2]
## Development Approach
### Repository Structure
[Directory structure]
### Layers
| Layer | Location | Purpose |
|-------|----------|---------|
| [Layer 1] | [Path] | [Purpose] |
### Key Dependencies
| Dependency | Version | Purpose |
|------------|---------|---------|
| [Dep 1] | [Version] | [Why] |
### Testing Requirements
- [Testing requirement 1]
- [Testing requirement 2]
### Documentation Standards
- [Documentation standard 1]
- [Documentation standard 2]
## Milestones
| Milestone | Description | Status |
|-----------|-------------|--------|
| M1 | [Description] | 🆕 |
| M2 | [Description] | 🆕 |
## Appendix
### Glossary
| Term | Definition |
|------|------------|
| [Term] | [Definition] |
### References
- [Reference 1]
- [Reference 2]
Show the user a summary of what was captured and confirm before writing:
# PRD Summary
Project: [Name]
Vision: [One sentence]
Key Features: [Count]
Target Networks: [List]
Write PRD.md to repository root? [Confirm/Edit/Cancel]
After creating PRD.md, ask if user wants to initialize the task management structure:
PRD.md created successfully.
Would you like to initialize the task management structure?
This will create tasks/INDEX.md and tasks/0/ template.
Run: /design:init