Article 2 min read
The Prompt That Reviews Your Website's Code in 20 Items
by Daniel Sócrates published
This is the prompt from the SITES reel, in one box, with a copy button.
It asks the AI to open your website’s code and fix 20 items, one at a time. At the end, it tells you what changed and what is still up to you.
Before you copy
Use an AI that can see your site’s files. The prompt asks it to review and fix the code. Claude Code works, with your site’s folder open. So does the tool that built your site, such as Lovable. In a regular chat, without the files, the AI has nothing to fix.
Make a backup first. It will change several files. If something goes wrong, you can roll back.
Paste the prompt in a single message and let it work through the items.
The prompt
Review my website's code and fix it item by item. At the end, tell me what changed and what depends on me:
1. Pages rendered on the server
2. Links built with <a href>, not buttons
3. No URLs with #
4. sitemap.xml created
5. robots.txt not blocking Google, CSS or JS
6. No forgotten noindex
7. No redirect chains (use 301)
8. Pages that don't exist return 404, not 200
9. A unique <title> on every page
10. rel=canonical on every page
11. Organization or LocalBusiness schema with sameAs pointing to the official profiles
12. No orphan pages
13. Descriptive alt text on images
14. LCP within 2.5 s
15. INP within 200 ms
16. CLS within 0.1
17. Facts in the copy checked
18. No mass-produced pages
19. Author bio on articles
20. A list of URLs for me to test in URL Inspection
Don't make up any data.Why these items
Items 2 and 3 are about Google finding your pages. Google generally follows only links built
with the <a> tag and the address in href. 1 A button that leads to another page through a
script may not be followed. 1 The same goes for the part of a URL after the #. Google asks you
not to use it to load different content. 2
Item 8 avoids the empty page that pretends to be fine. When a page doesn’t exist and the server says everything is okay, Search Console shows a soft 404. 3 The right answer is a 404.
Items 14 to 16 are Google’s targets for page experience. A good page loads its largest element within 2.5 seconds. It responds to a tap within 200 milliseconds. And it doesn’t shift on screen by more than 0.1. 4 Read more about Core Web Vitals.
Item 18 protects your site from a penalty. Generating many pages just to rank, without helping the reader, is against Google’s spam policies. 5 AI can do that fast. That is why the prompt forbids it.
Item 7 has its own page: 301 redirects. So does item 10: canonical.
When it’s done
Read the list of what changed. Then read the list of what depends on you. That is where the facts in your copy and the author bio are, which only you can check.
Submit your sitemap in Search Console. If you’re not sure how it works, read about the XML sitemap.
Last, paste the URLs from item 20 into Search Console, one at a time, in URL Inspection.
Notes and sources
- Google Search Central, “SEO link best practices for Google”, https://developers.google.com/search/docs/crawling-indexing/links-crawlable, updated December 10, 2025, accessed November 25, 2026. Excerpts: “Generally, Google can only crawl your link if it’s an
<a>HTML element (also known as anchor element) with an href attribute.”; “Google can’t reliably extract URLs from<a>elements that don’t have an href attribute or other tags that perform as links because of script events.” - Google Search Central, “Understand JavaScript SEO basics”, https://developers.google.com/search/docs/crawling-indexing/javascript/javascript-seo-basics, updated March 4, 2026, accessed November 25, 2026. Excerpt: “To ensure that Googlebot can parse and extract your URLs, don’t use fragments to load different page content.”
- Google Search Central, “How HTTP status codes, and network and DNS errors affect Google Search”, https://developers.google.com/search/docs/crawling-indexing/http-network-errors, updated February 4, 2026, accessed November 25, 2026. Excerpt: “If the content suggests an error for Google Search, an empty page or an error message, Search Console will show a soft 404 error.”
- web.dev, “Web Vitals”, https://web.dev/articles/vitals, updated October 31, 2024, accessed November 25, 2026. Excerpts: “LCP should occur within 2.5 seconds of when the page first starts loading.”; “pages should have a INP of 200 milliseconds or less.”; “pages should maintain a CLS of 0.1. or less.”
- Google Search Central, “Spam policies for Google web search”, https://developers.google.com/search/docs/essentials/spam-policies, updated November 23, 2026, accessed November 25, 2026. Excerpt: “Scaled content abuse is when many pages are generated for the primary purpose of manipulating search rankings and not helping users.”
Want to see SEO Genome more often on Google? Add it as a preferred source.
Let us look at what the machine understands about your company
A diagnostic conversation, with no slide deck. You bring your website address. We bring what Google and the AI assistants already know about it today.