Test Auto Fix

Diagnoses failing tests across any project, classifies each failure as a test-bug, prod-bug, or unsure, confidence-gates the fix (auto-apply at >=90%, 80-89 ask, <80 escalate), applies it, and re-runs until green. Surface-driven: reads per-project configuration from a surface file keyed by normalised git remote URL. Bootstrap auto-detects the stack on first run and proposes a surface diff for user approval. Hard-refuses to delete tests, add .skip/.only, or weaken assertions. Regression-detects after every fix: reverts on new failure instead of stacking. Triggers on "fix my failing tests", "tests are red", "auto-fix tests", "heal the tests", "/test-auto-fix".

mthines e8fe12b 21 files · 76.2 KB Updated

File contents

mthines/agent-skills/tree/main/skills/testing/test-auto-fix commit e8fe12b3b4

Frequently asked questions

npx skillmds@latest add mthines/test-auto-fix