Speed
Find why an action feels slow
You click a button and wait two seconds with nothing happening.
- What you get
- The wait split into its parts, the slowest part fixed, and feedback on screen for the rest.
- Paste it into
- Your AI tool, in your project
The prompt
[Action] feels slow in my app. Find where the time goes. Time each part of one run: the browser before the request, the request itself, each step on the server (auth, database queries, calls to outside services), and rendering afterwards. Show me the breakdown in milliseconds. Fix the biggest part first. Look for steps that run one after another and could run together, the same data fetched twice, a slow outside call that could happen after the response, or a server in a far-away region. Then make the wait feel shorter: disable the button and show progress at once, and update the screen right away when the result is predictable.
Use it
Open your AI tool (Claude Code, Codex or Cursor) in your project folder and paste it in. Replace the parts in [brackets] with your own details first.
More in Speed
Cache pages without serving old content
Either every visit rebuilds the page, or visitors see yesterday’s version.
Make a slow page fast, with numbers
You ask for a faster site and get a cache bolted on and no proof.
Fix heavy images
A hero photo straight from a phone weighs more than the rest of the site.
Shrink the JavaScript you send
The site downloads megabytes of code before anything is usable.