Loop/Prompt Library / Speed, performance & cost
๐ Super-fast pages
Keeps speeding up the app until every page loads in under a target time, like 50 milliseconds.
Use it when: You have a clear list of pages, a reliable speed test, and a firm target.
๐ Stops when: Every page loads under [target] on the same test, with no other page getting slower.
Copy this loop
Speed up [app]. Use one repeatable speed test that measures [metric, e.g. server response time] for every page in [list of pages]. After each meaningful change, re-run the test for all pages under the same conditions. Keep changes that help and do not slow anything else. Stop when every page is under [50 ms], or after [10] rounds with no further gain. Show a before-and-after table.
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.
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.
Faster test suite
Makes tests run faster without testing less.
Cut the bill safely
Finds where money is going in your cloud, AI, or other services and makes one approved saving at a time.
