원클릭으로
team-add-tests
Add critical test coverage — tests ONLY for functionality that could cause production disasters
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Add critical test coverage — tests ONLY for functionality that could cause production disasters
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | team-add-tests |
| description | Add critical test coverage — tests ONLY for functionality that could cause production disasters |
| argument-hint | <area or module to add tests for> |
| disable-model-invocation | true |
| allowed-tools | Bash(git *), TaskCreate, TaskUpdate, TaskList, TaskGet |
Add tests for CRITICAL functionality only. Test the 20% that prevents 80% of disasters.
Area to cover: $ARGUMENTS
Enable with CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1
Create a team and spawn teammates:
add-tests-<area-slug>Create the following task list with dependencies:
| # | Task | Owner | Blocked By |
|---|---|---|---|
| 1 | Create branch test/critical-coverage-<area> from main | shipper | — |
| 2 | Identify CRITICAL untested code paths | reviewer | 1 |
| 3 | Write minimal tests for critical application paths | full-stack-developer | 2 |
| 4 | Write minimal tests for critical data integrity paths (if needed) | database-admin | 2 |
| 5 | Run full test suite including new tests | shipper | 3, 4 |
| 6 | Update documentation for new test coverage | documentor | 5 |
| 7 | Commit and create PR to main | shipper | 5, 6 |
Critical = code that could:
Skip tests for:
Parallelism: Tasks 3 and 4 can run simultaneously.
Execute sequentially using the Task tool:
Task(shipper, "Create branch test/critical-coverage-<area> from main")Task(reviewer, "Identify CRITICAL untested code in $ARGUMENTS — focus on auth, data integrity, payments, outage risks")Task(full-stack-developer, "Write minimal tests for critical paths: <reviewer findings>")Task(database-admin, "Write data integrity tests: <reviewer findings>") — only if neededTask(shipper, "Run full test suite including new tests")Task(documentor, "Update docs to reflect new test coverage for: $ARGUMENTS")Task(shipper, "Commit and create PR: test: add critical coverage for <area>")┌─────────┐ ┌──────────┐ ┌──────────────────┐ ┌─────────┐ ┌────────────┐ ┌─────────┐
│ Shipper │────►│ Reviewer │────►│ Full Stack Dev │────►│ Shipper │────►│ Documentor │────►│ Shipper │
│ Branch │ │ Identify │ │ + DB Admin (||) │ │Run Tests│ │ Update Docs│ │Commit+PR│
└─────────┘ │ Critical │ │ Write Tests │ └─────────┘ └────────────┘ └─────────┘
│ Gaps │ └──────────────────┘
└──────────┘
This is a time-boxed effort. Spend hours, not days. The goal is not comprehensive coverage — it's protecting against disasters. Write the minimum tests that prevent the maximum damage.
Build and deploy features — branch, implement, commit, review, test, deploy, PR/merge
shadcn/ui component patterns including Radix UI primitives, CVA variants, form components with React Hook Form, and Tailwind CSS styling. Use when creating UI components, building forms, implementing design systems, or working with shadcn/ui.
List all available tools with their signatures and purposes
Analyze Claude Code audit logs — session summaries, metrics, timelines, anomaly detection, and claim verification
Technical debt and refactoring — analyze, refactor, and validate code improvements
Create a new custom agent using the meta-agent with guided requirements gathering