一键导入
issue-update-progress
Post a structured checkpoint comment to the relevant issue and commit current code state
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Post a structured checkpoint comment to the relevant issue and commit current code state
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Draft, polish, and create a well-formed GitHub issue with required structure
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
Complete PRD implementation workflow - create branch, push changes, create PR, merge, and close issue
| name | issue-update-progress |
| description | Post a structured checkpoint comment to the relevant issue and commit current code state |
| category | project-management |
You are helping save progress on active issue work. This command synthesizes what got done and what comes next from conversation context and git history, proposes a structured checkpoint comment for the relevant GitHub issue, and commits the current code state.
The following format is the contract that /issue-next reads. Document it exactly — /issue-next matches the literal string ## Progress Checkpoint at the start of a comment body and parses the fields by name.
## Progress Checkpoint
**Branch**: `feature/<numbers>-<description>`
**Done**:
- [bullet per completed item since last checkpoint]
**Next step**: [one concrete next action]
**Open questions** (optional):
- [question if any]
The comment is posted with gh issue comment <number> --body "...". The most recent comment whose body begins with ## Progress Checkpoint is what /issue-next reads.
git branch --show-current
Extract issue numbers from the branch name. Branch format: feature/<numbers>-<description> where <numbers> is a hyphen-separated list of issue numbers (e.g., feature/98-101-autonomous-issue-execution → issues 98 and 101).
If the branch contains only one issue number, that is the relevant issue. Proceed to Step 3.
If the branch contains multiple issue numbers, ask the user: "Which issue is this checkpoint most relevant to?" Do NOT post to all issues in the set — post to the relevant issue only.
Wait for the user's answer before proceeding.
Use conversation context first — look for recently discussed completions, implemented features, file creation mentions, test completions, and user confirmations ("that works", "done", "ready for next").
Fall back to git log if conversation context is insufficient:
git log --oneline -10
From the gathered context, derive:
Compose the full checkpoint comment body using the format from the "Checkpoint Comment Format" section above.
Then proceed to Step 3.5 to check for divergences before posting.
Scan the conversation and git log for divergences between what the issue describes and what was actually implemented:
If divergences are found, add a brief note to the checkpoint comment's Open questions section before posting. If a divergence is significant (approach changed, acceptance criterion no longer applies), surface it explicitly after posting: "The implementation diverged from the issue in [X way]. Consider running /issue-update-decisions to capture this before clearing context."
If no divergences are found, proceed to Step 4.
Post the checkpoint comment to the relevant issue:
gh issue comment <number> --body "<checkpoint comment>"
Output the comment URL after posting.
Before committing, check if PROGRESS.md exists in the repository root. If it does, add a feature-level entry under ## [Unreleased] using the appropriate category (### Added, ### Changed, ### Fixed). Entry format: - (YYYY-MM-DD) [description of what changed and why, written for an external reader]. Stage PROGRESS.md with the rest of the commit.
Stage all working changes and commit:
git add .
git status
git commit -m "feat(<scope>): <brief description of completed work>
- [brief list of key implementation achievements]"
The commit message describes what changed in code. The checkpoint comment (Step 4) describes work state. Both are needed.
Note: Do NOT push commits unless explicitly requested by the user.
Output:
After committing, run a local CodeRabbit CLI review to catch issues before they accumulate.
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."
Handle findings:
Assess whether any design decisions emerged during this session — architecture changes, scope adjustments, technical discoveries, or approach pivots. If any did, run /issue-update-decisions to capture them before moving on. This ensures decisions are recorded and propagated to downstream issues and PRDs while context is fresh.
The next AI instance reads the issue and git log 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 issue body 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 issue body, a code TODO, or a GitHub issue before /clear. Create it now if it doesn't.
Next task's entry point — Read the "Next step" field in the checkpoint comment just posted. Could a cold AI instance start it with only the issue body, the checkpoint comment, and the codebase? If the next step 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 issue body now via gh issue edit.
Workarounds and gotchas — Scan this conversation for tooling quirks, failed approaches, or non-obvious constraints. For each one not yet in a rule file, issue comment, or code comment, write it there now.
Step 9 is done when all five actions are complete, not when they have been assessed.
Progress checkpoint posted and committed.
To resume this work in a fresh session:
/issue-next to reconstruct context from the checkpoint comment and git log