Page speed prompt

A page speed prompt asks the AI to list every script, font and image over a size limit, say what each does and whether the page needs it, and propose what to remove. AI builders tend to add more than a page needs.

The prompt

Audit page weight. List every script, font and image over 100 KB,
what it does and whether the page needs it.
Propose removals and lighter replacements.
Check against these targets: Largest Contentful Paint under 2.5 s,
Interaction to Next Paint under 200 ms,
Cumulative Layout Shift under 0.1.
Apply nothing until I approve the list.

When to use it

Before launch, and whenever you add a plugin, an embed or a tracking script.

Why it works

Google's Core Web Vitals call a page good when it hits those three targets.1 AI tools add libraries, fonts and animations freely, and each one costs load time. A list with a reason per item makes it easy to cut what does nothing.

How to adapt it

  • Paste your real field data from Search Console, if you have it.
  • Ask for the same audit on your heaviest template, such as a product page.

Mistakes to avoid

  • Removing the analytics or consent script without checking what depends on it.
  • Judging speed on your own fast connection only.

Go deeper

The free page weight checker shows what a page loads. Page speed explains the three vitals in plain words. This prompt is part of the check stage. It follows the AI website design prompts guide and the six steps in how to use AI to design a website.

Read the prompts guideAll 24 prompts

Sources

  1. Philip Walton, "Web Vitals," web.dev, Google, updated 31 October 2024. web.dev

Related prompts

Accessibility audit prompt

An accessibility audit prompt asks the AI to check a page against WCAG 2.2 AA and list each failure with its element and fix, then apply only those fixes. It's a fast first pass before a real checker.

Get the prompt

Schema markup prompt

A schema markup prompt asks the AI to write JSON-LD structured data for a page, using only facts visible on that page. It returns one linked graph and a list showing where each property comes from, so you can check it.

Get the prompt

Title and description prompt

A title and description prompt writes the title tag and meta description for each page in one table, with character counts. Each title leads with the page's question or offer, and each description answers it.

Get the prompt

One change prompt

A one change prompt edits a single thing on a page and nothing else. It names the element, the change and the rule that everything else stays put, and asks the AI to list what it will touch before it starts.

Get the prompt

Want this done for you?

Is your site slow and you can't tell why? Book a call and I'll find what's weighing it down.

Book a 20-minute call