skills/flow-reset/SKILL.md
Wipe `.flow-states/` on this machine in one pass. PRs, worktrees, and branches are NOT touched — those require per-flow `/flow:flow-abort`.
npx skillsauth add benkruger/flow flow-resetInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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.data-ai
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.
data-ai
Open a problem-statement conversation. Stays in discussion mode with PM as default voice; on user signal, files a vanilla What/Why/Acceptance Criteria issue against the current repo. Usage: /flow:flow-explore <topic>
tools
Display the FLOW skill catalog grouped by user role. Maintainer and Private buckets render only when invoked inside the FLOW plugin repo.
documentation
Phase 3: Review — six tenants assessed by four cognitively isolated agents (reviewer, pre-mortem, adversarial, documentation) launched in parallel. Parent session gathers context, triages findings, and fixes.