بنقرة واحدة
aigon-feature-do
Do feature <ID> - works in both Drive and Fleet modes
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Do feature <ID> - works in both Drive and Fleet modes
التثبيت باستخدام 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-do |
| description | Do feature <ID> - works in both Drive and Fleet modes |
RUN THIS FIRST — no preamble, no --help, no file searches:
aigon feature-do $1This prints the feature spec inline. Read the output, then follow the steps below. Do NOT search for spec files, do NOT run
aigon --help, do NOT hunt for theaigonsource. Just run the command above.
Implement a feature. Works in Drive mode (branch), Drive worktree, and Fleet mode (competition).
Worktree invariant: you are already inside the correct repo. If
aigonfails, read the error — do NOT try to introspect the tool's internals.
If no ID is provided or it doesn't match an active feature, run aigon feature-list --active, filter to matches, and ask the user which one.
aigon feature-do $1
Only run aigon-feature-start $1 if the feature branch/worktree does not exist yet.
To run in Autopilot mode — iterate loop where a fresh agent session is spawned each iteration until validation passes:
aigon feature-do {{ARG1_SYNTAX}} --iterate
Optional flags: --max-iterations=N (default 5) · --agent=<id> · --dry-run
What is iterate mode? The iterate technique runs an agent in a loop: implement → validate → if fail, repeat with fresh context until success or max iterations. Add a
## Validationsection to your feature spec to define feature-specific checks alongside project-level validation.
If the CLI fails with "Could not find feature in in-progress" and you're in a worktree: the spec move was likely not committed before the worktree was created. Fix by running these commands from the worktree:
SPEC_PATH=$(aigon feature-spec {{ARG1_SYNTAX}})
git checkout main -- "$SPEC_PATH"
git commit -m "chore: sync spec to worktree branch"
The spec body was printed inline by feature-do above. Use that copy. Do not re-read from disk and do not re-run aigon feature-spec — the inline copy is authoritative.
Skip plan mode — implement directly.
{{SET_CONTEXT_SECTION}}
{{RESEARCH_CONTEXT_SECTION}}
{{PLANNING_CONTEXT_SECTION}}
Signal that you are starting (shell command only — do not write .aigon/state/ files directly):
aigon agent-status implementing
TIME BUDGET: under 10 minutes.
git add -A && git commit -m "wip: <what you just did>". Never more than 2 minutes of uncommitted work.AGENTS.md, README.md, etc.) for which commands are which.Scope guardrails — read before editing:
Stage and commit using conventional commits (feat:, fix:, chore:). Verify with git log --oneline -1.
Project-specific steps? Check your root instructions file (e.g. AGENTS.md) for test commands.
Generate a Manual Testing Checklist: re-read the spec Acceptance Criteria and write a numbered list of concrete, human-executable steps to verify each criterion. Present the checklist in your response before stopping.
If changes add modules, alter repo structure, or introduce new patterns, update AGENTS.md and/or docs/architecture.md before committing. Cross-repo changes to @aigon/pro: note both sides. Docs ship with the code.
Write and commit the log before calling aigon agent-status implementation-complete. Run aigon feature-do {{ARG1_SYNTAX}} once from the checkout where you implement — the CLI prints your mode.
./docs/specs/features/logs/feature-{{ARG1_SYNTAX}}-*-log.md targeting 200–400 words, then commit it.…-<agent>-… worktree folder): no log — do not create docs/specs/features/logs/ files. Go to Step 5 (aigon agent-status implementation-complete).Override defaults with "logging_level": "fleet-only" | "always" | "never" in .aigon/config.json (Codex inlines prompts from cwd at launch and follows the same rules).
After committing, run immediately:
aigon agent-status implementation-complete
Hard rules:
feature-close or other commands.fix: unblock agent-status gate — <one-line description>, and retry. Document the fix in your implementation log.After it succeeds, tell the user: "Implementation complete — ready for review."
STAY in the session. If the user requests changes, make them, commit, and say "Changes committed."
Do not run feature-close or feature-eval — that's the user's decision. In Drive mode the recommended next command is aigon-feature-close <ID>; in worktree/Fleet modes, wait for the user.