Agent skill
compact-reviewer:testing-review
Use when reviewing test coverage for Compact contracts, identifying missing edge cases, evaluating testing strategies, or assessing test quality and completeness.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/testing-review
SKILL.md
Testing Review Skill
Evaluate test coverage, quality, and testing strategy for Compact contracts.
When to Use
This skill activates for queries about:
- Test coverage
- Testing strategies
- Edge cases
- Test quality
- Missing tests
Trigger words: test, coverage, edge case, testing strategy, unit test, integration test
Quick Reference
Testing Checklist
| Category | Items to Test |
|---|---|
| Happy path | Normal operations succeed |
| Authorization | Only authorized callers succeed |
| Validation | Invalid inputs are rejected |
| Boundaries | Edge cases at limits |
| State | State changes correctly |
| Errors | Proper failures on errors |
Coverage Requirements
| Priority | Coverage Target |
|---|---|
| Critical (security) | 100% |
| High (core logic) | 90%+ |
| Medium (features) | 80%+ |
| Low (utilities) | 70%+ |
Review Process
1. Coverage Analysis
For each exported circuit:
- Is there a happy-path test?
- Are authorization checks tested?
- Are input validations tested?
- Are edge cases covered?
2. Test Quality
Evaluate test characteristics:
- Clear test names
- Single concern per test
- Proper assertions
- Meaningful error messages
3. Edge Case Identification
Check for coverage of:
- Zero values
- Maximum values
- Empty collections
- Boundary conditions
- Race conditions
References
- Coverage Requirements - Coverage guidelines
- Edge Case Checklist - Common edge cases
Related Skills
- critical-issues - Bug detection
- security-review - Security testing
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?