一键导入
prd
Create a PRD (Product Requirements Document) for handoff to an AI agent.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create a PRD (Product Requirements Document) for handoff to an AI agent.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Create a PRD as a Linear parent issue with child issues for implementation tasks, using team key from .ralph.toml.
Create a PRD as a Linear parent issue with child issues for implementation tasks, using team key from .ralph.toml.
| name | prd |
| description | Create a PRD (Product Requirements Document) for handoff to an AI agent. |
/prd <feature description>
/prd
If no description is provided, Claude will ask clarifying questions to understand the feature.
prd/_to_refine/ with a kebab-case nameThe PRD dir should live at the root of the repository, create the prd dir if it does not exist.
prd/
├── _to_refine/ # Need refinement
│ └── feature-name/
│ └── project.md # Developer progress tracking (empty initially)
├── backlog/ # Active/pending PRDs
│ └── feature-name/
│ ├── project.md # Full feature specification
│ └── progress.md # Developer progress tracking (empty initially)
└── complete/ # Finished PRDs (moved here when done)
└── old-feature/
├── project.md
└── progress.md
New PRDs are always created in prd/_to_refine/. When a PRD is refined, it will be added to prd/backlog manually.
When a PRD is finished it will move to prd/complete
# Feature Name
## Overview
Brief 2-3 sentence description of what this feature does and why it's needed.
## Goals
- Primary goal
- Secondary goals
## User Stories
- As a [role], I want [feature] so that [benefit]
## Requirements
### Functional Requirements
1. Requirement with clear acceptance criteria
2. ...
### Non-Functional Requirements
- Performance considerations
- Security requirements
- Accessibility needs
## Technical Approach
### Affected Areas
- Models: List affected/new models
- Controllers: List affected/new controllers
- Frontend: List affected/new components
- Routes: New API endpoints or page routes
### Database Changes
- New tables or columns
- Migrations needed
### API Endpoints
| Method | Endpoint | Description |
|--------|----------|-------------|
| POST | /api/... | Create... |
### Frontend Components
- New Vue components needed
- Existing components to modify
### Testing strategies
- Browser testing requirements
- Unit testing testing requirements
## UI/UX
### User Flow
1. Step-by-step user interaction
### Mockups/Wireframes
(Link or description of visual design if available)
## Edge Cases
- Edge case 1 and how to handle it
- Edge case 2 and how to handle it
## Out of Scope
- Features explicitly NOT included in this phase
## Open Questions
- [ ] Question that needs answering before implementation
## Dependencies
- External services or features this depends on
## Testing Strategy
- Unit tests needed
- Integration tests needed
- Manual testing scenarios
## Implementation Tasks (Prioritized)
Tasks ordered by priority. Check off as completed.
### High Priority
- [ ] Task 1 - Most critical path item
- [ ] Task 2 - Required for core functionality
### Medium Priority
- [ ] Task 3 - Important but not blocking
- [ ] Task 4 - Enhances the feature
### Low Priority
- [ ] Task 5 - Nice to have
- [ ] Task 6 - Polish/cleanup
/prd Add push notifications for order status updates
Claude will:
prd/_to_refine/order-push-notifications//prd
Claude will prompt: "What feature would you like to create a PRD for?"
Then ask follow-up questions like: