Fix Failures — Testing skill for Claude Code
Systematically identify, categorize, and fix test/linter failures using appropriate tools and agents.
How to install Fix Failures
Installs to ~/.claude/commands/tstapler-dotfiles-fix-failures.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/tstapler/dotfiles/HEAD/.claude/commands/fix-failures.md -o ~/.claude/commands/tstapler-dotfiles-fix-failures.md Restart Claude Code, or start a new session, for it to be picked up.
What Fix Failures does
description: Systematically identify, categorize, and fix test/linter failures using appropriate tools and agents
Fix Test and Linter Failures
Systematically identify, document, categorize, and fix test/linter failures in the codebase using the most appropriate tools and agents for each failure type.
Workflow
Phase 1: Discovery and Documentation
- Run tests/linters to identify all failures
- If
$1is provided, use that as the test command - Otherwise, detect the
- If
Alternatives in Testing
- Fix Issue — by metabase - Addresses GitHub issues by taking issue number as parameter, analyzing context, implementing sol 46.5k ★
- Skill Debug — Debug issues methodically — use when stuck on errors, test failures, or unexpected behavior 2.8k ★
- Flaky Fix — 不安定なテスト(flaky test)の原因を分析し、テストの安定化を試みます 974 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Triage Errors
Systematically triage and fix errors after a large change, use when you have many test failures or lint errors
Test And Fix
Run tests and fix any failures
Flaky Test
Diagnose a flaky test by running it N times. Delegates to flaky-test-isolator subagent — N runs, signature-gro
i18n Check
Run the i18n locale parity test (en/sk/es) and report or fix any failures
CI Gate
Run the full local CI gate (typecheck, lint, test, build) and fix any failures until it passes green.
Flutter Test
Run Flutter/Dart tests, report failures, and incrementally fix test issues. Covers unit, widget, golden, and i
Related Agents
Auto Error Resolver
Fix compilation errors, build failures, type errors, or test failures. Systematically identifies root causes a
File Topic Analyzer
Use this agent when you need to perform comprehensive file analysis, extract meaningful patterns, identify top
Sc Root Cause Analyst
Systematically investigate complex problems to identify underlying causes through evidence-based analysis and