/sdlc-documentation:15-ai-agent-multi-agent-coordination-specfrom sdlc-documentation
Coordinates multi-agent topologies (supervisor-worker, handoff, debate) with role inventory, scratchpad isolation, message contracts, and failure handling. Use when two or more agents share a user task.
Ships in sdlc-documentation. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
| Artefact | Source or provider | Required? | Missing behaviour |
|---|---|---|---|
| Approved agent architecture, feature and action catalogue | Phase 02/03 artefacts | Required | Stop if roles, authority or handoff outcome are undefined. |
| Latency, cost, privacy and failure constraints | Product, security and platform owners | Required | Return a single-agent alternative when multi-agent evidence is weak. |
| Artefact | Consumer | Observable acceptance condition |
|---|---|---|
| Multi-Agent Coordination Specification | Agent, platform, security, evaluation and operations teams | Exactly one topology is chosen; every role has bounded actions, message schema, context rule, budget, supervision, timeout and recovery path. |
| Evidence | Consumer | Acceptance condition |
|---|---|---|
| Source and decision trace | Reviewer and downstream owner | Each material statement cites an approved input, named decision or qualified open issue. |
| Completed verification record | Release or phase gate owner | Every applicable check records pass/fail; unavailable checks remain not assessed. |
Read-only is the default for analysis, review, evaluation and planning. Read and search access to authorised project artefacts are required. Editing is limited to an explicitly requested project deliverable. Execution may run document, syntax or validation checks. Network access is used only for facts that require current verification. Do not publish, spend, change production, approve policy, or claim certification without explicit authority.
If any required capability is unavailable, return the narrowest useful qualified Multi-Agent Coordination Specification draft plus a gap register showing the missing item, affected sections, risk and owner. Never convert an unassessed check into a pass.
| Choice | Action | Failure or risk avoided |
|---|---|---|
| Roles need distinct permissions or expertise | Use supervised workers with explicit handoffs | Authority remains bounded |
| One agent can complete the task within limits | Keep one agent | Coordination cost and emergent failure are avoided |
Resumable execution contract: specify specialist capability/readiness, independence, evidence verdicts, and interruption-safe replay and reconciliation.
Pick exactly one per feature:
| Topology | When | Trade-off |
|---|---|---|
| Single-agent | task fits one role | simplest; least observability cost |
| Supervisor-worker | task decomposes into specialist sub-tasks | strong observability; supervisor is the bottleneck and the source of policy |
| Debate (N-agent) | task benefits from adversarial cross-check | improves factuality; cost scales with N and rounds |
| Handoff chain | sequential phases (retrieve → draft → verify) | clear ownership; brittle to mid-chain failure |
Per agent role, declare:
Default: each agent role has its own scratchpad keyed by (tenant_id, agent_run_id, agent_role). Cross-role sharing is permitted only via explicit handoff messages on the message bus, not via shared memory.
For supervisor-worker:
State which policy applies at which autonomy level. Irreversible tools always require review-before-act regardless of overall policy.
Inter-agent messages carry: from_role, to_role, agent_run_id, payload_schema, handoff_token. The supervisor is the sole authority that issues handoff_token. Messages without a valid token are refused.
| Failure | Handling |
|---|---|
| Worker exceeds budget | supervisor aborts the worker; the run continues with reduced scope or terminates |
| Worker emits malformed handoff | supervisor rejects; one retry; then abort |
| Debate fails to converge in N rounds | terminate; emit abstain payload |
| Supervisor crashes | orchestrator re-elects supervisor from the durable state |
| Worker proposes irreversible tool without approval | dispatcher refuses; supervisor reviews; the worker is paused |
Multi_Agent_Coordination_Spec.md sections: 1) Topology Verdict, 2) Agent Inventory & Roles, 3) Scratchpad Isolation, 4) Supervision Policy, 5) Message-Bus Contract, 6) Failure-Mode Handling, 7) ADR Seeds, 8) Traceability.
05-ai-red-team-test-plan/references/red-team-scenario-library.md)logic.prompt, README.md, references/ai-agent-multi-agent-coordination-spec-template.md.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub peterbamuhigire/chwezi-sdlc-documentation --plugin sdlc-documentation160 skills in this plugin
/01-deployment-guideUse when producing or updating deployment guide for release prerequisites, migration choreography, verification, rollback, and ownership. Use runbook for the neighbouring concern; this skill owns the named document contract and its acceptance evidence./01-high-level-designUse when approved requirements need a system-level architecture with boundaries, components, critical flows, deployment topology and ADRs, or an as-built design must be recovered from existing code; use system-overview for orientation, low-level-design for module internals, and infrastructure-design for infrastructure depth./01-initialize-srsUse when writing a new SRS (software requirements specification) for a business system or module: create the Waterfall SRS workspace, IEEE structure, identifiers and source context; use context-engineering next for boundaries and actors.Other plugins' skills for the same job