| name | metta:next |
| description | Advance to the next step in the workflow |
| allowed-tools | ["Read","Write","Edit","Bash","Grep","Glob","Agent"] |
IMPORTANT: When using the Agent tool, use these metta agent types: metta-proposer (intent/spec), metta-researcher (research), metta-architect (design), metta-planner (tasks), metta-executor (implementation), metta-verifier (verification), metta-discovery (init). Do NOT use gsd-executor or general-purpose.
Automatically advance to whatever's next in the metta workflow.
Steps
metta next --json → returns the next action and command to run
- Execute the returned command
- If it returns an artifact to build: spawn a subagent with the right metta agent type (intent/spec→metta-proposer, research→metta-researcher, design→metta-architect, tasks→metta-planner, implementation→metta-executor, verification→metta-verifier) using
metta instructions and the agent execution pattern
- After completing:
metta next --json again to get the next step
- Repeat until all artifacts are done, then
METTA_SKILL=1 metta finalize
Rules
- Let the CLI drive —
metta next tells you what to do
- MUST call
METTA_SKILL=1 metta complete for each artifact
- Commit ownership: the orchestrator commits planning, review, and verification artifacts after each subagent returns. The executor subagent commits atomically per task during implementation. Planning-artifact subagents (proposer, researcher, architect, planner, product) write files only — they do not run git.
- If
metta next says "finalize", run /metta:ship to finalize and merge
- If
metta next says "ship", run /metta:ship (or the returned command) to merge the branch to main