agent-team
Create and orchestrate a Claude Code agent team for feature implementation
Instalar con Codex o Claude Copia este prompt, pรฉgalo en Codex, Claude u otro asistente, y deja que revise la pรกgina de la skill y la instale por ti.
Menรบ
Create and orchestrate a Claude Code agent team for feature implementation
Instalar con Codex o Claude Copia este prompt, pรฉgalo en Codex, Claude u otro asistente, y deja que revise la pรกgina de la skill y la instale por ti.
Basado en la clasificaciรณn ocupacional SOC
Run an agent team to implement a planned feature
Post-merge cleanup for a completed feature
Naming conventions for features, branches, docs, and commits
Brainstorm a feature, produce design + e2e test plan, and create a draft PR
Generate blackbox e2e smoke test plans for features
| name | agent-team |
| description | Create and orchestrate a Claude Code agent team for feature implementation |
Give this to the team lead session along with an implementation plan and test plan.
Create a Claude Code Agent Team.
Before starting ensure the following is true. If not, then terminate early.
Note: DO NOT START IF THE MANDATORY INPUTS ARE missing Each agent team requires the following inputs.
<docsDir>/ โ all pipeline documents live here.
design.md โ What we want the agent team to buildtesting-plan.md โ How to verify that what the agent team built worksAll documents live in a single feature directory. Ensure all documents are committed.
<docsDir>/
โโโ 01-design.md # Step 0: Human + Architect
โโโ 02-testing-plan.md # Step 0: Human + Architect
โโโ 03-implementation-plan.md # Step 1: Planner
โโโ 04-testing-feedback.md # Step 3: Tester
โโโ 05-code-review-feedback.md # Step 5: Code Reviewer
Team lead should give each teammate this instruction always on startup, in addition to task context and other communication.
1. Always use Opus. Also use opus subagents to do things faster where you see appropriate.
2. Only work on tasks that your teammate tells you to . DO NOT self claim tasks. All managed exclusively by the team lead โ no member picks up work on its own, ever. Wait idle until the lead assigns work.
3. Don't do beyond what you are told and is in scope of task. You will be punished for over-enthusiasm.
4. You have access to architect. <INSERT FULL DETAILED ARCHITECT SECTION HERE>
5. If for any reason you cannot exactly do what you were supposed to because you don't have access, or things aren't setup properly it's okay to pause and ask for human intervention. DO NOT ASSUME and do short work arounds.
codex --yolo exec resume <codex session id> <PROMPT>.<docsDir>/design.md<docsDir>/implementation-plan.mddesign.md and create an implementation plan using /writing-plans skill.architect on your plan, ask for feedback. If you have deviated from architect's instructions, explain to architect and see if they have feedback still. If yes - incorporate that in the plan.testing-plan.md. That is meant for the tester teammate.<docsDir>/implementation-plan.md/executing-plans skill with /subagent-driven-development skill. Use Opus sub-agents.<docsDir>/testing-plan.md, access to the branch with implemented changes.<docsDir>/testing-feedback.md โ pass/fail report with exact command output as evidence. If testing-feedback.md already exists, append latest run feedback./plan, then wait for code changes before running tests.<docsDir>/testing-feedback.md (the failure report from Tester)./systematic-debugging to identify issues in plan mode first.<docsDir>/testing-feedback.md (pass evidence), branch with implemented changes.<docsDir>/code-review-feedback.md โ raw feedback collection, no prioritisation.gh api for comments + reviews + CI results (no own opinion).code-review-feedback.md.code-review-feedback.md is produced.code-review-feedback.md is done.โโ TEAM MEMBER โโ โ Agent team session (Planner, Implementer, Tester, Fixer, Code Reviewer)
โโ TEAM LEAD โโ โ You, the orchestrator
** ARCHITECT ** โ External Codex consultant (not a team member)
ใskill-nameใ โ Skill invocation (e.g.ใ/writing-plansใ)
[X] CLOSE โ Session terminated after this step
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ STEP 0 โโ TEAM LEAD โโ + ** ARCHITECT ** โ
โ โ
โ Plan together. Produce `design.md` + `testing-plan.md` โ
โ in `<docsDir>/`. โ
โ Give team: feature directory path + inputs. โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
v
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ STEP 1 โโ PLANNER โโ โ
โ โ
โ 1. Write implementation plan usingใ/writing-plansใ โ
โ 2. Simplify plan where possible โ
โ 3. ** ARCHITECT ** reviews plan, Planner incorporates feedback โ
โ [X] CLOSE session โ
โ โ
โ โโ NOTE โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ โโ TESTER โโ can start here โ create testing strategy, โ โ
โ โ then wait for code changes before running tests. โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
v
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ STEP 2 โโ IMPLEMENTER โโ โ
โ โ
โ 1. Execute plan usingใ/executing-plansใ+ใ/subagent-driven-devใ โ
โ 2. Simplify and review changes โ
โ 3. Does NOT raise PR โ
โ [X] CLOSE session โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
v
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ STEP 3 โโ TESTER โโ โ runs full verification suite โ
โ โ
โ Only tests changes, using provided test plan |
| no code review feedback. โ
โ Acts as standalone functional tester (does not know codebase, โ
โ just verifies). โ
โ โ
โ โโโ PASS โโโ โโโ FAIL โโโ โ
โ โ โ โ โ โ
โ v โ v โ โ
โ Step 5 โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ โ STEP 4 โโ FIXER โโ โ โ
โ โ โ โ โ
โ โ โ 1. Plan usingใ/systematic-debugใ โ โ
โ โ โ 2. Execute fixes โ โ
โ โ โ 3. Tell โโ TESTER โโ to re-test โ โ
โ โ โ 4. Loop until Tester is happy โ โ
โ โ โ [X] CLOSE session โ โ
โ โ โโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโ โ
โ โ โ โ
โ โ v โ
โ โ โโ TESTER โโ re-tests โ
โ โ โ โ
โ โโโโโโโ<โโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ PASS
v
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ STEP 5 โโ CODE REVIEWER โโ โ
โ โ
โ 1. Create PR โ
โ 2. Wait ~10 min for reviewers to comment on GitHub โ
โ 3. Wait for all GitHub checks to run โ
โ 4. Collect ALL raw feedback (no own opinion) โ
โ 5. Produce `code-review-feedback.md` โ
โ [X] CLOSE session โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
v
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ STEP 6 โโ TEAM LEAD โโ tells ** ARCHITECT **: โ
โ โ
โ 1. Review all findings (`code-review-feedback.md`, โ
โ `testing-feedback.md`, PR link, โ
โ start-end-commit) โ
โ 2. Prioritize & fix remaining testing feedback โ
โ 3. One last architecture smell review, fix that โ
โ 4. Make a commit โ
โ 5. โโ TEAM LEAD โโ checks and pushes PR โ
โ 6. โโ TESTER โโ RETESTS โ
โ โ
โ [Alive: โโ TESTER โโ + โโ TEAM LEAD โโ + ** ARCHITECT **] โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
v
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ STEP 7 โโ DONE โโ TEAM LEAD โโ โ
โ โ
โ Shut down โโ TESTER โโ โ clean up team โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโ PLANNER โโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ Step 1 only
โโ IMPLEMENTER โโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ Step 2 only
โโ TESTER โโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ Step 1โ6 (stays alive)
โโ FIXER โโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ Step 4 only (if needed)
โโ CODE REVIEWER โโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ Step 5 only
โโ TEAM LEAD โโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ Always alive
** ARCHITECT ** โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ Step 0, 1, 6
Step 0 Human + Architect โ design.md, testing-plan.md
Step 1 Planner โ implementation-plan.md (reads design.md)
Step 2 Implementer โ code on branch (reads implementation-plan.md)
Step 3 Tester โ testing-feedback.md (reads testing-plan.md)
Step 4 Fixer โ fixed code (reads testing-feedback.md)
Step 5 Code Reviewer โ code-review-feedback.md (reads testing-feedback.md)
Step 6 Architect โ final fixes (reads code-review-feedback.md + testing-feedback.md)
implementation-plan.md, testing-feedback.md, code-review-feedback.md along with all docs to the branch. These are traceability artifacts.code-review-feedback.md was collected before subsequent fix commits, append a note with the latest review status.ps aux | grep to verify. Focus only on things started in this session.git status โ must show clean working tree, branch up to date with remote.