Loop/Prompt Library / Testing & QA
๐ Full test coverage
Keeps adding useful tests until every line of code is tested.
Use it when: Your project truly requires 100% coverage and has a reliable coverage report.
๐ Stops when: The whole test suite passes and the coverage report says 100%.
Copy this loop
Run the coverage report for [project] and list what is not tested. Add meaningful tests for the untested behavior, starting with the riskiest parts. Do not write empty tests that only bump the number, and do not add new coverage exclusions. After each batch, run the full suite and the coverage report again. Stop when all tests pass at 100% coverage, or after [10] batches. Show the starting and final coverage.
Review every change the agent makes before you keep it. Set a budget or round limit โ the prompt includes one.
Idea from Forward Future's Loop Library ยท by Matthew Berman. Prompt rewritten in plain English by FixKit AI.
More loops like this
Fix flaky tests
Finds tests that pass sometimes and fail other times, and fixes the real cause instead of just retrying.
Win-streak testing
Tests real-world scenarios one after another; any failure gets fixed and the streak starts over.
Test everything, end to end
Lists every screen, button, and workflow in the app, tests each one like a real user, fixes the bugs, and tests it all again.
Brand-new-computer setup test
Pretends to be a new developer: follows only the README on a clean machine and fixes every step that does not work.
