Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

Agent Team Topologies

БесплатноБез исполняемых скриптовНе проверен

Agent-team topology kits — 5 production-ready team configurations with task decomposition, file ownership, worktree guidance, and quality-gate hooks

TheLobbiот TheLobbi★ 22 звезды на GitHub

Об этом скилле

Agent-Team Topology Kits

Overview

Agent teams parallelize work that would be serial in a single agent. The right topology depends on:

  • Complexity: How many independent concerns are there?
  • Risk: How many reversibility gates are needed?
  • Speed: Can phases run in parallel or must they sequence?

Use the topology selector below, then follow the kit for your chosen topology.

Topology Selector

Signal Topology Why
Frontend + backend + tests all need changes Frontend-Backend-Test Squad Clear file ownership separation
Need architecture review before implementation Architect-Implementer-Reviewer Trio Design gate before code
Hard bug, multiple hypotheses Competing-Hypotheses Debug Council Parallel root-cause exploration
PR needs security + perf + test review Security-Performance-Test Review Board Parallel review disciplines
Large doc migration or README overhaul Docs Migration Sprint Parallel document processing

Topology 1: Frontend-Backend-Test Squad

Use when: A feature requires coordinated changes across UI, API, and test layers.

Team composition:

  • frontend-agent (Sonnet) — edits src/components/, src/pages/, src/hooks/
  • backend-agent (Sonnet) — edits src/api/, src/services/, src/db/
  • test-agent (Sonnet) — edits src/test/, *.test.ts, *.spec.ts
  • coordinator (Opus, main context) — decomposes, coordinates, merges results

File ownership rules:

  • frontend-agent: ONLY files matching src/components/**, src/pages/**, src/hooks/**
  • backend-agent: ONLY files matching src/api/**, src/services/**, src/db/**
  • test-agent: ONLY files matching **/*.test.*, **/*.spec.*, src/test/**
  • Shared files (types, constants): backend-agent owns, frontend-agent reads

Worktree guidance:

  • Run frontend-agent and backend-agent in separate worktrees (isolation: "worktree") when their changes don't share files
  • Keep test-agent in main worktree until frontend and backend complete — it reads both outputs
  • Merge order: backend → frontend → tests

Coordination protocol:

Phase 1 (parallel): frontend-agent + backend-agent implement their slices
Phase 2 (sequential): test-agent writes tests covering both slices
Phase 3 (main): coordinator reviews, resolves any type conflicts, commits

Quality gate hooks:

  • After Phase 1: Run TypeScript type-check across all changed files
  • After Phase 2: Run test suite; block if any new tests fail
  • Merge condition: All 3 agents report DONE with 0 type errors

Example decomposition:

Feature: Add user profile editing

frontend-agent: ProfileEditForm.tsx, useProfile.ts, profile.css
backend-agent: /api/users/[id].ts, userService.ts, userRepository.ts
test-agent: ProfileEditForm.test.tsx, userService.test.ts, api/users.test.ts

Cost estimate: Medium (3 Sonnet agents + 1 Opus coordinator) — ~$0.05-0.15 per feature


Topology 2: Architect-Implementer-Reviewer Trio

Use when: The task involves design decisions that should be validated before code is written.

Team composition:

  • architect (Opus) — reads codebase, proposes design, writes spec
  • implementer (Sonnet) — executes the spec
  • reviewer (Opus) — reviews against spec and quality criteria

File ownership rules:

  • architect: READ-ONLY. Writes only to .claude/designs/<feature>.md
  • implementer: Writes to all production code files per spec
  • reviewer: READ-ONLY. Writes only to .claude/reviews/<feature>.md

Worktree guidance:

  • architect runs in main context (needs full codebase visibility)
  • implementer runs in a worktree branch (feature/<name>)
  • reviewer runs in main context on the implementer's diff

Coordination protocol:

Phase 1: architect analyzes codebase and writes design spec to .claude/designs/<name>.md
Phase 2: [HUMAN GATE] Review spec before implementation — stop here
Phase 3: implementer reads spec and implements
Phase 4: reviewer reads spec + diff, writes verdict to .claude/reviews/<name>.md
Phase 5: [HUMAN GATE] Review verdict before merge

Design spec format (architect output):

# Design: <feature>

## Goal
<one paragraph>

## Approach
<chosen approach with rationale>

## Alternatives considered
| Option | Why rejected |
|--------|-------------|

## Files to create/modify
| File | Change | Risk |
|------|--------|------|

## Interface contracts
<API signatures, data shapes, event types>

## Acceptance criteria
- [ ] <testable criterion>

Cost estimate: High (2 Opus + 1 Sonnet) — ~$0.20-0.50 per feature. Justified for architectural decisions.


Topology 3: Competing-Hypotheses Debug Council

Use when: A hard bug with multiple plausible root causes. Single-agent debugging gets anchored on the first plausible explanation.

Team composition:

  • hypothesis-a-agent (Sonnet) — investigates first hypothesis
  • hypothesis-b-agent (Sonnet) — investigates second hypothesi
Полный SKILL.md на GitHub

Установить Agent Team Topologies в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Glob
Grep
Bash
Agent

FAQ

Что делает скилл Agent Team Topologies?

Agent-team topology kits — 5 production-ready team configurations with task decomposition, file ownership, worktree guidance, and quality-gate hooks

Как установить скилл Agent Team Topologies?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Agent Team Topologies запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить Agent Team Topologies с