How to use these prompts
Open your website's project folder in Claude Code, Codex, Gemini CLI, or Antigravity — the same setup as the app-building tools. If you don't have direct access to your site's source files, export or download a copy of the live HTML pages first and point the agent at that folder instead.
Prompt 1 — Full technical audit
Go through every HTML page in this folder and report:
1. Any two pages with the same or near-identical <title> tag
2. Any page missing a <meta name="description"> tag, or with one under 50 characters
3. Any page with a <link rel="canonical"> that points to a different page than itself, or is
missing entirely
4. Any old backup or duplicate files (e.g. ending in .bak, .old, or a "-copy" suffix) that look
like they're still being served
List everything you find in a table, but don't change anything yet — I want to review the list
first.Prompt 2 — Find and fix orphaned pages
Check every internal link across all pages in this site, and list any page that no other page
links to (an "orphaned" page). For each one you find, suggest 2-3 existing pages it would make
sense to link from, based on topic. Don't add the links yet — show me the plan first.Prompt 3 — Keyword clustering from a raw list
Bring your own list of search terms (from Google Search Console, a free keyword tool, or just what you've heard buyers ask) — the agent organizes it, it doesn't invent search volume.
Here is a raw list of keywords/phrases related to my business: [paste your list]. Group these
into clusters of closely related terms that could realistically be answered by the same page,
and suggest a working title for a page targeting each cluster. Don't estimate search volume or
difficulty for these — I'll check real numbers separately in a keyword tool.Prompt 4 — Fix or generate a sitemap.xml
Generate (or update) a sitemap.xml for this site listing every real, publishable HTML page in
this folder. Exclude any admin, login, checkout, or clearly private pages. Use today's date for
lastmod only on pages that have actually changed — don't backdate or fake it on pages that
haven't.Prompt 5 — Meta descriptions and titles at scale
For every page missing a meta description (from Prompt 1's findings), write one — under 160
characters, specific to that page's actual content, not a copy of the homepage description. Show
me the full list before applying any changes to the files.A caution before you apply any of this
Ask for a plan first, review it, then ask the agent to apply it — exactly the pattern above. Letting an agent bulk-edit every page's <title> or canonical tag without a review step is a fast way to accidentally break something that was already working. Keep a backup of your site folder before applying any batch of changes.