From arn-code
Executes structured project plans in Claude Code using experimental Agent Teams, coordinating executor, reviewer, and architect agents through implement-review-gate cycles for complex tasks.
How this skill is triggered — by the user, by Claude, or both
Slash command
/arn-code:arn-code-execute-plan-teamsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Execute a structured project plan using Claude Code's experimental Agent Teams feature. Creates a coordinated team of executor, reviewer, and architect teammates that work together on task implementation. Each task goes through an implement->review->gate cycle within the team.
Execute a structured project plan using Claude Code's experimental Agent Teams feature. Creates a coordinated team of executor, reviewer, and architect teammates that work together on task implementation. Each task goes through an implement->review->gate cycle within the team.
Pipeline position:
arn-code-taskify -> **arn-code-execute-plan-teams** (team: execute -> review -> architect consult -> gate) -> arn-code-review-implementation
This is an alternative to arn-code-execute-plan (subagent-based). Use this when:
If no ## Arness section exists in the project's CLAUDE.md, inform the user: "Arness is not configured for this project yet. Run /arn-implementing to get started — it will set everything up automatically." Do not proceed without it. Task list must exist (run /arn-code-taskify first).
Run via Bash: echo $CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS
If the variable is not set, is empty, or is set to "0" or "false": Inform the user: "This skill requires Claude Code's experimental Agent Teams feature."
Provide setup instructions:
~/.claude/settings.json under "env":
"CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1"
CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 claude
Suggest the alternative: "You can use arn-code-execute-plan instead, which uses subagents and doesn't require Agent Teams."
If enabled: proceed to Step 2.
Read the project's CLAUDE.md and extract the ## Arness section to find:
ask, auto, or manual (if present)Template version check: If Template version and Template updates fields are present, run the template version check procedure documented in arn-code-save-plan Step 1 (Template Version Check) before proceeding. If ## Arness does not contain these fields, treat as legacy and skip.
Ask the user for PROJECT_NAME if not provided in the trigger message
Verify the project directory exists and contains the required structure:
<plans-dir>/<PROJECT_NAME>/
├── INTRODUCTION.md
├── TASKS.md
├── PROGRESS_TRACKER.json
├── plans/PHASE_*.md
└── reports/
If the project directory is missing, suggest running /arn-code-save-plan first
If PROGRESS_TRACKER.json is missing, warn that progress tracking will not be available. Execution can still proceed.
Call TaskList to check for existing tasks
If no tasks exist, tell the user to run /arn-code-taskify first
If tasks already exist with progress, show state and:
Ask (using AskUserQuestion):
"Tasks already exist with progress. How would you like to proceed?"
Options:
Note: Teammates should not claim tasks until Step 4 completes. The lead notifies the team when the task list is structured.
Create ONE team for the entire execution. Determine team size based on the number of unblocked parallel tasks:
Team composition:
Executor teammate(s) (1-2 instances based on task count):
<PROJECT_NAME><plans-dir>/<PROJECT_NAME>/pytest tests/test_specific.py::TestClass, jest --testPathPattern=specific.test.ts), optionally broader module scope, NEVER full test suite<project-folder>/reports/, mark IMPL task as completed via TaskUpdate### Visual Testing configured in CLAUDE.md, include Layer 1 visual testing config (top-level fields only: capture script path, compare script path, baseline directory, diff threshold) in the spawn prompt. Instruct the executor to capture screenshots after implementing UI tasks, same as the dispatch loop executor.Reviewer teammate (1 instance):
<project-folder>/reports/Architect teammate (1 instance, on-call):
For each existing task in the Claude Code task list, create a corresponding REVIEW task:
For Task N (already in task list):
IMPL-N: [original description] if needed for clarityREVIEW-N: Review implementation of Task N via TaskCreate
This creates pairs:
IMPL-1 (unblocked) -> REVIEW-1 (blocked by IMPL-1)
IMPL-2 (blocked by IMPL-1) -> REVIEW-2 (blocked by IMPL-2)
...
Executor teammates claim IMPL tasks via TaskUpdate (set status to in_progress). Reviewer teammate claims REVIEW tasks as they unblock.
The lead (main session) monitors:
<project-folder>/PROGRESS_TRACKER.json, updates the matching phase entry status to "completed" with a completedAt timestamp and the review verdict/cycles, and writes it back to disk. This keeps the tracker current during team execution.Intervention triggers:
When all IMPL and REVIEW tasks are completed:
<project-folder>/PROGRESS_TRACKER.json"completed")overallStatus to "completed" and update lastUpdated### Visual Testing configured in CLAUDE.md, include a visual testing summary: screenshots captured, baselines updated, visual diffs detected. Note any Layer 1 visual regressions that were flagged during execution.Pattern refresh (auto): After finalizing progress tracking, refresh stored pattern documentation.
Read
${CLAUDE_PLUGIN_ROOT}/skills/arn-code-execute-plan/references/pattern-refresh.mdand follow the pattern refresh procedure.
This is automatic and non-blocking. If the refresh fails, note it in the summary but do not block completion.
<project-folder>/PROGRESS_TRACKER.json"<project-folder>/reports//arn-code-review-implementation for a full project review?"/arn-code-execute-plan as alternative## Arness config missing in CLAUDE.md -- suggest running /arn-implementing to get started/arn-code-save-plan to create the project structure/arn-code-taskify to convert TASKS.md into tasks/arn-code-execute-plan)/arn-code-execute-plan (lower cost)Agent Teams use significantly more tokens than the subagent-based arn-code-execute-plan. Expect:
To keep costs manageable:
/arn-code-execute-plan insteadnpx claudepluginhub appsvortex/arness --plugin arn-codeSets up multi-agent teams for complex projects with file-based planning, per-agent directories, and teammate spawning. Triggers on team/swarm/start-project requests.
Spawns implementer agent teams in split panes to execute independent tasks from an implementation plan in parallel, with staggered spec compliance and code quality review gates.
Guides coordination of parallel agent teams (Implementer, Reviewer, Architect) for complex plans, cross-cutting concerns, and communicating work streams.