بنقرة واحدة
aigon-feature-spec-revise
Revise feature spec after pending spec reviews — decide and acknowledge in one pass
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Revise feature spec after pending spec reviews — decide and acknowledge in one pass
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
Record or show a feature author handoff
Create feature <name> - creates spec in inbox
Record or show a research author handoff
Create research <name> - creates topic in inbox
Revise research spec after pending spec reviews — decide and acknowledge in one pass
Do feature <ID> - works in both Drive and Fleet modes
استنادا إلى تصنيف SOC المهني
| name | aigon-feature-spec-revise |
| description | Revise feature spec after pending spec reviews — decide and acknowledge in one pass |
You are the author-side agent. Review all pending spec-review: commits on the feature spec, decide what to keep, and land one acknowledgement commit.
The continuity strategy is selected by Aigon before launch. Do not choose a provider or resume strategy yourself. When resumed, reconcile remembered paths against the current checkout and emit the requested continuation ready/fallback checkpoint before editing.
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.
Find the latest acknowledgement, if any:
LAST_ACK=$(git log --follow --format=%H -n 1 --grep='^spec-review-check:' --grep='^spec-revise:' -- "$SPEC_PATH")
echo "last_ack=${LAST_ACK:-none}"
Then inspect pending reviews newer than that acknowledgement:
git log --follow --format='%H %s' -- "$SPEC_PATH"
Pending reviews are commits whose subject starts with spec-review: and are newer than LAST_ACK if LAST_ACK exists.
For every pending review commit:
git show <sha> -- "$SPEC_PATH"
git show -s --format=%B <sha>
Process all pending reviewers together. Your options are:
If you need changes, make them before the acknowledgement commit.
After the spec is in its final state, commit exactly once with:
git add "$SPEC_PATH"
git commit --allow-empty -m "spec-revise: feature $1 — <decision summary>" -m "reviewed: <comma-separated reviewer ids>
Decision:
- <accept|revert|modify summary>
Notes:
- <important rationale>"
aigon feature-spec-revise-record $1
If you reverted review commits, include that rationale in the acknowledgement commit body rather than creating a second ack commit.
Tell the user: