/analyze-tests
Analyzes Python test suites for quality, coverage, and improvement opportunities.
$ npx -y skills add athola/claude-night-market --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/analyze-tests
Context preview
What this command does when you run it.
Analyzes Python test suites for quality, coverage, and improvement opportunities.
Command definition
analyze-tests.mdAnalyze Tests Command
Usage
Analyzes Python test suites for quality, coverage, and improvement opportunities.
Basic Usage
/analyze-tests
Analyzes tests in the current directory.
Specific Path
/analyze-tests tests/unit/
Analyzes tests in a specific directory.
What It Does
1. **Discovers Tests**: Finds all test files matching `test_*.py` or `*_test.py` 2. **Coverage Analysis**: Reports test coverage metrics 3. **Quality Assessment**: Evaluates test structure, naming, and patterns 4. **Improvement Suggestions**: Provides specific recommendations 5. **Gap Identification**: Identifies untested code paths
Analysis Categories
- **Structure**: Test organization, fixture usage, conftest patterns
- **Coverage**: Line coverage, branch coverage, missing lines
- **Quality**: Test naming, assertions, independence
- **Patterns**: AAA pattern adherence, parameterization usage
- **Performance**: Test execution time, slow test identification
Output Format
For each test module:
- Test count and coverage percentage
- Pattern compliance score
- Specific improvement recommendations
- Critical issues requiring attention
Examples
# Analyze all tests with coverage
/analyze-tests --coverage
# Focus on quality patterns
/analyze-tests --quality-only
# Generate detailed report
/analyze-tests --report detailed
Integration
Uses the `python-testing` skill's analysis tools:
- `test-analyzer`: Quality and pattern analysis
- `coverage-reporter`: Coverage metrics and gaps
- `test-runner`: Execution and timing analysis
This command helps maintain high-quality test suites that follow pytest best practices.
Read more
Analyze Tests Command
Usage
Analyzes Python test suites for quality, coverage, and improvement opportunities.
Basic Usage
/analyze-tests
Analyzes tests in the current directory.
Specific Path
/analyze-tests tests/unit/
Analyzes tests in a specific directory.
What It Does
1. **Discovers Tests**: Finds all test files matching `test_*.py` or `*_test.py` 2. **Coverage Analysis**: Reports test coverage metrics 3. **Quality Assessment**: Evaluates test structure, naming, and patterns 4. **Improvement Suggestions**: Provides specific recommendations 5. **Gap Identification**: Identifies untested code paths
Analysis Categories
- **Structure**: Test organization, fixture usage, conftest patterns
- **Coverage**: Line coverage, branch coverage, missing lines
- **Quality**: Test naming, assertions, independence
- **Patterns**: AAA pattern adherence, parameterization usage
- **Performance**: Test execution time, slow test identification
Output Format
For each test module:
- Test count and coverage percentage
- Pattern compliance score
- Specific improvement recommendations
- Critical issues requiring attention
Examples
# Analyze all tests with coverage /analyze-tests --coverage # Focus on quality patterns /analyze-tests --quality-only # Generate detailed report /analyze-tests --report detailed
Integration
Uses the `python-testing` skill's analysis tools:
- `test-analyzer`: Quality and pattern analysis
- `coverage-reporter`: Coverage metrics and gaps
- `test-runner`: Execution and timing analysis
This command helps maintain high-quality test suites that follow pytest best practices.
A plugin marketplace for Claude Code. Install only the plugins you need to run git workflows, code review, spec-driven development, and autonomous agents from inside your Claude Code session.
Other commands on claude-night-market.
- /aggregate-logs
Generate LEARNINGS.md from skill execution logs.
Open command - /analyze-skill
Analyze skill file complexity metrics and generate modularization recommendations for splitting or progressive loading.
Open command - /bulletproof-skill
Harden skills against rationalization and bypass behaviors
Open command - /context-report
Generate context optimization report for skill directories
Open command - /create-command
Create slash commands with brainstorming and best practices
Open command - /create-hook
Create hooks with brainstorming and security-first design
Open command

