team-feature
Develop features in parallel with multiple agents using file ownership boundaries and dependency management
Imported description, not reviewed yet
This item came from its original repository and was only scanned automatically; no editor has written an Arabic description for it yet. Read its content yourself before you rely on it. This page is not indexed by search engines until it is reviewed.
Download
Install
After downloading, run the command in a terminal. unzip asks before it replaces any file that is there.
For this project
It goes in: .claude/commands/
mkdir -p .claude/commands && unzip ~/Downloads/agent-teams-team-feature.zip -d .claude/commandsFor your account on the whole machine
It goes in: ~/.claude/commands/
mkdir -p ~/.claude/commands && unzip ~/Downloads/agent-teams-team-feature.zip -d ~/.claude/commands
Instructions
Team Feature
Orchestrate parallel feature development with multiple implementer agents. Decomposes features into work streams with strict file ownership, manages dependencies, and verifies integration.
Pre-flight Checks
- Verify
CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1is set - Parse
$ARGUMENTS:<feature-description>: description of the feature to build--team-size N: number of implementers (default: 2)--branch: git branch name (default: auto-generated from feature description)--plan-first: decompose and get user approval before spawning
Phase 1: Analysis
- Analyze the feature description to understand scope
- Explore the codebase to identify:
- Files that will need modification
- Existing patterns and conventions to follow
- Integration points with existing code
- Test files that need updates
Phase 2: Decomposition
-
Decompose the feature into work streams:
- Each stream gets exclusive file ownership (no overlapping files)
- Define interface contracts between streams
- Identify dependencies between streams (blockedBy/blocks)
- Balance workload across streams
-
If
--plan-firstis set:-
Present the decomposition to the user:
## Feature Decomposition: {feature} ### Stream 1: {name} Owner: implementer-1 Files: {list} Dependencies: none ### Stream 2: {name} Owner: implementer-2 Files: {list} Dependencies: blocked by Stream 1 (needs interface from {file}) ### Integration Contract {shared types/interfaces} -
Wait for user approval before proceeding
-
If user requests changes, adjust decomposition
-
Phase 3: Team Spawn
- If
--branchspecified, use Bash to create and checkout the branch:git checkout -b {branch-name} - Use
TeamCreatetool to create the team withteam_name: "feature-{timestamp}"anddescription - Spawn a
team-leadagent to coordinate - For each work stream, use
Agenttool to spawn ateam-implementer:name:implementer-{n}subagent_type: "agent-teams:team-implementer"prompt: Include owned files, interface contracts, and implementation requirements
Phase 4: Task Creation
- Use
TaskCreatefor each work stream:- Subject: "{stream name}"
- Description: Owned files, requirements, interface contracts, acceptance criteria
- Use
TaskUpdateto setblockedByrelationships for dependent streams - Assign tasks to implementers with
TaskUpdate(setowner)
Phase 5: Monitor and Coordinate
- Monitor
TaskListfor progress - As implementers complete tasks:
- Check for integration issues
- Unblock dependent tasks
- Rebalance if needed
- Handle integration point coordination:
- When an implementer completes an interface, notify dependent implementers
Phase 6: Integration Verification
After all tasks complete:
- Use Bash to verify the code compiles/builds: run appropriate build command
- Use Bash to run tests: run appropriate test command
- If issues found, create fix tasks and assign to appropriate implementers
- Report integration status to user
Phase 7: Cleanup
-
Present feature summary:
## Feature Complete: {feature} Files modified: {count} Streams completed: {count}/{total} Tests: {pass/fail} Changes are on branch: {branch-name} -
Send
shutdown_requestto all teammates -
Call
TeamDeleteto remove team resources
Files
- LICENSE1 KB
- team-feature.md3.6 KB
Comments (0)
No comments yet. Be the first.
Sign in to comment. Commenting comes at level 1 (Member).