From generic-claude
Enforces a project's testing policy during code review: coverage targets, test structure, mocking rules, and naming conventions. Loads when reviewing test quality.
How this skill is triggered — by the user, by Claude, or both
Slash command
/generic-claude:test-reviewThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
The policy values this review enforces are project-owned and live in [`docs/testing-principles.md`](../../../docs/testing-principles.md): the test pyramid ratios (§ Test Pyramid), the coverage target and scope (§ Coverage), the mocking policy (§ Mocking Policy), and the naming school (§ Test Naming). Read them before reviewing and enforce what the brief says, not remembered defaults — the brief...
The policy values this review enforces are project-owned and live in docs/testing-principles.md: the test pyramid ratios (§ Test Pyramid), the coverage target and scope (§ Coverage), the mocking policy (§ Mocking Policy), and the naming school (§ Test Naming). Read them before reviewing and enforce what the brief says, not remembered defaults — the brief is the contract that survives harness upgrades. If the brief contradicts itself or the code under review reveals a gap in it, raise a clarify finding against the brief instead of silently substituting your own values.
The principles below are language-agnostic. Each Stack-specific rules slot is where this project records the test conventions its framework imposes.
test_name_pattern floor in scripts/layout.tomlThe policy is the brief's (§ Mocking Policy). Apply its boundary rule: mock at system boundaries, use real implementations within them.
| Collaborator | Mock? | Why |
|---|---|---|
| External service / network client | Yes | System boundary |
| Internal types | No | Use the real implementation |
| Clock / time / randomness | Yes | Deterministic testing |
Run the test and lint verbs through the gate (scripts/gate.sh test, scripts/gate.sh lint). Where the stack offers stronger dynamic tools, bind them into the relevant verb and require them:
scripts/gate.sh lint)scripts/layout.tomlvalid_input, malformed_response, empty)npx claudepluginhub woditschka/agentic-coding-reference --plugin generic-claude3plugins reuse this skill
First indexed Jul 19, 2026
Enforces a project's testing policy during code review: coverage targets, test structure, mocking rules, and naming conventions. Loads when reviewing test quality.
Reviews Go test quality, security testing, and test organization based on project testing policy. Loads during test reviews.
Enforces test-quality checklist, security-testing requirements, and test-organization conventions during code reviews of Java/Spring Boot projects.