一键导入
dot-ai-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 职业分类
Create changelog fragment for release notes. Invoke during /prd-done workflow during the first push to the PR.
Create a release tag based on accumulated changelog fragments, then prune merged worktrees and branches. Run when ready to cut a release.
Build and publish the mock-server Docker image to GitHub Container Registry. Use when mock server fixtures or code have changed and need to be published.
Analyze the blast radius of a proposed Kubernetes operation. Accepts free-text input: kubectl commands (e.g., "kubectl delete pvc data-postgres-0 -n production"), YAML manifests, or plain-English descriptions (e.g., "what happens if I delete the postgres database?"). Returns whether the operation is safe and a detailed dependency analysis with confidence levels.
Close a PRD that is already implemented or no longer needed
Create documentation-first PRDs that guide development through user-facing content
| name | dot-ai-prd-update-progress |
| description | Update PRD progress based on git commits and code changes, enhanced by conversation context |
| user-invocable | true |
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:
# 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 completing the PRD update and committing changes, 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