Root Cause Fix — Testing skill for Claude Code
Root-cause-first TDD loop for any bug or data fix.
How to install Root Cause Fix
Installs to ~/.claude/commands/remus3-legion-wallpaper-root-cause-fix.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/Remus3/Legion-Wallpaper/HEAD/.claude/commands/root-cause-fix.md -o ~/.claude/commands/remus3-legion-wallpaper-root-cause-fix.md Restart Claude Code, or start a new session, for it to be picked up.
What Root Cause Fix does
description: Root-cause-first TDD loop for any bug or data fix. Forces a failing reproduction test BEFORE touching production code, a deliberate grep for every sibling case sharing the same root cause, then the minimal fix, then an explicit corrupted-data backfill check. Use whenever a bug is reported or a data/pollution/scorer fix is needed - it converts a too-narrow first attempt into a provably-complete one.
**SUBAGENT-FIRST (standing protocol, operator 2026-06-20).** Always use su
Alternatives in Testing
- L Debug Trace — Analytically debug issues by tracing data flow through code - no logs, no test-and-see 3k ★
- Test Fixing — Detect failing tests and propose patches or fixes 475 ★
- Create Seeder — Scaffold a seeder and factory for a module to populate test data 325 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
St Debug
Hypothesis-driven debugging with observation-only instrumentation and user reproduction; fixes route through t
Debugging
Debug a bug, crash, failing test, or broken build to root cause
Logic Locate
Locate the root cause of a confirmed failure — use when you have a stack trace, failing test, or wrong output
Hatch3r Bug Pipeline
Run a known-cause bug fix through a 3-phase test-first pipeline -- reproduce + root-cause, regression-test + f
Systematic Debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes - four-phase frame
J Debug
Systematic bug investigation — root cause analysis, not random fixes. Use when a test fails, a bug appears, or
Related Agents
Omd Critic
Reads the full run output, user feedback, and persona ABANDONs, then writes a root-cause critique of omd-maste
Shopify Debugger
Use when a Shopify app fails (CLI error, auth loop, webhook 401, function panic, missing scope, billing reject
05 Defect Triage.Agent
Defect classification and triage specialist. Takes raw failures from test execution and produces: severity/pri