From haiku
Creates composite intents that run stages from multiple studios (e.g., software + marketing) in parallel with user-defined sync points. Use for multi-domain coordination like product launches or feature+docs.
npx claudepluginhub gigsmart/haiku-method --plugin haikuThis skill is limited to using the following tools:
`haiku:composite` — Create a composite intent combining stages from multiple studios.
Advances H·AI·K·U intents through stages via orchestrator loop: call haiku_run_next, execute actions like start_stage or decompose, repeat until done. Invoke with /haiku:resume [slug].
Guides design of composable agentic primitives like Classify, Plan, Build for SDLC workflows. Maps problem classes (chore, bug, feature) to reusable compositions with validation gates.
Coordinates multi-project initiative planning across services and repositories. Collects context, defines boundaries, analyzes dependencies, and spawns sub-agents for detailed plans.
Share bugs, ideas, or general feedback.
haiku:composite — Create a composite intent combining stages from multiple studios.
/haiku:composite [description]
User-facing command — Creates an intent that runs stages from 2+ studios in parallel with sync points. Use this when work spans multiple domains that need coordinated delivery.
Examples:
For single-studio work, use /haiku:new instead.
If no argument provided, ask what the work is:
{
"questions": [{
"question": "What are you trying to accomplish?",
"header": "Composite Intent",
"options": [
{"label": "I'll describe it", "description": "Enter the intent description"}
]
}]
}
List available studios and ask the user to select which ones this work spans:
# List all available studios via MCP (includes both built-in and project-level)
haiku_studio_list
# Returns JSON array with name, description, stages, category for each studio
Present as a multi-select AskUserQuestion. At least 2 selections are REQUIRED.
For each selected studio, show its stages and let the user select which ones to include:
{
"questions": [{
"question": "Which stages from the Software studio?",
"header": "Software Stages",
"options": [
{"label": "inception", "description": "Problem understanding, unit elaboration"},
{"label": "design", "description": "Visual and interaction design"},
{"label": "development", "description": "Implementation with quality gates"}
],
"multiSelect": true
}]
}
The agent should recommend which stages to include based on the intent description. For example, a "product launch" intent probably needs software's full pipeline but only marketing's content→launch stages.
Ask the user where the studios need to synchronize:
The studios will run in parallel. Are there stages that must wait for other stages to complete?
For example: "marketing:launch must wait for software:development and marketing:content"
Build the sync: rules from the user's input. The agent should also suggest sync points based on the stage selection — if one studio's stage produces outputs that another studio's stage consumes, that's a natural sync point.
Generate the intent slug from the description. Create the workspace:
INTENT_DIR=".haiku/intents/${SLUG}"
mkdir -p "$INTENT_DIR"/{knowledge,state}
# Create stage directories for all selected studios
for studio in $SELECTED_STUDIOS; do
for stage in $SELECTED_STAGES[$studio]; do
mkdir -p "$INTENT_DIR/stages/${studio}-${stage}/units"
done
done
Write intent.md with composite frontmatter:
---
title: "{title}"
status: active
mode: continuous
composite:
- studio: software
stages: [inception, design, development]
- studio: marketing
stages: [research, strategy, content, launch]
sync:
- wait: [software:development, marketing:content]
then: [marketing:launch]
composite_state:
software: inception
marketing: research
---
{intent description}
Composite intent created: **{slug}**
Studios:
- **Software**: inception → design → development
- **Marketing**: research → strategy → content → launch
Sync points:
- marketing:launch waits for software:development + marketing:content
Run `/haiku:resume` to start. Both studios' first stages will run in parallel.
When /haiku:resume encounters a composite intent (Step 2c in the run skill):
The stage loop itself is identical — hats, review agents, review gates all come from the stage's studio definition. Only the orchestration of which stage to run next is different.