AgentSkillsCN

intelligent-routing

自动为每项请求选择最优代理

SKILL.md
--- frontmatter
name: intelligent-routing
description: Auto-select best agent for each request

Intelligent Routing

Automatically select the best agent for each task.


Routing Matrix

KeywordsAgent
vue, component, pinia, frontendfrontend-specialist
api, controller, service, c#, aspnetbackend-specialist
sql, database, schema, querydatabase-architect
deploy, pipeline, aks, kubernetesdevops-engineer
security, keyvault, audit, owaspsecurity-auditor
test, xunit, vitest, coveragetest-engineer
bug, error, fix, debugdebugger
performance, slow, metricsperformance-optimizer
docs, readme, documentationdocumentation-writer
analyze, explore, overviewexplorer-agent
plan, design, architectureproject-planner
complex, multi-domainorchestrator

Routing Protocol

Step 1: Analyze Request

Identify keywords and domain indicators.

Step 2: Match Agent

Use routing matrix to find best match.

Step 3: Check Complexity

  • Single domain → Direct to specialist
  • Multi-domain → Route to orchestrator

Step 4: Inform User

markdown
🤖 **Applying `@[agent-name]`...**

Multi-Domain Detection

IndicatorsAction
"full-stack"orchestrator
Frontend + Backendorchestrator
Multiple file typesorchestrator

Override Rules

User SaysAction
@agent-nameUse specified agent
/commandFollow command flow
"don't ask"Skip Socratic Gate

Fallback

If no clear match:

  1. Ask user to clarify
  2. Default to project-planner for planning
  3. Default to orchestrator for execution