From workflow
Choose the right workflow pattern for a task based on Anthropic's agent research. Use before starting any non-trivial work to pick the optimal approach.
How this skill is triggered — by the user, by Claude, or both
Slash command
/workflow:routeThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Based on Anthropic's "Building Effective Agents" research. The right pattern depends on the problem — using the same approach for everything is the #1 efficiency killer.
Based on Anthropic's "Building Effective Agents" research. The right pattern depends on the problem — using the same approach for everything is the #1 efficiency killer.
Analyze the task described in $ARGUMENTS and recommend ONE pattern:
When: Single file, clear scope, you can describe the diff in one sentence. Examples: Typo fix, rename a variable, add a log line, small bug fix. Action: Skip planning. Just do it. Verify with a quick test or build.
When: Multi-file change with known files. Clear what needs to happen. Examples: Add a new API endpoint, refactor a function used in 3 places. Action: Explore → Plan (list exact files + changes) → Implement → Verify.
When: Uncertain scope. You don't know which files are involved yet. Examples: "Fix the auth bug" (which auth? where?), "Improve performance" (of what?). Action: Use a subagent to explore the codebase first. Based on findings, pick pattern 1 or 2.
When: Large feature with independent subtasks. Multiple files that don't depend on each other. Examples: Add validation to 10 API endpoints, migrate 5 components to new pattern. Action: Create plan, break into independent tasks, dispatch subagents in parallel.
When: Quality-sensitive work where the first version won't be good enough.
Examples: Complex algorithm, security-critical code, public API design.
Action: Implement → Self-critique → Iterate → Verify. Use /challenge from self-critic plugin.
After choosing a workflow pattern, recommend a retrieval strategy — what information to gather and how. Different task types benefit from different retrieval approaches (Meta-Harness, arXiv 2603.28052: domain-specific routing outperforms one-size-fits-all retrieval).
git log --oneline --since="2 weeks" -- <file> — recent changes that may have introduced the buggit blame <file> on the broken section — who changed what, when~/.claude/traces/*.jsonl)grep -rn "functionName\|ClassName" --include="*.php"git log --oneline --diff-filter=M -20 -- <file> — understand change velocitygit log --all --oneline --grep="perf\|slow\|optimize"RECOMMENDED PATTERN: [Pattern Name]
REASON: [One sentence why this pattern fits]
RETRIEVAL: [Which retrieval strategy above + specific commands to run]
FIRST STEP: [What to do right now]
Key principle from Anthropic: "Start simple. Add complexity only when it demonstrably improves outcomes."
npx claudepluginhub artmin96/forge-studio --plugin workflowProvides Claude Code templates for agentic design patterns like prompt chaining, routing, reflection, tool use, planning, and multi-agent workflows using 4-layer stack. For LLM task decomposition.
Orchestrates structured thinking and multi-agent parallel execution for multi-step projects, complex breakdowns, architectural decisions, and task coordination.