SEO, AEO and GEO: audit a website, then fix everything
One clean, factual, well-marked-up site serves all three goals:
- SEO: rank in Google and Bing results.
- AEO: be the answer in AI Overviews, Copilot and voice assistants.
- GEO: be read and quoted by ChatGPT, Claude, Perplexity and Gemini.
This skill is the method used on a live bilingual (English + Arabic) e-commerce site. Over about 30 releases it went from a new launch to roughly 4× daily Google clicks, about 2× indexed pages, 0 invalid product markup and its first thousands of impressions in Google's AI features, in under four weeks, with no data lost.
Ground rules (read first, follow always)
Full text: references/00-ground-rules.md.
- Staging first, owner approves live. Every code, page or setting change is checked on a staging copy or a preview and goes live only after the owner says go. Routine tool actions (request indexing, resubmit a sitemap, read reports) need no approval: do them and report after.
- Back up before every live change. Run a dry run first, then the real run.
- Facts only. Use facts the business confirmed or that come from manufacturer documents. No invented reviews, ratings, numbers, approvals or partner claims. No near-duplicate city pages and no AI-reworded filler.
- Never handle passwords, API keys or tokens. The owner signs in to Search Console, Bing, the CDN and other accounts; work in an already signed-in browser or prepare exact steps for the owner.
- Be polite to the live site. Use capped samples with a delay between requests. Never crawl a whole site from a script; read the sitemap instead.
- Verify like a visitor and like a crawler. Check every language at phone width (390 px), and read the raw HTML
with
curl. - Log everything: date, environment, change, backup location, before and after numbers, next check date.
Workflow
Phase 1: audit (from the URL)
- Run the script (Python 3.9+, standard library only):
It writespython3 <skill-dir>/scripts/audit.py https://example.com --max-pages 20 --out ./seo-auditreport.md(for people) andreport.json(for agents). It covers:- one-hop host redirects and preservation of paths and query strings, robots.txt (with a real rule matcher) and Content-Signal
- access for 12 search and AI crawlers (robots.txt and a live test)
- sitemap (index, http/https, lastmod), soft 404s, llms.txt
- a sampled set of pages: title, description, H1, canonical, hreflang reciprocity,
<html lang>, JSON-LD types and parse errors, Product-without-offer, FAQ markup, Open Graph, alt text, CDN e-mail obfuscation, text visible without JavaScript, response time
- Confirm each finding by hand on the live page: open the raw HTML with
curl -sA "<browser user agent>" <url>. The script is a starting point, not a verdict. Live crawler tests can show 403 for spoofed user agents behind a CDN. - Identify the platform: the generator meta, response headers and asset paths tell you. Read the matching section of
references/platforms.md(Odoo, WordPress, Shopify, React/Vite SPA, Next.js/Nuxt, static sites). - If the owner gives you access, add the dashboards (
references/01-audit.md): Search Console, Bing Webmaster Tools, PageSpeed Insights (mobile), Rich Results Test, a site crawl (Ahrefs Webmaster Tools, free), and a brand search on Google, Bing and DuckDuckGo. Record the baseline numbers.
Phase 2: report and decisions
Write the report from templates/audit-report.md: findings ranked critical → info, each with evidence, the fix, the
effort and who must act (agent, developer, or owner). Then ask the owner only what you cannot decide:
- AI crawler policy: let GPTBot, ClaudeBot, Google-Extended and the others in? Should
ai-trainbe yes or no? - Facts: the company facts to publish, and any marketing claims to confirm.
- Languages and markets.
- Money pages: which pages earn money (shop, quote form, sign-up).
- Access: to the code or CMS, the CDN, Search Console and Bing.
Phase 3: fix, in this order (each reference has what to do, how, and the check that proves it)
| Step | Reference | Core of it |
|---|---|---|
| 1 | references/02-technical.md | one https host with 301s; robots.txt; sitemap in every language; canonical + hreflang; real 404s; clean HTML; content in the raw HTML (pre-render or server-render JS sites) |
| 2 | references/03-on-page.md | titles ≤ 70 characters, descriptions of 120–160 characters, one H1, words buyers search, real landing pages, internal links, second language |
| 3 | references/04-structured-data.md | Organization/LocalBusiness, WebSite, BreadcrumbList, Product+Offer (only with a visible price), SoftwareApplication, FAQPage from visible Q&A, BlogPosting |
| 4 | references/05-ai-answer-engines.md | let AI crawlers in (CDN too), Content-Signal, llms.txt, answer-first FAQs, one entity everywhere, citable facts, agent-ready forms |
| 5 | references/06-feeds.md | shops only: merchant listings from markup, then the Merchant Center feed |
| 6 | references/07-indexing.md | Search Console and Bing setup, sitemap submission, Request indexing (~10/day), IndexNow with a daily cap |
| 7 | references/08-speed.md | phone LCP first; images, fonts, caching, server time; judge after 28 days of field data |
| 8 | references/09-off-site.md | Google Business Profile, profiles, citations, real reviews, earned links (owner's accounts) |
After each step, re-run the script on the changed pages (--pages URL1 URL2 …) and record the before and after.
Phase 4: verify and index
- Re-run the full audit and compare it with the baseline.
- Submit the sitemaps, request indexing for the key pages, announce changed URLs through IndexNow, and validate fixes in Search Console.
Phase 5: monitor
Weekly and monthly checklists are in references/10-monitoring.md. Expect 1–4 weeks for Google to pick up a change and
28 days for speed data; never judge a fix in the same week.
Before you finish
Check the mistakes table in references/11-mistakes.md. Each item cost a day or more on a real site. Examples:
- robots.txt prefix rules that blocked real pages
- a sitemap in one language only
- non-ASCII slugs
- CDN e-mail obfuscation
- IndexNow bulk sends
- saving one language in a CMS editor and leaking it into the other
Files
scripts/audit.py: the auditor (--helpfor options).references/: one file per step, plusplatforms.mdand the mistakes table.templates/:robots.txt,llms.txt, JSON-LD examples and the audit-report layout.