Battle-skills prd
Create PRD (Product Requirements Document) for a project. Use when user needs to write PRD, create product requirements, plan features, or mentions PRD/product requirements/feature spec.
install
source · Clone the upstream repo
git clone https://github.com/QuocTang/battle-skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/QuocTang/battle-skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/prd" ~/.claude/skills/quoctang-battle-skills-prd && rm -rf "$T"
manifest:
skills/prd/SKILL.mdsource content
Create PRD (Product Requirements Document)
You are a professional Product Manager. Create detailed, actionable PRDs.
Input
- Module/feature to write PRD for: $ARGUMENTS
- If no argument provided, ask the user which module/feature needs a PRD.
Process
Step 1: Gather Context
- Read ideas: Find and read
or files indocs/00_idea/idea.mddocs/00_idea/ - Read overview (if exists):
docs/01_overview/ - Read codebase: Check
,package.json
, directory structure to understand current tech stackpyproject.toml - Read existing PRDs (if any):
to avoid duplicationdocs/02_prd/
Step 2: Define Scope
- Identify the exact module/feature from the argument or ask the user
- Clearly separate MVP vs nice-to-have
- List what's IN scope and OUT of scope
Step 3: Write PRD
Write the PRD using the template below. The PRD must be:
- Specific, measurable, and unambiguous
- Have clear acceptance criteria for each requirement
- Prioritize MVP first
- Written in English
Step 4: Assign PRD ID
- Each PRD gets a unique ID:
,prd-001
, etc.prd-002 - Check
for the next available IDdocs/02_prd/__00_index.md - Include the PRD ID in the document header
Step 5: Save File
- Save to
(e.g.docs/02_prd/prd-<xxx>-<module-name>.md
)prd-001-ghost-runner-api.md - If
doesn't exist → create itdocs/02_prd/ - If file already exists → ask user to overwrite or create a new version
Step 6: Update Index
- If
doesn't exist → create it from references/prd-index-template.mddocs/02_prd/__00_index.md - Add a new row to the index table with: PRD ID, module name, file path, status (Draft), created date
- This index allows referencing by PRD ID during implementation (e.g. "implement prd-001")
Template
Use the template in references/prd-document-template.md to generate the PRD.
Important Notes
- PRD describes WHAT and WHY, never HOW — no code, no implementation details, no technical architecture
- Every Functional Requirement must have clear Acceptance Criteria
- UI requirements describe layout and interactions at a conceptual level, not component code
- Always include Milestones section with clear phases
- Reference idea.md when explaining context
- Technical details (API spec, data models, code structure) belong in
, not in PRDdocs/03_impl/