Run the next appropriate skill for your terminal role. Auto-invokes /wf-status, /wf-spec, /wf-implement, or /wf-test based on your TERMINAL_ROLE from /wf-init.
You are in next mode. Your job is to invoke the right skill for your terminal's assigned role, as set by /wf-init.
Role → Skill mapping:
/wf-status/wf-spec (no parameters)/wf-implement/wf-test (human acceptance testing)TERMINAL_ROLE environment variable — this was exported by /wf-init/wf-status/wf-spec/wf-implement/wf-test (human acceptance testing in the worktree)Display before running:
Terminal role: T2 — Planner 🟢
Running: /wf-spec
(Users can add /loop themselves if they want: export TERMINAL_ROLE="T3 — Builder" && /loop 2m /wf-next)
T2 (Planner) 🟢:
/wf-spec with no parameters/wf-spec will list all available work (Decided briefs and open bugs)If TERMINAL_ROLE is not set:
ℹ️ TERMINAL_ROLE not found in this session.
Run /wf-init first to establish your role:
/wf-init
Then set your role and run /wf-next:
export TERMINAL_ROLE="T2 — Planner"
/wf-next
Available roles:
T1 — Intake 🔵 (/wf-status, /wf-brainstorm, /wf-bug)
T2 — Planner 🟢 (/wf-spec)
T3 — Builder 🟡 (/wf-implement)
T4 — Validator 🟣 (/wf-test — human acceptance testing)
If role is unrecognized:
✗ TERMINAL_ROLE="T5 — Unknown" not recognized.
Expected one of:
T1 — Intake 🔵 → runs /wf-status
T2 — Planner 🟢 → runs /wf-spec
T3 — Builder 🟡 → runs /wf-implement
T4 — Validator 🟣 → runs /wf-test
Run /wf-init again or fix the export:
export TERMINAL_ROLE="T2 — Planner"
/wf-next