一键导入
flow-reset
Wipe `.flow-states/` on this machine in one pass. PRs, worktrees, and branches are NOT touched — those require per-flow `/flow:flow-abort`.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Wipe `.flow-states/` on this machine in one pass. PRs, worktrees, and branches are NOT touched — those require per-flow `/flow:flow-abort`.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Release a new version of the FLOW plugin. Bumps version in plugin.json and marketplace.json, commits, tags, pushes, and creates a GitHub Release.
Abort the current FLOW feature. Closes the PR, deletes the remote branch, removes the worktree, and deletes the state file. Available from any phase. The confirmation prompt is governed by the skills.flow-abort config in the state file.
Phase 2: Code — execute plan tasks one at a time with TDD. Review diff before each commit. bin/flow ci must pass before moving to the next task. Project architecture standards enforced.
Review the full diff, then git add + commit + push. Use at every commit checkpoint in the FLOW workflow.
Phase 4: Complete — merge the PR, remove the worktree, and delete the state file. Final phase.
Clear the autonomous-flow halt set when the user spoke mid-flow. Invokes `bin/flow clear-halt` so the next assistant turn resumes execution. User-only: the model cannot invoke this skill.
| name | flow-reset |
| description | Wipe `.flow-states/` on this machine in one pass. PRs, worktrees, and branches are NOT touched — those require per-flow `/flow:flow-abort`. |
Wipe .flow-states/ on this machine in one pass. Use when abandoned
features have left orphaned state directories that the per-feature
/flow:flow-abort cannot reach. PRs, worktrees, and branches are
NOT touched — those require per-flow /flow:flow-abort invoked
against each branch separately before reset.
The skill is a thin wrapper around the bin/flow reset subcommand,
which exec's a shell script that resolves the main repo root via
git rev-parse --git-common-dir so it works from any cwd in the
repo tree (including linked worktrees) and removes .flow-states/
via rm -rf.
This is destructive and irreversible — for .flow-states/ only. PRs,
worktrees, and branches stay untouched. Use AskUserQuestion:
"Wipe
.flow-states/? This removes local FLOW state for every flow on this machine. PRs, worktrees, and branches are NOT touched. For per-flow GitHub cleanup, run/flow:flow-abort <branch>separately first."
- Yes, wipe
.flow-states/- No, cancel
If cancelled, stop.
${CLAUDE_PLUGIN_ROOT}/bin/flow reset
If the script exits 0, print:
```text
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✓ FLOW Reset — Complete
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
```
If the script exits non-zero, surface the stderr to the user so they can investigate. The script's only failure modes are filesystem errors (permissions, busy file) and the safety check that refuses to operate at the filesystem root.
/flow:flow-abort <branch> separately before reset.