بنقرة واحدة
aigon-feature-cleanup
Cleanup feature <ID> [--push] - remove all worktrees and branches
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Cleanup feature <ID> [--push] - remove all worktrees and branches
التثبيت باستخدام 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-cleanup |
| description | Cleanup feature <ID> [--push] - remove all worktrees and branches |
Remove all worktrees and branches for a feature. Useful after completing a Fleet run or when canceling a feature.
# Delete worktrees and local branches
aigon feature-cleanup $1
# Push branches to origin before deleting
aigon feature-cleanup $1 --push
If no ID is provided, or the ID doesn't match an existing feature:
aigon feature-list --activeThis command removes:
../feature-55-cc-desc, ../feature-55-gg-desc)Use --push to preserve branches on the remote before deleting locally:
aigon feature-cleanup 55 --push
This will:
originWithout --push, branches are only deleted locally.
After running aigon feature-close 55 <agent> to merge the winning implementation, clean up the losing implementations:
aigon feature-cleanup 55
If you want to abandon a feature that was set up in Fleet mode:
aigon feature-cleanup 55 --push # Preserve work on remote
# or
aigon feature-cleanup 55 # Delete everything
--push if you want to preserve the work on the remote repositoryfeature-<ID>-*docs/specs/features/ are NOT deleted