원클릭으로
workflow-abort
Abort a workflow — cleans up worktrees and branches, marks the workspace as aborted.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Abort a workflow — cleans up worktrees and branches, marks the workspace as aborted.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Finalize the workflow — squash commits into one clean commit, remove worktrees, and close the workspace.
Execute all planned tasks — creates per-task git worktrees, spawns implementer and reviewer agents in dependency order, aggregates results.
Break an approved design into atomic implementation tasks — creates dependency-ordered task specs ready for parallel agent execution.
Review completed implementation — runs final verification across all changes and presents results for user sign-off.
Convert discussion output into a validated design — reads captured requirements and presents architecture for iterative approval.
Kick off a new workflow by discussing requirements — asks clarifying questions, explores trade-offs, and captures decisions in a structured format.
| name | workflow-abort |
| description | Abort a workflow — cleans up worktrees and branches, marks the workspace as aborted. |
Clean up a stuck or unwanted workflow. Removes git worktrees and branches but preserves workspace files for reference.
The user invokes this as /workflow-abort {slug}.
$ARGUMENTS is empty, scan .workflow/*/ directories and list available workspaces.workflow/*/ for a folder matching the slug $ARGUMENTSSTATUS.yaml — can be any phase except completePresent the current state (phase, completed tasks, pending tasks) and ask:
"This will remove all worktrees and branches for {slug}. The workspace files (discussion, design, plan, reports) will be preserved. Continue?"
Wait for confirmation before proceeding.
Check for remaining task worktrees:
git worktree list
For each worktree under .workflow/{type}/{slug}/worktrees/task-*:
git worktree remove {TASK_WORKTREE} --force
git branch -D work/{type}/{slug}/task-{N}
If base_worktree exists in STATUS.yaml:
git worktree remove {BASE_WORKTREE} --force
git branch -D work/{type}/{slug}/base
rm -rf {WORKSPACE}/worktrees
phase: aborted
aborted: {ISO timestamp}
Remove base_worktree and task worktree keys (no longer valid).
## Workflow Aborted: {slug}
- Worktrees removed: {count}
- Branches deleted: {list}
- Workspace preserved at `.workflow/{type}/{slug}/`
--force for worktree removal — worktrees may have uncommitted changes-D for branch deletion — branches may not be fully merged-C for git commands — never use cd