一键导入
prd-update-progress
Update PRD progress based on git commits and code changes, enhanced by conversation context
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Update PRD progress based on git commits and code changes, enhanced by conversation context
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Draft, polish, and create a well-formed GitHub issue with required structure
Post a structured checkpoint comment to the relevant issue and commit current code state
Close out issue work - ensure PR exists, run the full CodeRabbit + /code-review gate, merge, close all issues in the working set, clean branches, and update PROGRESS.md
Fresh session pickup using the most recent checkpoint comment and git log — reconstructs working context for active issue work
Recommend juggling pairs, user decides, create correctly-named branch for issue work
Update the active issue with a design decision and cascade impact to all open issues and PRDs
| name | prd-update-progress |
| description | Update PRD progress based on git commits and code changes, enhanced by conversation context |
| category | project-management |
You are helping update an existing Product Requirements Document (PRD) based on implementation work completed. This command analyzes git commits and code changes, enhanced by conversation context, to track PRD completion progress and propose evidence-based updates.
Automatically detect target PRD using conversation context:
prds/ directoryDetection Priority Order:
PRIORITY: Use conversation context first before Git analysis
If recent conversation shows clear work completion:
Use conversation context when available - it's faster and more accurate than Git parsing
Only use git tools when conversation context is insufficient:
# Get recent commits (last 10-20 commits)
git log --oneline -n 20
# Get detailed changes since last PRD update
git log --since="1 week ago" --pretty=format:"%h %an %ad %s" --date=short
# See what files were modified recently
git diff --name-status HEAD~10..HEAD
# Get specific changes in key directories
git diff --stat HEAD~10..HEAD
Identify different types of changes:
MUST perform this step to avoid missing requirements:
Scan ALL unchecked items in the PRD using grep or search
Categorize each unchecked requirement by type:
Map git changes to appropriate categories only
Be conservative - only mark items complete with direct evidence
Implementation Requirements - Mark complete when:
Documentation Requirements - Mark complete when:
Validation Requirements - Mark complete when:
Launch Activities - Mark complete when:
DO NOT mark complete unless there is direct evidence:
Systematically identify:
Present a comprehensive breakdown:
## PRD Progress Analysis: [PRD Name]
### ✅ COMPLETED (with evidence):
**Implementation** (X/Y items):
- [x] Item name - Evidence: specific files/changes
- [x] Item name - Evidence: specific files/changes
**Documentation** (X/Y items):
- [x] Item name - Evidence: docs created, examples tested
- [x] Item name - Evidence: cross-references verified
### ⏳ REMAINING WORK:
**Validation** (X items unchecked):
- [ ] Item name - Reason: needs manual testing/validation
- [ ] Item name - Reason: examples not tested
**User Acceptance** (X items unchecked):
- [ ] Item name - Reason: no cross-client testing done
- [ ] Item name - Reason: no user feedback collected
**Launch Activities** (X items unchecked):
- [ ] Item name - Reason: team not trained
- [ ] Item name - Reason: not deployed to production
**Success Metrics** (X items unchecked):
- [ ] Item name - Reason: no usage data available
- [ ] Item name - Reason: adoption not measured
### 🎯 COMPLETION STATUS:
- **Overall Progress**: X% complete (Y of Z total items)
- **Implementation Phase**: 100% complete ✅
- **Validation Phase**: X% complete (what's missing)
- **Launch Phase**: X% complete (what's missing)
ONLY suggest marking items complete when you have direct evidence. CLEARLY list what still needs to be done. DO NOT claim "everything is done" unless ALL items are truly complete.
Flag when actual implementation differs from planned approach:
Suggest PRD updates when divergences are found:
Present proposed changes clearly with complete transparency:
Critical Requirements:
Wait for user confirmation before making changes, and handle:
When applying updates:
When updating PRDs based on implementation progress:
CRITICAL: Always check if code examples in PRD match current implementation
After successfully updating the PRD, commit all changes to preserve the progress checkpoint:
Before staging and committing, check if PROGRESS.md exists in the repository root. If it does, append feature-level entries describing the work completed:
PROGRESS.md in the repository root## [Unreleased] using the appropriate category:
### Added — new features or capabilities### Changed — modifications to existing behavior### Fixed — bug fixes(YYYY-MM-DD) format, then describe at feature level, not file level
/prd-start".claude/skills/prd-start/SKILL.md"# MANDATORY: Stage ALL files - implementation work AND PRD updates together
# DO NOT selectively add only PRD files - commit everything as one atomic unit
git add .
# Verify what will be committed
git status
# Create comprehensive commit with PRD reference
git commit -m "feat(prd-X): implement [brief description of completed work]
- [Brief list of key implementation achievements]
- Updated PRD checkboxes for completed items
Progress: X% complete - [next major milestone]"
prd-X in commit messageNote: Do NOT push commits unless explicitly requested by the user. Commits preserve local progress checkpoints without affecting remote branches.
After committing, run a local CodeRabbit CLI review to catch issues before they accumulate across milestones. This replaces the push-time review with a milestone-time review — same coverage, better timing.
# Run CodeRabbit CLI review against the full feature branch diff
# NOTE: Start with `coderabbit` so it matches Bash(coderabbit *) allowlist.
# Do NOT use BASE_BRANCH=$(...) — subshell parens break Bash(...) permission patterns.
coderabbit review --plain --type committed --base origin/main
If coderabbit is not installed, skip this step with a note: "CodeRabbit CLI not installed — skipping local review."
If this work is part of a PRD, assess whether any design decisions emerged during this implementation session — architecture changes, scope adjustments, technical discoveries, or approach pivots. If any did, run /prd-update-decisions to capture them before moving on. This ensures decisions are recorded and propagated to downstream milestones while context is fresh.
The next AI instance reads the PRD cold — no memory of this session. Before suggesting /clear, complete each of the following. This step is not a self-assessment; it is work.
Decisions — Scan this conversation for non-obvious choices: pivots, rejected alternatives, constraints discovered mid-implementation. For each one not yet in the PRD decision log or a code comment, write it there now.
PROGRESS.md — Check PROGRESS.md. If today's changes aren't reflected, add the entry now.
Open questions — Scan this conversation for anything deferred or unresolved. Each must exist in the PRD, a code TODO, or a GitHub issue before /clear. Create it now if it doesn't.
Next task's entry point — Read the next unchecked PRD milestone. Could a cold AI instance start it with only the PRD and the codebase? If the milestone relies on context from this session — an approach to avoid, an API quirk, a file that must be read first — add that context to the milestone description now.
Workarounds and gotchas — Scan this conversation for tooling quirks, failed approaches, or non-obvious constraints. For each one not yet in a rule file, PRD comment, or code comment, write it there now.
Step 8.9 is done when all five actions are complete, not when they have been assessed.
After completing the PRD update, committing changes, and addressing any CodeRabbit findings, guide the user based on completion status:
PRD progress updated and committed.
To continue working on this PRD:
/prd-next to get the next taskPRD #X is complete!
To finalize:
/prd-done to move the PRD to the done folder and close the GitHub issue