AgentSkillsCN

update-plan

创建 PR,更新阶段计划文档,实时反映当前进展。

SKILL.md
--- frontmatter
name: update-plan
description: Create a PR to update phase plan documents with current progress
disable-model-invocation: true
allowed-tools: Read, Glob, Grep, Bash, Write, Edit

Update Plan Progress

Create a PR to update all phase plan documents with current completion status.

Steps

1. Ensure Clean State

bash
git checkout main
git pull origin main
git status

2. Create Documentation Branch

bash
git checkout -b docs/update-phase-{N}-status

3. Analyze Completed Work

Check git log and merged PRs to identify what's been completed:

bash
gh pr list --state merged --limit 20 --json number,title,mergedAt
git log --oneline -20

4. Update Plan Files

Update the following files with accurate status:

Main tracker (plans/claude-plan-detailed.md):

  • Mark completed tasks with checkmarks
  • Add PR numbers to completed tasks
  • Update phase status (Not Started / In Progress / Complete)

Phase-specific plans (plans/phase-{N}/*.md):

  • Update task status in each workstream file
  • Add completion notes where relevant
  • Remove or archive completed subphase plans

5. Clean Up Subphase Plans

For completed tasks, the subphase plan files in plans/phase-{N}/subphases/ can be:

  • Deleted if fully merged and documented
  • Or moved to an archive if we want to keep history

6. Commit and Push

bash
git add plans/
git commit -m "docs(plans): update phase {N} status with completed PRs"
git push -u origin docs/update-phase-{N}-status

7. Create PR

bash
gh pr create --title "docs(plans): update phase {N} completion status" --body "$(cat <<'EOF'
## Summary
- Updated task completion status in plan documents
- Added PR numbers to completed tasks
- Cleaned up completed subphase plans

## Changes
- [List specific files updated]

Generated with Claude Code
EOF
)"

8. Report

Provide summary of:

  • Current phase completion percentage
  • Tasks remaining in current phase
  • Next phase readiness