원클릭으로
aigon-feature-spec-review
Review feature spec <ID> - improve the spec itself before implementation
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Review feature spec <ID> - improve the spec itself before implementation
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Revise the current feature worktree after code review — decide accept/revert/modify
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
| name | aigon-feature-spec-review |
| description | Review feature spec <ID> - improve the spec itself before implementation |
Review the feature spec itself, not the code. Edit the spec in place using the shared rubric below, then commit the reviewed spec with a spec-review: commit.
Your job: WRITE a review of this spec. That means reading it, making targeted edits in place, and creating one spec-review: commit that records your findings. You are the reviewer. Do not check for or process anyone else's reviews — that is a separate downstream task (feature-spec-revise) and is not what you are doing here.
If git log shows no prior spec-review: commits on this spec, that is expected — your review will be the first. Do not exit with "no pending reviews"; that would be the check workflow, not this one.
You are already inside the spec-review task for this feature.
aigon feature-spec-review $1 again.aigon feature-spec-revise $1 — that is a different command for a later stage, run by the feature author after reviewers have completed their review. It is not your job here.spec-review: commit and run aigon feature-spec-review-record $1.SPEC_PATH=$(aigon feature-spec $1 2>/dev/null || true)
if [ -z "$SPEC_PATH" ]; then
SPEC_PATH=$(find docs/specs/features -maxdepth 2 \( -name "feature-$1-*.md" -o -name "feature-$1.md" \) | head -1)
fi
test -n "$SPEC_PATH" && echo "$SPEC_PATH"
If SPEC_PATH is empty, stop and report that the feature spec could not be resolved.
Read the spec before editing:
cat "$SPEC_PATH"
If the spec frontmatter has a research: field, read the linked findings before reviewing — the spec is supposed to be grounded in those conclusions. Evaluate whether the acceptance criteria and technical approach reflect what the research actually surfaced. Skip when no research: field is present.
RESEARCH_IDS=$(awk '/^---[[:space:]]*$/{f=!f;next} f && /^research:/{
sub(/^research:[[:space:]]*/,"")
gsub(/[\[\]]/,"")
gsub(/,/," ")
print
}' "$SPEC_PATH")
if [ -n "$RESEARCH_IDS" ]; then
for ID in $RESEARCH_IDS; do
echo "=== Research $ID findings ==="
for f in docs/specs/research-topics/logs/research-${ID}-*-findings.md; do
[ -e "$f" ] || continue
echo "--- $f ---"
cat "$f"
done
done
else
echo "(no research linked — skipping)"
fi
Review the spec against this checklist. Prefer small, targeted edits over broad rewrites.
complexity: matches the spec's actual scope + risk + judgment-load using the rubric (low / medium / high / very-high).
recommended_models: YAML (or per-agent model/effort keys) from frontmatter if present — specs must not embed model IDs; defaults come from the agent's complexity-defaults table at start time.spec-review: commit as other edits.SPEC_PATH.AIGON_AGENT_ID before committing.spec-review: feature ... format below.aigon feature-spec-review-record $1.Before committing, confirm the reviewer identity is available. Dashboard/tmux launches
set AIGON_AGENT_ID before the agent starts; direct slash-command use inside an
already-running agent may need to derive it from the current agent process:
if [ -z "${AIGON_AGENT_ID:-}" ]; then
AIGON_AGENT_ID=$(aigon agent-context --id-only 2>/dev/null || true)
export AIGON_AGENT_ID
fi
test -n "${AIGON_AGENT_ID:-}" || { echo "AIGON_AGENT_ID is required for spec-review commits"; exit 1; }
Commit exactly once after your spec edits:
git add "$SPEC_PATH"
git commit -m "spec-review: feature $1 — <summary>" -m "Reviewer: ${AIGON_AGENT_ID}
Summary:
- <high-level summary>
Strengths:
- <what was already strong>
Gaps:
- <what you tightened or clarified>
Risky decisions:
- <scope or architectural risks, or 'None'>
Suggested edits:
- <notable edits you made>"
aigon feature-spec-review-record $1
aigon feature-spec-review $1 from inside this taskaigon feature-spec-revise $1 or aigon feature-spec-revise-record $1 — that is the next stage, not this onespec-revise: commit (even --allow-empty) — that commit belongs to the revise stagespec-review: commitfeature-spec-review-record succeedsTell the user what you changed and why.
Then, as the last line of your reply, print the following as a literal suggestion for the user to run next — do not execute it yourself:
aigon-feature-spec-revise $1