원클릭으로
aigon-feature-code-revise
Revise the current feature worktree after code review — decide accept/revert/modify
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Revise the current feature worktree after code review — decide accept/revert/modify
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Show Aigon commands
Close feature <ID> [agent] [--adopt] - merges branch, cleans up, optionally adopts from losers
Create feature <name> - creates spec in inbox
Evaluate feature <ID> - code review or comparison
Fast-track feature <name> - create + setup + implement in one step
Prioritise feature <name> - assigns ID, moves to backlog
| name | aigon-feature-code-revise |
| description | Revise the current feature worktree after code review — decide accept/revert/modify |
A reviewing agent has just committed fixes (or notes) on this feature branch. Your job — as the implementing agent — is to read what the reviewer did, then decide how to respond: accept, revert, or modify.
If the user already passed an explicit feature ID as the command argument, use that ID and skip to Step 1.
Otherwise — the primary path — infer the ID from the current branch. You should be running this inside the implementation worktree:
BRANCH=$(git branch --show-current)
echo "Branch: $BRANCH"
Expected branch shape: feature-<slug>-<agent> (e.g. feature-check-review-skill-command-cc).
Parse the <slug> out of the branch name (strip the feature- prefix and the trailing -<agent> suffix where agent is one of cc, cx, cu, op, km, am). Then resolve the slug to a feature ID by matching against aigon feature-list --active:
aigon feature-list --active
Find the row whose name matches the slug and read its ID.
If the branch is main or doesn't match the feature-<slug>-<agent> pattern: STOP. Print this one-liner and do nothing else:
Can't infer feature ID — run this inside the feature worktree, or pass an explicit ID (e.g.
aigon-feature-code-revise 230).
Do not guess. Do not prompt the user to pick from a list — that's noise. Just stop.
Before reading the review, signal that you are now actively addressing the code review. This makes the dashboard reflect what you're doing in real time, and emits a lifecycle event the AutoConductor uses to detect stalls.
aigon agent-status addressing-code-review
Look at every commit on this branch that came from a reviewer:
git log --oneline --grep='^fix(review)\|^docs(review)' main..HEAD
For broader context (your own implementation commits too), also run:
git log --oneline main..HEAD
If there are zero fix(review) / docs(review) commits, the review was clean — tell the user "Review found no fixes." and stop.
For each review commit, inspect the change:
git show <sha>
Understand what the reviewer changed and why. Pay attention to commit messages.
Open the implementation log and read the ## Code Review section the reviewer appended:
ls docs/specs/features/logs/feature-<resolved-id>-*-log.md
(There may be multiple log files for the feature — read the one matching your agent or the most recent one with a ## Code Review section.)
You are the author of this code. The reviewer's changes are suggestions. You have full authority to accept, modify, or revert any review commit.
Pick one of these three options. Be honest — your job is correctness, not deference.
git revert <sha> and commit with a revert(review): prefix explaining why. You own this code — if a review change is wrong, undo it.
git revert <sha> --no-edit
git commit --amend -m "revert(review): <what was wrong with the reviewer's change>"
fix(post-review): prefix:
git add <files>
git commit -m "fix(post-review): <what you changed and why>"
Tell the user:
After reporting your decision, signal that you have addressed the review feedback:
aigon agent-status revision-complete
This tells the AutoConductor that you are done processing the review. Do NOT run aigon-feature-close. The user (or AutoConductor) decides when to close the feature.