Loop/Prompt Library / Speed, performance & cost
๐ 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.
Use it when: A game or interactive app stutters and you can repeat the same test scene.
๐ Stops when: The frame-rate target holds through two runs in a row, with memory and CPU under their limits.
Copy this loop
Make [game or interactive build] run more smoothly. Set up one repeatable test: same scene, inputs, hardware, build, and settings. Record frame times, average and lowest FPS, CPU, GPU, and memory. Find the biggest slowdown and make one focused fix. Re-run the full test. Keep the change only if it helps without hurting another number. Repeat for at most [8] rounds. Stop when [FPS target] holds with no dip below [FPS floor] for two runs in a row, or two rounds show no progress.
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 Aviv Sheriff (@Avivsh). 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.
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.
