Skip to content
This repository was archived by the owner on Apr 11, 2026. It is now read-only.

Commit 446d52b

Browse files
z23ccclaude
andcommitted
chore: remove all deprecated skill references from docs [fn-16]
Clean up remaining "deprecated" annotations and stale references to deleted skills (plan, work, plan-review, impl-review, epic-review). CLAUDE.md, docs/skills.md, docs/CODEBASE_MAP.md, agents/worker.md now reference only flow-code-run as the primary entry point. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 4348dd9 commit 446d52b

4 files changed

Lines changed: 27 additions & 47 deletions

File tree

CLAUDE.md

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ hooks/hooks.json → Ralph workflow guards (active when FLOW_RALPH=1)
1818
docs/ → Architecture docs, CI examples
1919
```
2020

21-
**Skills**: 9 core + 22 extensions. See `docs/skills.md` for the full classification. Core workflow: `flow-code-run` (unified phase loop). Legacy individual skills (plan, plan-review, work, impl-review, epic-review) are deprecated but still functional as thin redirects.
21+
**Skills**: See `docs/skills.md` for the full classification. Core workflow: `flow-code-run` (unified phase loop via `flowctl phase next/done`).
2222

2323
**Key invariant**: The `bin/flowctl` Rust binary is the single source of truth for `.flow/` state. Always invoke as:
2424
```bash
@@ -28,14 +28,7 @@ $FLOWCTL <command>
2828

2929
## Primary Workflow
3030

31-
**Unified entry point** (preferred): `/flow-code:run "description"` — drives the entire pipeline (plan → plan-review → work → impl-review → close) via `flowctl phase next/done`. One command, zero manual phase transitions.
32-
33-
Individual phase commands (deprecated, still functional):
34-
1. `/flow-code:plan "description"` → creates epic + tasks in `.flow/`
35-
2. `/flow-code:plan-review` → Carmack-level review via RepoPrompt or Codex
36-
3. `/flow-code:work <epic-id>` → executes tasks with Teams mode (auto-parallel with file locking)
37-
4. `/flow-code:impl-review` → post-implementation review
38-
5. `/flow-code:epic-review` → final review before closing
31+
`/flow-code:run "description"` — drives the entire pipeline (plan → plan-review → work → impl-review → close) via `flowctl phase next/done`. One command, zero manual phase transitions.
3932

4033
Ralph (`/flow-code:ralph-init`) is the autonomous harness that runs this loop unattended.
4134

agents/worker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: worker
3-
description: Task implementation worker. Spawned by flow-code-work to implement a single task with fresh context. Do not invoke directly - use /flow-code:work instead.
3+
description: Task implementation worker. Spawned by flow-code-run during the work phase. Do not invoke directly - use /flow-code:run instead.
44
model: inherit
55
disallowedTools: Task
66
color: "#3B82F6"

docs/CODEBASE_MAP.md

Lines changed: 21 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -110,13 +110,9 @@ flow-code/
110110
│ ├── setup.md, sync.md, uninstall.md
111111
├── skills/ # 18 skill implementations
112112
│ ├── flow-code/ # Task CRUD via flowctl
113-
│ ├── flow-code-plan/ # SKILL.md + steps.md + examples.md
114-
│ ├── flow-code-work/ # SKILL.md + phases.md
113+
│ ├── flow-code-run/ # Unified pipeline entry point (phase loop)
115114
│ ├── flow-code-interview/ # SKILL.md + questions.md
116115
│ ├── flow-code-prime/ # SKILL.md + workflow.md + pillars.md + remediation.md
117-
│ ├── flow-code-impl-review/ # SKILL.md + workflow.md + flowctl-reference.md
118-
│ ├── flow-code-plan-review/ # SKILL.md + workflow.md + flowctl-reference.md
119-
│ ├── flow-code-epic-review/ # SKILL.md + workflow.md + flowctl-reference.md
120116
│ ├── flow-code-ralph-init/ # SKILL.md + templates/ (ralph.sh, config.env, prompts)
121117
│ ├── flow-code-auto-improve/ # SKILL.md + templates/ (auto-improve.sh, programs/)
122118
│ ├── flow-code-map/ # SKILL.md + scripts/scan-codebase.py
@@ -246,24 +242,21 @@ sequenceDiagram
246242
Interview->>flowctl: epic set-plan (refined spec)
247243
248244
Note over User,flowctl: Preferred: /flow-code:run fn-N (unified pipeline)
249-
Note over User,flowctl: Legacy individual commands (deprecated, still functional):
250-
User->>Plan: /flow-code:plan fn-N
251-
Plan->>Scouts: 7 scouts in parallel
252-
Scouts-->>Plan: patterns, docs, gaps, deps
253-
Plan->>flowctl: epic create + task create (with deps)
254-
255-
User->>Work: /flow-code:work fn-N
256-
loop Each ready task
257-
Work->>flowctl: start task
258-
Work->>Worker: spawn (fresh context)
259-
Worker->>flowctl: show + cat (re-anchor)
260-
Worker->>Worker: implement + test + commit
261-
Worker->>Review: impl-review (if enabled)
262-
Review-->>Worker: SHIP / NEEDS_WORK (fix loop)
263-
Worker->>flowctl: done (summary + evidence)
245+
User->>Run: /flow-code:run "description"
246+
loop flowctl phase next/done
247+
Run->>flowctl: phase next --epic fn-N --json
248+
flowctl-->>Run: {phase, prompt, all_done}
249+
alt phase = plan
250+
Run->>Scouts: research scouts in parallel
251+
Scouts-->>Run: patterns, docs, gaps
252+
Run->>flowctl: epic plan + task create
253+
else phase = work
254+
Run->>Worker: spawn workers (Teams + worktree)
255+
Worker->>flowctl: worker-phase next/done loop
256+
Worker->>flowctl: done (summary + evidence)
257+
end
258+
Run->>flowctl: phase done --epic fn-N --phase X
264259
end
265-
Work->>Review: epic-review (completion gate)
266-
Review-->>Work: SHIP
267260
```
268261

269262
### Ralph Autonomous Loop
@@ -279,13 +272,13 @@ sequenceDiagram
279272
280273
alt status = plan
281274
ralph.sh->>Claude: prompt_plan.md (new process)
282-
Claude->>Claude: /flow-code:plan-review (deprecated, handled by run pipeline)
275+
Claude->>Claude: /flow-code:run (plan phase)
283276
else status = work
284277
ralph.sh->>Claude: prompt_work.md (new process)
285-
Claude->>Claude: /flow-code:work + impl-review (deprecated, handled by run pipeline)
278+
Claude->>Claude: /flow-code:run (work phase)
286279
else status = completion_review
287280
ralph.sh->>Claude: prompt_completion.md (new process)
288-
Claude->>Claude: /flow-code:epic-review (deprecated, handled by run pipeline)
281+
Claude->>Claude: /flow-code:run (close phase)
289282
end
290283
291284
Claude-->>ralph.sh: exit (verdict in log)
@@ -342,9 +335,9 @@ sequenceDiagram
342335

343336
**To add a new command**: Create `commands/flow-code/<name>.md` (thin stub) + `skills/flow-code-<name>/SKILL.md`
344337
**To add a new agent**: Create `agents/<name>.md` with frontmatter (name, description, model, disallowedTools)
345-
**To add a new scout to planning**: Add to the parallel scout list in `skills/flow-code-plan/steps.md` Step 1
338+
**To add a new scout to planning**: Add to the scout dispatch in `skills/flow-code-run/SKILL.md` plan phase
346339
**To add a new prime pillar**: Add criteria to `skills/flow-code-prime/pillars.md`, remediation to `remediation.md`
347340
**To modify Ralph loop**: Edit `skills/flow-code-ralph-init/templates/ralph.sh` (canonical source)
348341
**To modify auto-improve loop**: Edit `skills/flow-code-auto-improve/templates/auto-improve.sh`
349-
**To add a review backend**: Add to impl-review, plan-review, and epic-review workflow.md files
350-
**To change task state machine**: Modify `scripts/flowctl/commands/workflow.py` (state transitions) or `scripts/flowctl/core/state.py` (state storage)
342+
**To add a review backend**: Add to `flowctl review-backend` and the review phase in `skills/flow-code-run/SKILL.md`
343+
**To change task state machine**: Modify `flowctl/crates/flowctl-core/src/state_machine.rs`

docs/skills.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,14 @@
22

33
Skills are organized into **core** (essential workflow) and **extensions** (optional capabilities).
44

5-
## Core Skills (9)
5+
## Core Skills (4)
66

7-
These skills form the primary plan-execute-review workflow. They ship with the plugin.
7+
These skills form the primary workflow. They ship with the plugin.
88

99
| Skill | Command | Purpose |
1010
|-------|---------|---------|
1111
| `flow-code-run` | `/flow-code:run` | **Primary entry point** — unified phase loop (plan → review → work → close) |
1212
| `flow-code` | `/flow-code` | Task/epic management entry point (list, create, status) |
13-
| `flow-code-plan` | `/flow-code:plan` | Create structured build plans (deprecated — use `run`) |
14-
| `flow-code-work` | `/flow-code:work` | Execute plans with Teams mode (deprecated — use `run`) |
15-
| `flow-code-plan-review` | `/flow-code:plan-review` | Carmack-level plan review (deprecated — use `run`) |
16-
| `flow-code-impl-review` | `/flow-code:impl-review` | Post-implementation code review (deprecated — use `run`) |
17-
| `flow-code-epic-review` | `/flow-code:epic-review` | Final review before closing (deprecated — use `run`) |
1813
| `flow-code-setup` | `/flow-code:setup` | Install flowctl CLI and configure project |
1914
| `flow-code-map` | `/flow-code:map` | Generate codebase architecture maps |
2015

@@ -67,5 +62,4 @@ For a new project:
6762
2. `/flow-code:prime` — assess codebase readiness
6863
3. `/flow-code:run "description"` — plan, review, execute, and close (all-in-one)
6964

70-
Legacy individual commands (deprecated, still functional):
71-
3a. `/flow-code:plan "description"` → 4. `/flow-code:plan-review` → 5. `/flow-code:work <epic-id>` → 6. `/flow-code:impl-review` → 7. `/flow-code:epic-review`
65+
That's it — `/flow-code:run` handles the full plan → review → work → review → close pipeline.

0 commit comments

Comments
 (0)