원클릭으로
prd
Interactive PRD pipeline from discovery to sized task files
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Interactive PRD pipeline from discovery to sized task files
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Create Architecture Decision Record
Design API contracts with OpenAPI specifications
Assess architecture decisions tradeoffs and edge cases
Design database schemas with migrations and repository interfaces
Break requests into parallel tasks for team execution
Audit dependencies for vulnerabilities and plan upgrades
| name | prd |
| description | Interactive PRD pipeline from discovery to sized task files |
| allowed-tools | Read, Write, Glob, Grep, TaskCreate |
Interactive PRD-to-tasks pipeline. Generate a Product Requirements Document from a feature description, then convert it into sized task files for agent team execution.
Work through 3 phases. Present options with lettered choices (A, B, C, D) for quick user responses.
Conduct a focused Q&A to understand the feature. Ask 2-3 questions per round, max 4 rounds.
Round 1 -- Scope & Users
Round 2 -- Technical Shape
Round 3 -- Dependencies & Constraints (if needed)
Round 4 -- Edge Cases (if needed)
Adapt questions based on previous answers. Skip rounds that aren't relevant.
After the Q&A, generate a structured PRD document:
# PRD: {Feature Name}
## Summary
{2-3 sentence description}
## User Stories
- As a {role}, I want {action} so that {benefit}
- ...
## Acceptance Criteria
- [ ] {Criterion with specific, testable condition}
- ...
## Technical Approach
- {Architecture decisions from the Q&A}
- {Data model changes}
- {API contracts}
## Out of Scope
- {What this does NOT include}
## Priority Order
1. {Data layer / models}
2. {Business logic / services}
3. {API / UI layer}
4. {Integration / E2E tests}
Save the PRD to docs/spec/biz/prd-{feature-slug}.md.
Present the PRD to the user for review. Incorporate feedback before proceeding.
Convert the PRD into task files in docs/spec/.llm/tasks/backlog/:
docs/spec/.llm/PROGRESS.md for codebase patternsdocs/spec/.llm/STRATEGY.md for existing decomposition.claude/rules/agent-guide.md for tech stackdocs/spec/.llm/templates/task.template.md## Dependencies: headers based on the dependency orderingdocs/spec/.llm/STRATEGY.md with the new tasksApply the 2-3 sentence test to every task. Examples:
| Good (right-sized) | Bad (too big) |
|---|---|
| Add user model and migration | Build user management |
| Create GET /users endpoint with tests | Implement the REST API |
| Add login form component | Build authentication |
If a task fails the test, split it immediately.
$ARGUMENTS