| name | auto-orchestrator |
| description | Sistema de auto-routing que detecta el tipo de tarea y activa el agente especializado correcto automรกticamente. Se activa con cualquier tarea de desarrollo. |
| allowed-tools | ["Task","Read","Glob","Grep"] |
Auto-Orchestrator - Sistema de Routing Inteligente
Activaciรณn Automรกtica
Este skill se activa cuando el usuario hace cualquier pedido de desarrollo. Analiza la intenciรณn y delega al agente correcto.
Mapa de Decisiรณn Rรกpida
PALABRA CLAVE โ AGENTE โ subagent_type
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
error|bug|falla|roto|crash โ debugger
crear|component|page|feature โ builder
arquitectura|diseรฑo|sistema โ architect
seguridad|audit|OWASP|vuln โ security-auditor
test|coverage|vitest โ test-engineer
docs|README|documentar โ docs-writer
Next.js|React|GSAP|animation โ general-architect
explorar|buscar|encontrar โ Explore
planificar|ADR|diseรฑo sistema โ Plan
commit|PR|git|release โ general-purpose (skill /commit)
deploy|docker|k8s|CI โ devops
Implementaciรณn
Cuando recibas una tarea:
1. Detectar Intenciรณn
const detectIntent = (input: string) => {
const patterns = {
debug: /error|bug|falla|roto|crash|no funciona|exception/i,
security: /seguridad|vulnerab|OWASP|XSS|SQL|injection|audit/i,
test: /test|coverage|vitest|playwright|jest|spec/i,
docs: /document|README|docs|JSDoc|guรญa/i,
architecture: /arquitectura|diseรฑo.*sistema|estructura|planific/i,
animation: /Next\.js|React|GSAP|Framer|Lenis|animaci/i,
explore: /explor|busc|encontr|dรณnde.*estรก|quรฉ.*archivo/i,
build: /cre[aรก]|implement|component|feature|pรกgina|hacer/i,
devops: /deploy|docker|kubernetes|CI|CD|pipeline/i,
git: /commit|PR|pull.*request|merge|release|push/i,
};
for (const [intent, pattern] of Object.entries(patterns)) {
if (pattern.test(input)) return intent;
}
return 'general';
};
2. Mapear a Agente
const agentMap = {
debug: { agent: 'debugger', type: 'debugger' },
security: { agent: 'security-auditor', type: 'security-auditor' },
test: { agent: 'test-engineer', type: 'test-engineer' },
docs: { agent: 'docs-writer', type: 'docs-writer' },
architecture: { agent: 'architect', type: 'architect' },
animation: { agent: 'general-architect', type: 'general-architect' },
explore: { agent: 'Explore', type: 'Explore' },
build: { agent: 'builder', type: 'builder' },
devops: { agent: 'devops', type: 'devops' },
git: { agent: 'general-purpose', type: 'general-purpose' },
general: { agent: 'general-purpose', type: },
};
3. Delegar
Task(
subagent_type: agentMap[intent].type,
prompt: "Contexto completo de la tarea del usuario",
description: "Descripciรณn corta de la tarea"
)
Flujo Visual
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ USUARIO ENVรA TAREA โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ AUTO-ORCHESTRATOR โ
โ โ
โ 1. Analizar palabras clave โ
โ 2. Detectar intenciรณn โ
โ 3. Seleccionar agente โ
โ 4. Delegar con contexto completo โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโ
โผ โผ โผ
โโโโโโโโโโโโ โโโโโโโโโโโโ โโโโโโโโโโโโ
โ debugger โ โ builder โ โ security โ
โโโโโโโโโโโโ โโโโโโโโโโโโ โโโโโโโโโโโโ
โ โ โ
โโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ RESPUESTA AL USUARIO โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Ejemplos de Uso
Error โ Debugger
Input: "La app crashea cuando hago login"
Output: Task(debugger) โ "Investigar crash en login"
Feature โ Builder
Input: "Necesito un formulario de contacto"
Output: Task(builder) โ "Implementar formulario de contacto"
Arquitectura โ Architect
Input: "Cรณmo deberรญa estructurar el mรณdulo de pagos?"
Output: Task(architect) โ "Diseรฑar arquitectura de mรณdulo de pagos"
Animaciรณn โ General Architect
Input: "Quiero una landing con animaciones tipo Awwwards"
Output: Task(general-architect) โ "Diseรฑar landing con GSAP/Framer Motion"
Prioridad de Detecciรณn
Si hay mรบltiples matches, usar esta prioridad:
- Security (siempre primero si se menciona seguridad)
- Debug (errores tienen prioridad)
- Test (testing es especรญfico)
- Architecture (antes de implementar)
- Animation/Next.js (stack especรญfico)
- Build (implementaciรณn general)
- General (fallback)