seo-testing
Installation
SKILL.md
SEO Testing (Technical SEO QA)
Ship-blocking SEO bugs are cheap to catch pre-release (accidental noindex, broken canonicals, blocked JS) and brutal in production. Automate them.
Crawl & index basics
| Check | Pass condition | How |
|---|---|---|
robots.txt |
200, doesn't block CSS/JS/important paths; lists sitemap; staging blocked by auth, not just robots | curl -s site/robots.txt |
| XML sitemap | Valid, ≤50k URLs/50 MB, only 200-status canonical indexable URLs, lastmod accurate |
xmllint --noout sitemap.xml |
| Status codes | Indexable pages 200; moved = single-hop 301; removed = 410/404; no soft-404s; no redirect chains/loops | curl -sI -L -o /dev/null -w "%{http_code} %{num_redirects}\n" URL |
| Meta robots | No stray noindex/nofollow (also X-Robots-Tag header) |
curl -sI URL | grep -i robots |
| Canonical | Self-referencing absolute URL on indexable pages; consistent with sitemap & hreflang | view-source / crawler |
| Rendering | Critical content & links present in rendered DOM (not only after user action); SSR/SSG/prerender for JS apps | Search Console URL Inspection, Playwright page.content() |
On-page
Unique <title> (≈50–60 chars) & meta description (≈120–155) · single <h1> · logical heading order · descriptive anchor text · image alt + width/height + modern formats + lazy-load below fold · internal links ≤3 clicks deep · pagination via crawlable links · faceted URLs controlled (canonical/noindex/robots).
International
hreflang reciprocal (each page lists all alternates + self), valid ISO codes, x-default; one language per URL; no auto-redirect by IP that blocks crawlers.