- Define subagents with a mission, tools, and concrete output.
- Separate research, editing, and review to reduce errors.
- Avoid unnecessary agent teams when a simple task is enough.
Useful Roles
- Researcher: only reads, searches, and summarizes sources.
- Implementer: edits with a small scope.
- Reviewer: looks for bugs, risks, and missing tests.
- Documenter: turns changes into a guide, changelog, or tutorial.
- Security guard: reviews permissions, secrets, network, and dependencies.
--- name: reviewer description: Revisa cambios antes de commit. Prioriza bugs y riesgos. tools: Read, Grep, Bash(npm test), Bash(npm run lint), Bash(git diff *) model: sonnet --- Actua como revisor senior. No edites archivos. Devuelve hallazgos con archivo, linea, severidad y prueba sugerida. Si no ves problemas, dilo claramente.