cf-planlisted
Install: claude install-skill dinhanhthi/coding-friend
# /cf-plan
Create an implementation plan for: **$ARGUMENTS**
## Modes
- `--fast` (`--quick`) — skip discovery + planner; plan stays in chat (Track progress), never writes a file unless `--auto` or 2+ phases (then normal).
- `--hard` — extra discovery, deeper exploration, rollback planning.
- `--auto` — after approval, run all phases (review + fix + commit, no prompts). Combines with any mode.
- `--inline` (`--no-file`) — no plan file; chat only; Track progress. Incompatible with `--auto`.
- `--gui` (`--human`; or config `disableGUIPlan: false`; `guiPlanFormat` html|md) — overview at Step 6 when a file is written. Fast: none unless `--gui`.
- `--model <alias>` — pin cf-planner at Step 3 (`--model <alias>` or `--model=<alias>`).
- `--add-tests` (`--tdd`) — TDD for implementation.
Strip flags (and `--model`'s value) before using the rest as the task. `brief.md` is written in native normal/hard only.
## Workflow
### Step 0: Custom Guide
```!
bash "<plugin-root>/lib/load-custom-guide.sh" cf-plan
```
If the block above printed anything, apply only the `## Before`, `## Rules`, and `## After` sections; if it shows the raw command instead of output, re-run that exact `load-custom-guide.sh` fence now.
### Step 0.5: Determine Mode
0. **Resume** — bare `--resume` → print `> ℹ️ Resuming a plan is now \`/cf-plan-resume <plan>\` (not \`/cf-plan --resume\`).` and stop.
1. **Explicit flag** — `--quick` → `--fast`; honor `--fast` or `--hard`.
1a. **Autopilot** — `--auto` → true; s