Task prompt · Coding
Debug why my app is slow
by Agent Yard TeamFind the real bottleneck before optimizing.
Use cases
- Find the real bottleneck before optimizing.
- When you already have a file and want the AI to work from it instead of starting from scratch.
- Reuse it as often as you like: fill in the blanks (app or endpoint; symptoms and numbers if you have them) with new details and copy again.
- As one step of the Build an app with AI prompt pack.
Featured in: Best Claude prompts for coding, Best Claude Code prompts for building web apps, Best Claude prompts for code review and debugging.
How to use it
- Open Cursor or Claude Code in your terminal (or another AI listed here).
- Attach the file (PDF, Word, CSV or Excel), or paste its text into the prompt.
- Fill in the highlighted blanks ([APP OR ENDPOINT], [SYMPTOMS AND NUMBERS IF YOU HAVE THEM]) below, or edit them after pasting.
- Copy the prompt, paste it into the chat and send.
Fill in the blanks (optional)
Prompt
My [APP OR ENDPOINT] is slow: [SYMPTOMS AND NUMBERS IF YOU HAVE THEM]. Don't guess. First tell me how to measure: which profiler or logs to use and what to look for. Then, from the code, list likely bottlenecks (N+1 queries, missing indexes, blocking I/O, large payloads, unnecessary re-renders) ranked by probability. For the top 3, show the fix and how to confirm it worked.
One email a week
The Weekly is presented byyour brandSponsored · openThe best new prompts and personas, nothing else.