All skills
Skillintermediate
analyze failures
Analyze test failures to identify root causes, patterns, and suggest targeted fixes.
Claude Code Knowledge Pack7/10/2026
Overview
Analyze test failures to identify root causes, patterns, and suggest targeted fixes.
Steps
- Run the test suite and capture output:
- Parse failing tests:
- Categorize each failure:
- Identify patterns across failures:
- For each failure, trace to the root cause:
- Suggest specific fixes ranked by impact:
Format
Test Results: <passed>/<total> passed, <failed> failed
Failure Groups:
<category>: <count> tests
- <test name>: <root cause>
Rules
- Always run the full test suite, not just failing tests.
- Group related failures to avoid fixing the same issue multiple times.
- Prioritize fixes that unblock the most tests.