comprehensive-test-review
Comprehensive Test Review
Perform thorough test review for the specified test files or directories.
When to Use
- Reviewing test coverage before a release
- Auditing test quality after major refactoring
- Checking tests for completeness and best practices
- Identifying gaps in test suites
Test Review Process
Standard Checklist
Coverage Requirements:
- Minimum 80% line and branch coverage
- Critical paths have 95%+ coverage
- All public functions have at least one test
- Edge cases are explicitly tested
Test Quality:
- Tests follow AAA (Arrange-Act-Assert) pattern
- Test names describe behavior, not implementation
- Each test verifies one logical unit
- Tests are isolated and independent
Mocking Standards:
- Uses the project's mocking framework appropriately
- Mocks are scoped appropriately
- No over-mocking of implementation details
- External dependencies are properly stubbed
Type Safety:
- All fixtures have complete type hints
- Test functions have explicit return types
- Using modern language features for type annotations
Additional Examination Points
Beyond the standard checklist:
- Test Isolation: No shared state between tests
- Mock Appropriateness: Mocking only external dependencies
- Execution Time: Identifying slow tests for optimization
- Flaky Patterns: Tests dependent on timing, order, or external state
- Naming Clarity: Test names that explain intent and expected behavior
Analysis Process
- Gather test files in specified path
- Run coverage analysis with
{test command from language manifest} - Check each test against the standard checklist
- Identify gaps in coverage and quality
- Generate recommendations prioritized by impact
Output Format
Provide findings in this structure:
## Test Review Summary
### Coverage Analysis
- Overall: X%
- Critical modules: Y%
- Gaps identified: [list]
### Quality Issues
**HIGH Priority:**
- [Issue with location and fix]
**MEDIUM Priority:**
- [Issue with recommendation]
**LOW Priority:**
- [Minor improvements]
### Recommendations
1. [Prioritized action items]
Related Skills
- analyze-test-failures: Detailed analysis of specific test failures
- test-failure-mindset: Set investigative approach for session
More from jamie-bitflight/claude_skills
perl-lint
This skill should be used when the user asks to lint Perl code, run perlcritic, check Perl style, format Perl code, run perltidy, or mentions Perl Critic policies, code formatting, or style checking.
24brainstorming-skill
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or when users request help with ideation, marketing, and strategic planning. Explores user intent, requirements, and design before implementation using 30+ research-validated prompt patterns.
11design-anti-patterns
Enforce anti-AI UI design rules based on the Uncodixfy methodology. Use when generating HTML, CSS, React, Vue, Svelte, or any frontend UI code. Prevents "Codex UI" — the generic AI aesthetic of soft gradients, floating panels, oversized rounded corners, glassmorphism, hero sections in dashboards, and decorative copy. Applies constraints from Linear/Raycast/Stripe/GitHub design philosophy: functional, honest, human-designed interfaces. Triggers on: UI generation, dashboard building, frontend component creation, CSS styling, landing page design, or any task producing visual interface code.
7python3-review
Comprehensive Python code review checking patterns, types, security, and performance. Use when reviewing Python code for quality issues, when auditing code before merge, or when assessing technical debt in a Python codebase.
7hooks-guide
Cross-platform hooks reference for AI coding assistants — Claude Code, GitHub Copilot, Cursor, Windsurf, Amp. Covers hook authoring in Node.js CJS and Python, per-platform event schemas, inline-agent hooks and MCP in agent frontmatter, common JSON I/O, exit codes, best practices, and a fetch script to refresh docs from official sources. Use when writing, reviewing, or debugging hooks for any AI assistant.
7agent-creator
Create high-quality Claude Code agents from scratch or by adapting existing agents as templates. Use when the user wants to create a new agent, modify agent configurations, build specialized subagents, or design agent architectures. Guides through requirements gathering, template selection, and agent file generation following Anthropic best practices (v2.1.63+).
6