How this command is triggered — by the user, by Claude, or both
Slash command
/metis:metis-decompose SHORT_CODE [--max-iterations N]This command is limited to the following tools:
The summary Claude sees in its command listing — used to decide when to auto-load this command
# Metis Decompose - Initiative to Tasks
## Step 1: Verify Initiative Exists
**BEFORE starting the Ralph loop**, you MUST verify the initiative exists.
Parse the SHORT_CODE from: `$ARGUMENTS`
Use `mcp__metis__read_document` to verify the initiative exists:
- `project_path`: Auto-detect by finding `.metis` directory (usually `$PWD/.metis` or parent)
- `short_code`: The SHORT_CODE from arguments (e.g., PROJ-I-0001)
**If the document is NOT found** (error response):
- Do NOT proceed with the loop
- Tell the user: "Initiative {SHORT_CODE} was not found. Please verify the short code is corre...BEFORE starting the Ralph loop, you MUST verify the initiative exists.
Parse the SHORT_CODE from: $ARGUMENTS
Use mcp__metis__read_document to verify the initiative exists:
project_path: Auto-detect by finding .metis directory (usually $PWD/.metis or parent)short_code: The SHORT_CODE from arguments (e.g., PROJ-I-0001)If the document is NOT found (error response):
mcp__metis__list_documents."If the document IS found, proceed to Step 2.
Only after successful verification, execute the setup script:
"${CLAUDE_PLUGIN_ROOT}/scripts/setup-metis-decompose.sh" $ARGUMENTS
You are now in a Metis Ralph loop for initiative decomposition. Follow these steps:
mcp__metis__transition_phase to transition the initiative to "decompose"mcp__metis__create_document to create each task under this initiativeWhen decomposition is FULLY complete:
<promise>DECOMPOSITION COMPLETE</promise> to signal ready for reviewThe loop will continue until you output the promise after completing decomposition.
npx claudepluginhub colliery-io/metis/pm-planDecomposes project into 5-level task hierarchy (Phases → Epics → Stories → Tasks → Micro-tasks, 5-15 min units), generating sequenced tasks.json and dependencies.json.
/create_tasksTransforms requirements into detailed actionable task lists with dependency analysis, sequential/parallel execution strategies, and adaptive research.
/decomposeLoads and executes Hypo-Workflow plan-decompose skill instructions, routing user arguments through the plan skill pipeline.
/spec-drivenDecomposes a compound request into deliverables, dependencies, and decision gates, then writes spec, plan, and result-check files.
/create-tasksGenerates actionable implementation tasks from product specs, architecture, and design documents in Groundwork projects.