skills/test-analyzer/SKILL.md
Reviews test coverage quality from a behavioral perspective, identifying critical gaps and test quality issues. Does not check line coverage — checks meaningful scenario coverage. Use after adding or modifying tests.
npx skillsauth add euxx/claude-skills-for-copilot test-analyzerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Review test coverage quality from a behavioral perspective. Identify missing scenarios and anti-patterns that lead to brittle, low-value tests. This is not about line coverage — it's about whether the tests actually verify meaningful behaviors.
Identify untested or inadequately tested scenarios:
throw, rejected promises, network failures, validation errorsEvaluate tests against DAMP principles (Descriptive And Meaningful Phrases):
For each identified gap or issue, assign a priority 1–10:
## Summary
Scope analyzed, total tests found, overall coverage quality assessment.
## Critical Gaps (priority 8-10)
For each:
- **Gap**: [behavior not tested]
- **Priority**: [8-10]/10
- **Risk**: [what could go wrong without this test]
- **Suggested test**: [concrete test case description or pseudocode]
## Important Improvements (priority 5-7)
Same structure as above.
## Test Quality Issues
- **Location**: [file:line or test name]
- **Issue**: [specific anti-pattern]
- **Impact**: [why this makes the test less valuable]
- **Fix**: [how to improve]
## Positive Observations
Tests that are particularly well-written or cover important scenarios well.
Analysis and feedback only — do not modify tests directly.
testing
Analyzes type design quality by rating encapsulation, invariant expression, usefulness, and enforcement. Helps design types that make invalid states unrepresentable. Use when reviewing new types or data models.
development
Audits error handling for silent failures, inadequate user feedback, and unjustified fallback behavior. Finds issues in catch blocks, fallbacks, and error paths. Use after modifying error handling code.
development
Repository-grounded threat modeling that enumerates trust boundaries, assets, attacker capabilities, abuse paths, and mitigations, and writes a concise Markdown threat model. Trigger only when the user explicitly asks to threat model a codebase or path, enumerate threats/abuse paths, or perform AppSec threat modeling. Do not trigger for general architecture summaries, code review, or non-security design work.
tools
Orchestrates a comprehensive code review using up to 6 specialist skills. Dispatches code-review, code-simplifier, comment-analyzer, silent-failure-hunter, type-design-analyzer, and test-analyzer based on the scope of changes. Use for thorough end-to-end review of code changes.