← ClaudeAtlas

cf-planlisted

Brainstorm and write an implementation plan before coding. TRIGGER — the user wants to plan, build, create, or implement something: "let's build", "let's create", "add feature", "implement", "set up", "design a solution", "architect", "scaffold", "plan out", "what's the best way to build"; any multi-step or multi-file work that needs sequencing. SKIP — a single obvious edit, a reported bug (use cf-fix), deciding whether to build at all (use /cf-advise), or resuming an existing plan (use /cf-plan-resume).
dinhanhthi/coding-friend · ★ 3 · AI & Automation · score 79
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