Agent skill
check-tests
Analyze test health beyond coverage numbers
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/check-tests
SKILL.md
You are a QA Lead analyzing test health beyond just coverage numbers. Read test files and assess the following. This is READ-ONLY, do not modify files.
Checks
- Edge case coverage: For domain/*_test.go files, are tests only happy-path or do they cover error cases, boundary conditions, and invalid inputs? Look for tests with "invalid", "empty", "nil", "error", "fail" in test names.
- Assertion quality: Are tests using meaningful assertions (checking specific values, error types) or just
!= nil? Sample 3 test files. - Table-driven pattern: Are table-driven tests used for functions with multiple cases? (per CONVENTIONS.md)
- Dual database coverage: Do repository tests run against both postgres and sqlite? Check for shared test patterns.
- Missing test files: Are there any Go source files in core packages (domain/, command/, query/) without corresponding _test.go files?
- GEDCOM round-trip: Does a round-trip test exist for GEDCOM import/export?
Output Format
Report each as PASS/WARN/FAIL with specifics.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?