Command Palette

Search for a command to run...

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

build-with-agent-team

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

Build a project using Claude Code Agent Teams with tmux split panes. Takes a plan document path and optional team size. Use when you want multiple agents…

coleam00от coleam00★ 13 924 звезды на GitHub2 установки в других каталогах

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

Build with Agent Team

You are coordinating a build using Claude Code Agent Teams. Read the plan document, determine the right team structure, spawn teammates, and orchestrate the build.

Arguments

  • Plan path: $ARGUMENTS[0] - Path to a markdown file describing what to build
  • Team size: $ARGUMENTS[1] - Number of agents (optional)

Step 1: Read the Plan

Read the plan document at $ARGUMENTS[0]. Understand:

  • What are we building?
  • What are the major components/layers?
  • What technologies are involved?
  • What are the dependencies between components?

Step 2: Determine Team Structure

If team size is specified ($ARGUMENTS[1]), use that number of agents.

If NOT specified, analyze the plan and determine the optimal team size based on:

  • Number of independent components (frontend, backend, database, infra, etc.)
  • Technology boundaries (different languages/frameworks = different agents)
  • Parallelization potential (what can be built simultaneously?)

Guidelines:

  • 2 agents: Simple projects with clear frontend/backend split
  • 3 agents: Full-stack apps (frontend, backend, database/infra)
  • 4 agents: Complex systems with additional concerns (testing, DevOps, docs)
  • 5+ agents: Large systems with many independent modules

For each agent, define:

  1. Name: Short, descriptive (e.g., "frontend", "backend", "database")
  2. Ownership: What files/directories they own exclusively
  3. Does NOT touch: What's off-limits (prevents conflicts)
  4. Key responsibilities: What they're building

Step 3: Set Up Agent Team

Enable tmux split panes so each agent is visible:

teammateMode: "tmux"

Step 4: Define Contracts

Before spawning agents, the lead reads the plan and defines the integration contracts between layers. This focused upfront work is what enables all agents to spawn in parallel without diverging on interfaces. Agents that build in parallel will diverge on endpoint URLs, response shapes, trailing slashes, and data storage semantics unless they start with agreed-upon contracts.

Map the Contract Chain

Identify which layers need to agree on interfaces:

Database → function signatures, data shapes → Backend
Backend → API contract (URLs, response shapes, SSE format) → Frontend

Author the Contracts

From the plan, define each integration contract with enough specificity that agents can build to it independently:

Database → Backend contract:

  • Function signatures (create, read, update, delete)
  • Pydantic model definitions
  • Data shapes and types

Backend → Frontend contract:

  • Exact endpoint URLs (including trailing slash conventions)
  • Request/response JSON shapes (exact structures, not prose descriptions)
  • Status codes for success and error cases
  • SSE event types with exact JSON format
  • Response envelopes (flat vs nested — e.g., {"session": {...}, "messages": [...]})

Identify Cross-Cutting Concerns

Some behaviors span multiple agents and will fall through the cracks unless explicitly assigned. Identify these from the plan and assign ownership to one agent:

Common cross-cutting concerns:

  • Streaming data storage: If backend streams chunks to frontend, should chunks be stored individually in the DB or accumulated into one row? (Affects how frontend renders on reload)
  • URL conventions: Trailing slashes, path parameters, query params — both sides must match exactly
  • Response envelopes: Flat objects vs nested wrappers — both sides must agree
  • Error shapes: How errors are returned (status codes, error body format)
  • UI accessibility: Interactive elements need aria-labels for automated testing

Assign each concern to one agent with instructions to coordinate with others.

Contract Quality Checklist

Before including a contract in agent prompts, verify:

  • Are URLs exact, including trailing slashes? (e.g., POST /api/sessions/ vs POST /api/sessions)
  • Are response shapes explicit JSON, not prose descriptions? (e.g., {"session": {...}, "messages": [...]} not "returns session with messages")
  • Are all SSE event types documented with exact JSON?
  • Are error responses specified? (404 body, 422 body, etc.)
  • Are storage semantics clear? (accumulated vs per-chunk)

Step 5: Spawn All Agents in Parallel

With contracts defined, spawn all agents simultaneously. Each agent receives the full context they need to build independently from the start. This is the whole point of agent teams — parallel work across boundaries.

Enter Delegate Mode (Shift+Tab) before spawning. You should not implement code yourself — your role is coordination.

Spawn Prompt Structure

You are the [ROLE] agent for this build.

## Your Ownership
- You own: [directories/files]
- Do NOT touch: [other agents' files]

## What You're Building
[Relevant section from plan]

## Contracts

### Contract You Produce
[Include the lead-authored contract this agent is responsible for]
- Build to match this exactly
- If you need
Полный SKILL.md на GitHub

Установить build-with-agent-team в Claude Code и Claude Desktop

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

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

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

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

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

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

AgentTeamsVsSubagents.pngREADME.mdexample-plan/session-manager-plan.md

FAQ

Что делает скилл build-with-agent-team?

Build a project using Claude Code Agent Teams with tmux split panes. Takes a plan document path and optional team size. Use when you want multiple agents collaborating on a build.

Как установить скилл build-with-agent-team?

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

Скилл build-with-agent-team запускает скрипты?

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

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

Сравнить build-with-agent-team с