| name | workflow-guide |
| description | Routes you to the right skill for any situation by auto-analyzing project state. Use this whenever you are unsure what to do next โ it diagnoses the project and recommends the optimal skill. Invoke immediately on "what should I do?", "which skill?", "recommend a workflow", or "what's next?" questions. Triggered by /workflow. |
| trigger | /workflow, /workflow-guide, "๋ญํด์ผํด?", "์ด๋ค ์คํฌ", "์ํฌํ๋ก์ฐ ์ถ์ฒ" |
| version | 5.0.0 |
| updated | "2026-03-12T00:00:00.000Z" |
Workflow Selection Guide (Meta Hub)
Purpose: Auto-analyze project state โ recommend 1โ2 optimal skills
Core principle: This skill does not write implementation code. It only performs situation diagnosis โ skill recommendation โ user confirmation.
Absolute Prohibitions
- Do not write code directly โ guide the workflow only.
- Do not list all skills โ recommend 1โ2 only, matched to the situation.
- Do not start with requirements questions โ auto-diagnose project state first.
Actions to Execute Immediately on Skill Activation
Stage 1: Auto-diagnose project state (Silent Analysis)
ls TASKS.md 2>/dev/null || ls docs/planning/06-tasks.md 2>/dev/null
SOURCE_CODE=$(find src/ app/ lib/ -maxdepth 3 -type f \( -name "*.ts" -o -name "*.js" -o -name "*.py" \) 2>/dev/null | head -1)
echo "source_code=${SOURCE_CODE:+yes}"
for STATE_PATH in ".claude/orchestrate-state.json" ".claude/orchestrate/orchestrate-state.json"; do
if [ -f "$STATE_PATH" ] && grep -qE '"status"[[:space:]]*:[[:space:]]*"(in_progress|pending)"' "$STATE_PATH" 2>/dev/null; then
echo "state_file=$STATE_PATH incomplete_in_state=1"
fi
done
CONFLICT_FILES=$(git diff --name-only --diff-filter=U 2>/dev/null | wc -l | tr -d ' ')
echo "conflicts=$CONFLICT_FILES"
AGENT_COUNT=$(ls .claude/agents/*.md 2>/dev/null | wc -l | tr -d ' ')
TASK_COUNT=$(grep -cE '^\s*[-*]\s*\[|^#{1,6}\s+\[' TASKS.md 2>/dev/null || echo 0)
INCOMPLETE_COUNT=$(grep -cE '^\s*[-*]\s*\[\s*\]|^#{1,6}\s+\[\s*\]' TASKS.md 2>/dev/null || echo 0)
GOVERNANCE_DONE=$(ls management/project-plan.md 2>/dev/null && echo "yes" || echo "no")
echo "agents=$AGENT_COUNT tasks=$TASK_COUNT incomplete=$INCOMPLETE_COUNT governance=$GOVERNANCE_DONE"
CMUX_AVAILABLE=$(cmux ping 2>/dev/null && echo "yes" || echo "no")
echo "cmux=$CMUX_AVAILABLE"
Stage 2: Decision Algorithm (rules + experience hybrid)
workflow-guide does current state โ recommend 1 skill.
When experience data exists, memento's Smart Router can override the rule-based recommendation.
โ Recovery: state file incomplete OR merge conflicts โ /recover
โก No tasks: no TASKS.md โ /tasks-init (or /tasks-migrate if legacy exists)
โข Maintenance: source_code exists + bug/fix request โ /maintenance
โข-b Maintenance (iterative): source_code exists + incomplete>0 โ /agile iterate
โฃ New implementation: incomplete>0 + TASK<30 โ /agile auto
โค Large-scale (30-50): incomplete>=30 โ /team-orchestrate --mode=auto (or --mode=team if Agent Teams)
โค-b Very large (50+): incomplete>=50 โ /team-orchestrate --mode=thin
โฅ Done: all_tasks_completed โ /audit
Memento Experience Override (when .claude/memento/experience.jsonl exists with 5+ entries):
After computing the rule-based recommendation, check if memento's experience-weighted router suggests a different skill with confidence > 0.75. If so, use the experience-based recommendation and note the override reason. See /memento route for the full algorithm. This ensures backward compatibility โ without experience data, routing is purely rule-based.
cmux ์ค๋ฒ๋ผ์ด๋ (CMUX_AVAILABLE=yes์ผ ๋ โค ์ดํ ์ ์ฉ):
| ๊ธฐ๋ณธ ์ถ์ฒ | cmux ๋์ฒด | ์ด์ |
|---|
/team-orchestrate | /cmux-orchestrate | ๋ฌผ๋ฆฌ์ ๊ณ์ธต + ์ด๊ธฐ์ข
AI ํ |
/multi-ai-run | /cmux-ai-run | ์ฐฝ ๋ถํ ์ง์ง ๋ณ๋ ฌ ์คํ |
/multi-ai-review | /cmux-ai-review | ํจ๋ ๋๋ํ ๋์ ๋ฆฌ๋ทฐ |
cmux ๊ฐ์ง ์ ์ถ์ฒ ๋ฉ์์ง์ cmux ๋ณํ ์คํฌ์ โญ ์ถ์ฒ์ผ๋ก ์ฌ๋ฆฌ๊ณ , ๊ธฐ์กด ์คํฌ์ ๋์์ผ๋ก ์ ์.
Prerequisite checks each skill performs on its own:
/team-orchestrate โ checks TASKS.md format and Agent Teams installation
/agile โ checks TASKS.md existence/format, recommends team-orchestrate for โฅ30 tasks
/audit โ checks for planning documents, guides to /governance-setup if missing
/governance-setup โ guides to /tasks-init or /tasks-migrate based on TASKS.md state
Stage 3: Tailored Recommendation (AskUserQuestion)
Display the diagnosis result with a starred recommendation for user confirmation:
{
"questions": [{
"question": "Project state has been analyzed. Choose the next step:",
"options": [
{ "label": "โญ [Recommended] {diagnosed skill}", "description": "{reason for fit}" },
{ "label": "{alternative 1}", "description": "{description}" }
]
}]
}
Standalone Skill Catalog (25 skills)
| Skill | Trigger | Role |
|---|
/workflow | "what should I do?" | Meta hub โ skill routing |
/governance-setup | /governance-setup | Governance + Mini-PRD planning |
/tasks-init | /tasks-init | TASKS.md scaffolding |
/tasks-migrate | /tasks-migrate | Consolidate legacy tasks |
/agile | /agile auto | Layer-based sprint execution |
/team-orchestrate | /team-orchestrate, /auto-orchestrate | Unified orchestration โ auto/team/thin modes |
/cmux-orchestrate | /cmux-orchestrate | cmux ๋ฌผ๋ฆฌ์ 3-Level ํ (Claude/Gemini/Codex ํผํฉ) |
/multi-ai-run | /multi-ai-run | Role-based model routing |
/cmux-ai-run | /cmux-ai-run | cmux ์ฐฝ ๋ถํ ๋ณ๋ ฌ ํ์คํฌ ์คํ |
/checkpoint | "review this" | Two-stage review on task completion |
/security-review | /security-review | OWASP Top 10 security scan |
/audit | /audit | Pre-deployment comprehensive audit |
/multi-ai-review | /multi-ai-review | 3-AI consensus review |
/cmux-ai-review | /cmux-ai-review | cmux ์ฐฝ ๋ถํ ๋ณ๋ ฌ 3-Stage ๋ฆฌ๋ทฐ |
/recover | "work was interrupted" | Work recovery hub |
/impact | /impact <file> | Change impact analysis |
/deps | /deps | Dependency graph |
/coverage | /coverage | Test coverage |
/architecture | /architecture | Architecture map |
/maintenance | "fix this bug" | ITIL 5-stage production maintenance orchestrator |
/compress | "compress context" | Long context optimization |
/statusline | auto-activated | Progress status bar display |
/changelog | /changelog | Change history query |
/cmux | /cmux | cmux ํฐ๋ฏธ๋ ๋ฉํฐํ๋ ์ ์ ์ด |
/memento | "skill health", "which skill" | Skill ecosystem intelligence โ experience logging, smart routing, health dashboard |
Skill Selection by Task Scale
| Task count | Recommended skill | Mode | Prerequisite skills |
|---|
| 1โ30 | /agile auto | โ | โ |
| 30โ50 | /team-orchestrate | --mode=auto or --mode=team | /governance-setup (optional) |
| 50โ200 | /team-orchestrate | --mode=thin | /governance-setup |
| 200+ | /team-orchestrate --mode=thin --phase N | split by phase | /governance-setup |
Natural Language โ Skill Quick Map (GSD ์คํ์ผ ํ์ฅ)
"I don't know where to start" โ /workflow
"I have a spec, start coding" โ /agile auto
"Fix this feature" โ /agile iterate
"Review the code" โ /checkpoint
"Do a deep review" โ /multi-ai-review (cmux: /cmux-ai-review)
"Run a security check" โ /security-review
"Run a quality check" โ /audit
"Work was interrupted" โ /recover
"This is a large project" โ /governance-setup
"Fix this bug" โ /maintenance
"Fix this in production" โ /maintenance
"Run with an agent team" โ /team-orchestrate (cmux: /cmux-orchestrate)
"Use multiple AIs in parallel" โ /cmux-ai-run (cmux ๊ฐ์ง ์) / /multi-ai-run
"Show execution status" โ /whitebox status
"Compress the context" โ /compress
"Which skill works best for this?" โ /memento route
"Show skill performance" โ /memento health
"Why does this skill keep failing?" โ /memento reflect
# GSD ์คํ์ผ ์์ฐ์ด ๋ผ์ฐํ
"์ด๊ฑฐ ๋ฆฌํฉํ ๋งํด์ค" โ /agile auto (๋ณต์ก) ๋๋ /agile iterate (๋จ์)
"์ด ๊ธฐ๋ฅ ์ถ๊ฐํด์ค" โ /discuss โ /agile auto
"๋ญ ์ด๋ป๊ฒ ํด์ผ ํ ์ง ๋ชจ๋ฅด๊ฒ ์ด" โ /discuss
"๊ฒฐ์ ํด์ผ ํ ๊ฒ ์์ด" โ /discuss
"์๊ตฌ์ฌํญ ๋ถ์ํด์ค" โ /si-planning
"๊ธฐ๋ฅ์ ์์ ๋ง๋ค์ด์ค" โ /si-planning
"ํ๋ฉด์ ์์ ๋ง๋ค์ด์ค" โ /si-planning
"SI ๊ธฐํ ์์" โ /si-planning --domain=?
"์๊ตฌ์ฌํญ ๋ณ๊ฒฝ" โ /si-planning --change
"๋๋ฝ ๊ฒ์ฌ" โ /si-planning --gap
"๊ณ ๊ฐ ๋์๋ณด๋" โ /si-planning --dashboard
"์ด๊ฑฐ ๊ฒ์ฆํด์ค" โ /audit (goal-backward ํฌํจ)
"์ฝ๋ ํ์ธํด์ค" โ /checkpoint
"์ด๊ฑฐ ๋ง๊ฒ ํ๋์ง ๋ด์ค" โ /audit
"์๋์ผ๋ก ๋ค ํด์ค" โ /team-orchestrate --mode=autonomous
"์์์ ํด์ค" โ /agile auto
์๋ ๋ผ์ฐํ
๋ชจ๋
--auto ํ๋๊ทธ ์ถ๊ฐ ์ ์ฌ์ฉ์ ํ์ธ ์์ด ๋ฐ๋ก ์คํ:
/workflow โ ์ง๋จ โ ์ถ์ฒ โ ์ฌ์ฉ์ ํ์ธ โ ์คํ
/workflow --auto โ ์ง๋จ โ ๋ฐ๋ก ์คํ
Reference Documents
For detailed algorithms, skill integration matrix, and quality gates, see:
references/decision-algorithm.md โ Detailed decision algorithm + scenario validation
references/skill-integrations.md โ Skill-to-skill integrations + failure recovery paths
Last Updated: 2026-03-18 (v5.1.0 โ cmux auto-detection + cmux skill routing added)