fix-and-test

Installation
SKILL.md

Fix and Test

Run a fix-test loop: identify failing tests, fix them, re-run tests, repeat until green.

Use this when the codebase is already in a failing state and the goal is recovery. Do not use this for greenfield feature delivery (use tdd) or structural cleanup of already-green code (use refactor).

What to do

  1. If the user provided an argument, use it as the test command (for example npm test -- auth). Otherwise use npm test.
  2. Run the command and triage existing failures.
  3. Fix production code first; only edit tests when they are demonstrably wrong.
  4. Re-run the same command and iterate until green (max 5 passes).
  5. Once scoped tests are green, run full npm test before declaring done.

Flow

Installs
1
GitHub Stars
4
First Seen
Jun 28, 2026
fix-and-test — 45ck/prompt-language