Loops: Testing & quality

Reusable prompts and workflows for coding agents.

Submit a loop
BU

Build Until Green

Run the production build, fix compile and bundling errors, and loop until the build succeeds.

7.5K Testing & quality
CU

Coverage Until Threshold

Add focused tests until coverage meets your threshold (e.g. 80%), without changing production behavior unnecessarily.

6.9K Testing & quality
FU

Format Until Clean

Run the formatter, fix any remaining style issues, and loop until the codebase formats cleanly with no diffs.

1.2K Testing & quality
FT

Flaky Test Triage

Run failing tests repeatedly, classify each failure as flaky or real, and fix only confirmed regressions.

1.1K Testing & quality
PG

Pre-Commit Guard

Hook that runs tests before git commit commands to block commits when the suite is red.

1K Testing & quality
AT

Autoloop TDD

Test-first loop: write a failing test, implement the minimum code to pass, refactor, and repeat.

919 Testing & quality
IV

Independent Verifier Pass

When implementation claims done, a separate verifier pass runs build, lint, and tests with no access to the implementer's rationale.

852 Testing & quality
PR

Post-Merge Regression Guard

Hook that runs smoke tests after git merge or rebase to catch integration regressions immediately.

740 Testing & quality
LA

Lint and Typecheck Fix

Run lint and typecheck, fix reported issues, and loop until the codebase is clean.

711 Testing & quality
PT

Post-Edit Test Guard

Hook-based loop that runs related tests after file edits to catch regressions early.

633 Testing & quality
TU

Test Until Green

Run your test suite, fix the smallest root cause on failure, and repeat until every test passes.

483 Testing & quality
VR

Visual Regression Until Match

Run Playwright or Percy visual snapshots on UI changes; fix unintended diffs until baselines match intentionally.

390 Testing & quality
EU

E2E Until Green

Run end-to-end tests, fix UI and integration failures, and loop until the E2E suite passes.

372 Testing & quality
Feedback 💬