self-healing
Installation
SKILL.md
Self-Healing Codebase
Automated fault detection and repair. When a test fails, a build breaks, or a runtime error is logged, the healing pipeline wakes up, finds the root cause, generates a minimal fix, validates it, and applies it -- all without human intervention, as long as confidence is above the safety threshold.
Trigger Conditions
The healing pipeline activates on any of these events:
| Trigger | Signal | Source |
|---|---|---|
| Test failure | Any test exits non-zero | CI logs, npm test output |
| Build break | Compiler/bundler error | CI logs, npm run build output |
| Runtime error | Unhandled exception, 5xx response | Application logs, Vercel logs |
| Type error | tsc --noEmit fails |
Pre-commit hook, CI |
| Lint failure | ESLint/Prettier error blocking CI | CI logs |
Signals NOT Handled
The following always require human review -- do NOT auto-heal: