返回 Skill 列表
extension
分类: 开发与工程无需 API Key

task-routing

在将任何复杂任务委托给子代理之前使用。包含将任务模式映射到正确的专门代理的路由表。在使用任务工具进行委托决策之前必须查阅。触发关键词 - “委托”,“子代理”,“代理”,“研究”,“实施”,“调查”,“调试”,“架构”。

person作者: jakexiaohubgithub

Task Routing - Agent Delegation

IMPORTANT: For complex tasks, prefer delegating to specialized agents via the Task tool rather than handling inline. Delegated agents run in dedicated context windows with sustained focus, producing higher quality results.

Routing Table

| Task Pattern | Delegate To | Trigger | |---|---|---| | Research: web search, tech comparison, multi-source reports | dev:researcher | 3+ sources or comparison needed | | Implementation: creating code, new modules, features, building with tests | dev:developer | Writing new code, adding features, creating modules - even if they relate to existing codebase | | Investigation: READ-ONLY codebase analysis, tracing, understanding | code-analysis:detective | Only when task is to UNDERSTAND code, not to WRITE new code | | Debugging: error analysis, root cause investigation | dev:debugger | Non-obvious bugs or multi-file root cause | | Architecture: system design, trade-off analysis | dev:architect | New systems or major refactors | | Agent/plugin quality review | agentdev:reviewer | Agent description or plugin assessment |

Key Distinction

If the task asks to IMPLEMENT/CREATE/BUILD → dev:developer. If the task asks to UNDERSTAND/ANALYZE/TRACE → code-analysis:detective.

When to Use This Skill

Consult this routing table BEFORE making any delegation decision. If the user's task matches any row in the table above, delegate to the specified agent rather than handling the task inline.