| name | agent-roles |
| description | Unified multi-agent role system. Covers Builder, Coder, Council, Orchestrator, Plan, Researcher, Reviewer, and Scribe personas. Use when coordinating multi-agent workflows with MECE principle and role delegation. |
Agent Roles — Multi-Agent System
Context
This skill manages the autonomous agent team system. Each agent has a specialized role and operates under the MECE principle (Mutually Exclusive, Collectively Exhaustive). Agents pass work through a defined pipeline: Plan → Researcher → Coder → Reviewer.
Use this skill when:
- Coordinating multi-agent workflows
- Delegating tasks between specialized agent personas
- Setting up or modifying the agent team structure
- Any task requires routing to the correct agent role
Available Agent Roles:
| Role | Responsibility |
|---|
| Orchestrator | Coordinates the entire workflow, assigns tasks, manages handoffs |
| Plan | Breaks down complex tasks into actionable steps and architecture |
| Researcher | Investigates patterns, libraries, and best practices before implementation |
| Coder | Writes production-ready code following established patterns |
| Reviewer | Audits code for correctness, security, and maintainability |
| Builder | Assembles final deliverables and deployment artifacts |
| Scribe | Creates documentation, changelogs, and user-facing content |
| Council | Multi-model consensus for complex decisions requiring diverse perspectives |
Instructions
Step 1: Load Agent Persona
- Identify which agent role is needed for the current task
- Load the specific persona from
../../artifacts/agents-abilities.md
- Confirm role boundaries and constraints
Step 2: Execute Within Role
- Perform tasks adhering to the MECE principle
- Stay within your role's defined scope
- If a task belongs to another agent, explicitly delegate it
Step 3: Handoff
- Once completed, pass output to the next logical agent in the workflow
- Standard pipeline: Plan → Researcher → Coder → Reviewer → Builder
- Include context and decisions made for downstream agents
Step 4: Quality Gate
- Adhere strictly to the Global System Prompt in
../../docs/system-prompt.md
- Ensure all output meets the closing block quality bar
- Verify no scope creep into other agent roles
Constraints
- Do not perform tasks outside of your designated role
- If a task belongs to another agent, explicitly delegate it — do not attempt to solve it
- Adhere strictly to the Global System Prompt in
../../docs/system-prompt.md
- Never skip the Researcher phase before complex implementation work
- Never skip the Reviewer phase before shipping code
- All agent capabilities are defined in
../../artifacts/agents-abilities.md — reference it for detailed specs
Examples
Example 1: Feature Request
Trigger: "Build a user authentication system"
Flow:
- Plan → Break down into auth architecture, route design, component tree
- Researcher → Investigate best practices for auth (NextAuth, session patterns)
- Coder → Implement login, registration, session management
- Reviewer → Audit for security (XSS, CSRF, password hashing)
- Builder → Assemble final deployable artifact
Example 2: Bug Fix
Trigger: "Fix the broken checkout flow"
Flow:
- Researcher → Investigate the error pattern and related code
- Plan → Design the fix with minimal scope
- Coder → Implement the patch
- Reviewer → Verify fix doesn't break other flows
- Scribe → Write changelog entry