一键导入
team-implement
Parallel subagent implementation with adversarial review. Trigger: team implement, parallel build, multi-agent build, parallel implementation
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Parallel subagent implementation with adversarial review. Trigger: team implement, parallel build, multi-agent build, parallel implementation
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | team-implement |
| description | Parallel subagent implementation with adversarial review. Trigger: team implement, parallel build, multi-agent build, parallel implementation |
Spawn parallel implementation subagents to build a feature, followed by adversarial review via separate subagents. Each implementer owns specific files and runs their own TDD cycle.
Requires an approved plan. If no plan exists, enter plan mode first.
Spawn parallel Task calls, one per module. Each gets explicit file ownership and TDD instructions.
Task(subagent_type="production-code-engineer",
prompt="You are implementing Module X as part of a larger feature.\n\n
## Your Assignment\n
Files you OWN (only edit these): src/module_x/*, tests/unit/test_module_x.*\n
Files you may READ: [shared types, interfaces]\n\n
## Requirements\n
[acceptance criteria for module X]\n\n
## TDD Workflow (MANDATORY)\n
1. Write failing tests FIRST\n
2. Implement minimum code to pass\n
3. Refactor while keeping tests green\n
4. Run tests: [test command for this module]\n\n
## Constraints\n
- Do NOT edit files outside your assignment\n
- Follow the project's code conventions\n
- Return a summary of what you built and test results")
Task(subagent_type="production-code-engineer",
prompt="You are implementing Module Y...[same pattern]")
Task(subagent_type="production-code-engineer",
prompt="You are implementing integration wiring...\n
Dependencies: Module X and Module Y must be complete first.\n
Files you OWN: src/main.*, tests/integration/*\n...")
Note: If subtasks have dependencies (e.g., integration depends on modules), run the independent tasks first, wait for results, then spawn dependent tasks.
After all implementers complete:
make check on the combined resultmake check after fixThe review subagents MUST use different agent definitions than the implementation subagents.
Spawn review subagents (via /team-review pattern):
Task(subagent_type="senior-code-reviewer",
prompt="<.claude/agents/code-reviewer.md>\n\nReview: {all changed files}")
Task(subagent_type="security-code-auditor",
prompt="<.claude/agents/security-reviewer.md>\n\nAudit: {all changed files}")
Task(subagent_type="senior-code-reviewer",
prompt="<.claude/agents/test-reviewer.md>\n\nReview tests: {test files}")
For each finding (Critical → Major):
make check after fixmake check — must pass## Team Implementation Summary
**Task:** [from plan]
**Quality Score:** [N]/100
### Subagent Assignments
| Subagent | Role | Files Owned | Status |
|----------|------|-------------|--------|
| 1 | Implementer (Module X) | src/module_x/* | Complete |
| 2 | Implementer (Module Y) | src/module_y/* | Complete |
| 3 | Integration | src/main.*, tests/int/* | Complete |
| 4 | Code Reviewer (read-only) | — | Reviewed |
| 5 | Security Reviewer (read-only) | — | Reviewed |
### Adversarial Review
- Review rounds: [N]
- Issues found: [N critical, N major, N minor]
- Issues fixed: [N]
### Verification
- make check: PASS
- Quality score: [N]/100
Create a new feature using TDD and tracer bullets. Trigger: new feature, add feature, implement feature, build feature
Break features into tracer bullet stories and tasks. Trigger: decompose, break down, split feature, tracer bullet, stories, tasks, decompose feature
Deploy to staging or production with safety checks. Trigger: deploy, ship, release, push to staging, push to production
Build or update .context.md for a module. Trigger: explore module, explore, understand module, what does this module do, context file, update context
Fix a bug with root cause analysis and regression testing. Trigger: fix bug, broken, regression, error, crash, not working, failing
Run linters, formatters, and static analysis. Trigger: lint, format, standards, style check, code quality, lint setup