agent-team
Orchestrate a multi-agent development team (PM, Architect, Developer, Designer, Tester, Reviewer) through structured phases with human-in-the-loop checkpoints. Use when asked to run a project with a team, coordinate multiple agents, or build something end-to-end with role separation.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-14
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- agent-team
- license
- Apache-2.0
- metadata
- { "author": "ooe", "version": "1.1.0" }
- description
- Orchestrate a multi-agent development team (PM, Architect, Developer, Designer, Tester, Reviewer) through structured phases with human-in-the-loop checkpoints. Use when asked to run a project with a team, coordinate multiple agents, or build something end-to-end with role separation.
- dependencies
- [ "sdlc", "review-adversarial" ]
02 资源文件 16
- 资产文件assets/team-architect.json769 B
- 资产文件assets/team-designer.json752 B
- 资产文件assets/team-developer.json1.0 KB
- 资产文件assets/team-lead.json1.3 KB
- 资产文件assets/team-pm.json766 B
- 资产文件assets/team-reviewer.json648 B
- 资产文件assets/team-tester.json945 B
- 参考文档CHANGELOG.md915 B
- 参考文档references/prompts/architect.md1.3 KB
- 参考文档references/prompts/designer.md1.4 KB
- 参考文档references/prompts/developer.md1.3 KB
- 参考文档references/prompts/pm.md1.3 KB
- 参考文档references/prompts/reviewer.md1.6 KB
- 参考文档references/prompts/tester.md1.3 KB
- 脚本scripts/agents.py4.6 KB
- 脚本scripts/orchestrator.py18.9 KB
03 SKILL.md 正文
agent-team
Multi-agent project orchestrator. Routes a project idea through structured phases, spawning specialized agents for each and pausing for the Product Owner's (human's) approval at every transition. You are the orchestrator — you coordinate, you do not implement.
The sdlc skill governs how each agent does their work (branch, commit, verify, land). This skill
governs who does what and in what order.
When to Use
- User says "build this with the team", "start a project", "use the agent team"
- User provides a project idea and wants structured multi-agent development
- User asks to "plan and build" something end-to-end with role separation
Prerequisites
Install agent configs before first use:
python scripts/agents.py install
Orchestration Protocol
1. Initialize: python scripts/orchestrator.py init --task "build X" [--skip-design]
2. Next: python scripts/orchestrator.py next
→ returns: phase, lead agent, context to feed, prompt template
3. Spawn the subagent with the returned prompt
4. Record: python scripts/orchestrator.py advance <phase> --output <artifact-file>
5. Present output to human, ask for decision
6. Decision: python scripts/orchestrator.py decide <phase> --action approve [--feedback "..."]
7. Repeat from step 2 until next returns {"phase": null, "status": "complete"}
8. Summary: python scripts/orchestrator.py summary
Phase Flow
Phase 1: INTAKE → team-pm produces project brief
⏸️ Human approves brief
Phase 2: PLANNING → team-pm (+ team-architect input) produces project plan
⏸️ Human approves plan
Phase 3: ARCHITECTURE → team-architect produces system design
⏸️ Human approves architecture
Phase 4: DESIGN → team-designer produces UI/UX specs (skippable)
⏸️ Human approves design
Phase 5: IMPLEMENTATION → team-developer writes code (follows sdlc internally)
⏸️ Human reviews implementation
Phase 6: TESTING → team-tester validates implementation
⏸️ Human reviews test results
Phase 7: REVIEW → team-reviewer audits quality & security
⏸️ Human decides: ship or rework
(loops back to IMPLEMENTATION if NEEDS_CHANGES, max 2 loops)
Phase 8: DELIVERY → team-pm packages final documentation
⏸️ Human accepts delivery
Human Decisions
At each checkpoint the Product Owner may:
| Action | Effect |
|---|---|
approve |
Advance to next phase |
revise |
Re-run current phase with feedback |
skip |
Skip this phase (only design is skippable by default) |
abort |
Stop the project, save state |
Subagent Spawning
For each phase, spawn the lead agent via the subagent tool. Feed them:
- The task context from
next(includes relevant prior artifacts) - Any human feedback from a previous
revisedecision
{
"task": "<context from orchestrator.py next>",
"stages": [
{
"name": "<phase>",
"role": "<lead agent from next>",
"prompt_template": "<prompt from next>"
}
]
}
For phases with supporting agents (e.g., planning needs architect input), spawn them in parallel:
{
"task": "...",
"stages": [
{"name": "planning", "role": "team-pm", "prompt_template": "..."},
{"name": "arch-input", "role": "team-architect", "prompt_template": "..."}
]
}
SDLC Integration
The team-developer agent MUST follow the sdlc skill during implementation:
preflight.pybefore starting worklifecycle.py init --tier <appropriate>to track the implementation sub-lifecycle- Proper branch isolation, commits, verification
The team-reviewer agent should chain to review-adversarial for the code review phase.
Context Threading
Each phase's approved output becomes input for subsequent phases:
| Phase | Feeds into |
|---|---|
| Brief | Planning, Architecture, Design, Testing |
| Plan | Architecture, Implementation, Delivery |
| Architecture | Design, Implementation, Testing, Review |
| Design | Implementation |
| Test Results | Review, Delivery |
| Review Report | Delivery (or back to Implementation) |
The next command handles this automatically — it reads completed artifacts and builds the context.
Review Loop
If the reviewer's output contains NEEDS_CHANGES:
- Present findings to the human individually, with your own recommendation on each
- Get a per-finding disposition — fix / dispute / accept-risk. Approving "the rework" as a block is not a disposition; the point is to kill the findings that should not be acted on at all
- Send only the
fixset back to implementation, with the human's feedback - Maximum 2 review loops before forcing a human decision on whether to ship anyway
The same gate applies to the Tester's output, not just the Reviewer's. A tester reporting a regression is reporting an opinion; it gets triaged like any other finding before a developer is sent to act on it.
State File
State lives in .agent-team-state.json at the repo root. Add it to .gitignore.
Scripts
orchestrator.py — State Machine
python scripts/orchestrator.py init --task "build a REST API" [--skip-design]
python scripts/orchestrator.py next
python scripts/orchestrator.py advance implementation --output project-output/05-code.md
python scripts/orchestrator.py decide implementation --action approve
python scripts/orchestrator.py decide review --action revise --feedback "fix the SQL injection"
python scripts/orchestrator.py status
python scripts/orchestrator.py summary
Exit codes: 0 = ok, 1 = refused/user error, 2 = missing state.
agents.py — Agent Config Management
python scripts/agents.py install # Install agent configs to ~/.kiro/agents/
python scripts/agents.py install --local # Install to .kiro/agents/ (project-local)
python scripts/agents.py list # Show installed team agents
python scripts/agents.py uninstall # Remove team agent configs
Important Rules
- Never do the work yourself. Always spawn the appropriate agent.
- Always pause for human approval between phases. Never auto-advance.
- Thread context forward — use
nextto get the right context automatically. - Respect skip decisions — if human skips Design, don't feed a missing design spec to the Developer.
- On revision — include the human's feedback in the re-run prompt.
- On abort — save current state; the project can resume later via
next. - Developer follows sdlc — the implementation phase is not freeform; it uses the sdlc skill internally.
- Findings are proposals, not work orders. Never dispatch a fix for a tester or reviewer
finding the human has not dispositioned. Agents write findings that read like instructions, and
acting on them feels like progress — but an un-triaged finding can send the team down a branch
of work that should never have started, and each fix along it looks individually reasonable. Ask
two things with the findings: is the premise true, and should the behaviour it asks for exist at
all? See the
review-adversarialskill's triage gate for a worked example of the cost.
04 同仓库更多 Skills
craft-build
Refresh the Craft macOS app builds — pull, cargo-build, package a .dmg for each app in the suite on the build Mac, and publish the artifacts to a fileserver. Use when asked to "refresh the craft builds", "rebuild the craft/mac apps", "update the open-source app builds", "deploy/publish the craft apps", or to add a new app repo to the set. Builds run on the configured build host over ssh, NOT inside a primate. Host, workspace root, repo manifest and deploy destination come from env or ~/.config/craft-build.conf (never hardcoded here).
spark-build
Build the cuda-* primate images (cuda-llama-cpp, cuda-comfy, cuda-vllm — the shared base for g.deceiver's six vLLM services) on a Blackwell GB10, freeing that box's unified memory first by stopping whatever it runs, then restarting it. NOTE the standalone coding cluster (qwen3-coder-next) was RETIRED 2026-09-05, so a "drain" is no longer a coding outage — it's a g.deceiver-service outage (hutch = memory stack; starsky = the live 27B brain, never build there mid-stream). Checks memory BEFORE stopping anything; --allow-outage / --skip-drain control the trade.
spark-bench
Run LLM evaluation harnesses (AIME 25, GPQA, LiveCodeBench v6, tau2-bench, SWE-Bench Verified via SWE-agent) against the spark-cluster from a dedicated x86 bench host (intel-nuc.tworivers). The harness runs in the spark-bench primate; only the OpenAI-compatible endpoint URL needs to change between baseline (cluster LB) and test (ad-hoc model server) runs.
secret-ops
Decrypt/encrypt this project's SOPS+age secrets and manage the private hemlighet repo. Use whenever a task reads or changes a secret — sops, age, vault, hemlighet, a *.sops file, personal/* dotfiles. Crypto runs on the configured secret host over ssh, NOT inside a primate. Host/identity come from env or ~/.config/secret-ops.conf (never hardcoded here).
sdlc
The default software development lifecycle every agent follows — intake, plan, isolate, implement, verify, review, land, deploy, observe, release. Use at the start of any coding task, and whenever deciding whether work is ready to deploy or ready to merge.
review-adversarial
Adversarial code review with structured findings and a review loop. Use when asked to critically review code, diffs, or design docs with an adversarial mindset.