Loop/Prompt Library / Speed, performance & cost
๐ Faster test suite
Makes tests run faster without testing less.
Use it when: Slow tests are holding up your work or your CI.
๐ Stops when: Tests run faster on a repeatable timer, all pass, and coverage did not drop.
Copy this loop
Time the full test suite for [project] three times and record coverage. Find the slowest parts and speed up one thing at a time, like shared setup, parallel runs, or replacing slow waits. Never delete tests, weaken checks, or drop coverage. After each change, re-time the suite and re-check coverage. Keep only real wins. Stop after [8] changes or when nothing more helps. Show before-and-after times.
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
Lighter first page load
Shrinks how much a website downloads before the first screen shows, without changing how anything looks.
Trim unused styles
Removes unused styling code one piece at a time and keeps the removal only if every page looks exactly the same.
Super-fast pages
Keeps speeding up the app until every page loads in under a target time, like 50 milliseconds.
Smooth game frame rate
Measures a game's frame rate in the same scene each time, fixes the biggest slowdown, and keeps only changes that help.
Snappy buttons and transitions
Checks that buttons, hovers, and page changes in a design system respond fast enough, and fixes the slowest ones.
Cut the bill safely
Finds where money is going in your cloud, AI, or other services and makes one approved saving at a time.
