Process

red‑green‑refactor cycle

A three‑step process where you first find a failing example (red), make the smallest change to fix it (green), then tidy up the prompt without breaking any tests (refactor).

Return to all terms