FixKit AI

Loop/Prompt Library / Speed, performance & cost

๐Ÿ” Lighter first page load

Shrinks how much a website downloads before the first screen shows, without changing how anything looks.

Use it when: Your web app feels slow the first time someone opens it.

๐Ÿ›‘ Stops when: The first screen downloads fewer bytes, tests pass, and screenshots look exactly the same.

Copy this loop

Make [web app] download less before its first screen appears. First record: passing tests, phone and desktop screenshots, and how many bytes the first screen actually downloads. Then delay, compress, or remove one item at a time. Rebuild and re-run everything. Keep the change only if tests pass, screenshots are identical, and bytes went down. Otherwise undo it. Try at most [15] items. Ask before removing a library you are unsure about. Report bytes before and after.

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 Christian Katzmann. Prompt rewritten in plain English by FixKit AI.

More loops like this

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.

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.