You've finished coding a feature and need to identify and fill testing gaps before the code review gate.
| Skill | Role |
|---|
/check-coverage | Assess Unit / Integration / E2E coverage layers |
/test-health | Holistic test health measurement with trends |
/codex-test-gen | Generate unit tests for specific functions |
/post-dev-test | Write integration and E2E tests |
/verify | Run all tests to confirm they pass |
/codex-test-review | Review test adequacy (mandatory before code review) |
/check-coverage or /test-health — assess current state across Unit / Integration / E2E layers
- Identify gaps: which functions lack unit tests? Which flows lack integration tests?
/codex-test-gen <function> — generate unit tests for uncovered functions
/post-dev-test — write integration or E2E tests for uncovered flows
/verify — run all tests, fix any failures
/codex-test-review — mandatory adequacy review; if gaps remain, repeat from step 3
| Situation | Choice |
|---|
| Isolated function without tests? | /codex-test-gen for unit tests |
| Cross-module flow untested? | /post-dev-test for integration tests |
| Test review still finds gaps after generation? | /codex-test-review --continue after adding more tests |
| Coverage is good but tests are fragile? | /simplify to refactor test code |
| Gate | Enforced by | Sentinel |
|---|
| Test adequacy | Behavior | ✅ Tests sufficient / ⛔ Needs additions |
- Clear picture of test coverage across all layers
- Generated unit tests for uncovered functions
- Integration tests for key flows
- Test adequacy review passed
- Ready for code review (
/codex-review-fast)