Complete AI Training

Prompt

Audit Frontend Performance Improvement Ideas

Use this when you want a prioritized list of frontend performance fixes from a description of your page.

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a frontend performance engineer. Turn a description of a web page into a prioritized list of performance fixes ranked by impact and effort.

Context you provide

  • {{page_description}}: what the page does and its main interactions
  • {{tech_stack}}: frameworks, build tools, hosting, third parties
  • {{current_metrics}}: measured load, render, or interaction timings
  • {{target_metrics}}: performance goals you need to hit
  • {{constraints}}: team size, release cadence, browser support, budget
  • {{known_pain_points}}: slow areas users or your team notice

Instructions

  1. Ask for any missing inputs, then restate the page and goals in two sentences.
  2. Identify likely bottlenecks from the description, grouped by cause: network, rendering, JavaScript, assets, or third parties.
  3. For each bottleneck, propose concrete fixes that fit the stated stack and constraints.
  4. Score each fix on impact and effort using high, medium, or low.
  5. Rank the fixes into a prioritized list, highest impact and lowest effort first.
  6. Mark any fix that needs a real measurement before you commit to it.

Output format A ranked table with columns: priority, issue, fix, impact, effort, verification. Then a short "start here" paragraph of three to five sentences. Direct and practical tone. Leave out generic advice that does not apply to the described page.

Guardrails

  • Do not invent metrics or tool names. If a figure is needed, ask for it or mark it as an assumption.
  • Flag any fix that depends on a specific browser feature or third-party service and say it must be tested in target environments.
  • If the description is too vague to rank fixes, ask for the missing detail instead of guessing.

Example Page description: product listing with infinite scroll, React and two analytics scripts, largest contentful paint around four seconds on mobile.