Seo auditor
Use when auditing website SEO infrastructure, scanning live URLs for technical issues, analyzing silo architecture, hunting duplicate URLs, validating schema graphs, or when user asks for SEO audit, site health check, technical SEO review, pre-launch verification, or full-site SEO scan. Trigger on SEO audit, site scan, duplicate URL check, silo analysis, schema validation, canonical audit, crawlability check, indexability audit, site health check, top-tier SEO.From its SKILL.md
npx -y skills add aibloggs/seo-and-production-skills --skill seo-auditorAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
18.9 KB, as published. Nobody here has run it
SEO Auditor — Top-Tier Technical SEO Analysis Engine
Overview
Full-site SEO auditor that enforces top-tier practices across 11 scoring categories totalling 120 points. Unlike basic checkers that stop at meta tags, this one hunts every source of URL duplication, validates silo architecture, checks schema graph integrity, and verifies security headers that search engines actually care about.
Three execution modes:
| Mode | Source | Use when |
|---|---|---|
| Code audit | Local project files | Analyzing your own codebase |
| Live scan | HTTP requests to URLs | Scanning any live site, competitors |
| Full audit | Both code + live verification | Pre-launch verification, production sign-off |
Framework auto-detection
Before running any check, detect the framework by reading package.json and the file layout. Then load the matching reference:
| Detected | Reference to load |
|---|---|
next in deps AND (app/sitemap.ts OR proxy.ts OR middleware.ts) | references/nextjs-seo-patterns.md |
astro in deps | references/cross-framework-notes.md (Astro section) |
@remix-run/react | references/cross-framework-notes.md (Remix section) |
@sveltejs/kit | references/cross-framework-notes.md (SvelteKit section) |
| None of the above | Generic HTML mode (no framework-specific checks) |
Detection snippet:
# Check package.json
test -f package.json && cat package.json | grep -E '"(next|astro|@remix-run|@sveltejs/kit)"'
# Check for Next.js App Router signatures
test -f app/sitemap.ts -o -f app/sitemap.js -o -f proxy.ts -o -f middleware.ts
Configuration
Load .seocheckrc.json from the target project root if present. Keys override the defaults below. See .seocheckrc.example.json in the plugin root for the full schema.
Defaults:
| Key | Default |
|---|---|
title_length | [55, 60] |
description_length | [155, 160] |
min_internal_links | 3 |
max_internal_links | 15 |
max_silo_depth | 3 |
strict_trailing_slash | true |
require_image_sitemap | true |
require_hsts_preload | true |
Scoring — 120 points total
| # | Category | Points |
|---|---|---|
| 1 | Technical Foundation | 12 |
| 2 | Crawlability & Indexability | 12 |
| 3 | Duplicate URL Detection | 15 |
| 4 | Silo Architecture & Internal Linking | 15 |
| 5 | Meta Tags | 12 |
| 6 | Open Graph & Social | 8 |
| 7 | Schema Markup (graph validation) | 15 |
| 8 | Content & Heading Hierarchy | 10 |
| 9 | Image Optimization (+ image sitemap) | 8 |
| 10 | Security Headers | 8 |
| 11 | Sitemap Integrity | 5 |
| Total | 120 |
Rating scale:
| Score | Rating |
|---|---|
| 108-120 (90%+) | Excellent, production-ready |
| 96-107 (80-89%) | Good, minor fixes |
| 84-95 (70-79%) | Acceptable, several issues |
| 72-83 (60-69%) | Needs work, significant gaps |
| < 72 (<60%) | Poor, major overhaul required |
Category 1: Technical Foundation (12 pts)
| Check | Pts | How to verify |
|---|---|---|
| HTTP 200 on canonical URLs | 2 | curl -I sample pages |
| HTTPS enforced | 2 | TLS cert valid, http redirects to https |
| Sitemap exists | 2 | app/sitemap.ts OR /sitemap.xml reachable |
| Robots.txt exists with sitemap reference | 2 | Fetch /robots.txt, verify Sitemap: line |
lang attribute on <html> | 2 | Parse <html lang="..."> |
| Favicon present | 1 | Check /favicon.ico or app/icon.* |
| 404 page returns 404 status | 1 | curl -I a random path, expect 404 not 200 |
Category 2: Crawlability & Indexability (12 pts)
| Check | Pts | How to verify |
|---|---|---|
<meta name="robots"> not accidentally noindex | 3 | Scan all page headers |
X-Robots-Tag header not blocking | 2 | Sample HTTP HEAD requests |
| Canonical tag present, absolute URL | 3 | Parse <link rel="canonical"> |
| TTFB < 600ms on sample pages | 2 | Time-to-first-byte measurement |
| Redirect chain max 1 hop | 2 | Follow sample redirects, count hops |
Category 3: Duplicate URL Detection (15 pts) — exhaustive
This is the category most other SEO tools skip. Load references/duplicate-url-detection.md for the full methodology. Scoring:
| Check | Pts | Detection method |
|---|---|---|
| Trailing slash consistency | 2 | All sitemap URLs end with / OR all don't, matching config |
| Uppercase vs lowercase paths | 1 | Grep sitemap/links for any uppercase character in path |
http:// redirects to https:// | 1 | curl -I http://domain/ expects 301 to https |
www. vs non-www. redirect | 1 | curl -I both, exactly one should redirect |
| Query param variants indexed | 1 | Sitemap must not contain ? params |
| UTM/ref params stripped from canonical | 1 | Fetch ?utm_source=x, canonical href must strip it |
Pagination /page/1/ NOT listed | 1 | Sitemap must not explicitly list page 1 of any series |
Near-duplicate <title> tags | 1 | Fuzzy match all titles, flag pairs >85% similarity |
| Near-duplicate H1s | 1 | Same, for H1 text |
| Near-duplicate meta descriptions | 1 | Same, for meta descriptions |
| Self-referencing canonical mismatch | 1 | Canonical href must equal actual URL (ignoring fragment) |
| Old URLs still in sitemap post-redirect | 1 | HEAD every sitemap URL, expect 200 not 301 |
| Duplicate sitemap entries | 1 | Parse sitemap, check for repeated <loc> values |
| Legacy slug lookup table exists | 1 | redirects.json, wp-image-lookup.json, or framework redirect config |
Critical: near-duplicate content is the single biggest source of silent keyword cannibalization. Flag aggressively.
Category 4: Silo Architecture & Internal Linking (15 pts)
Load references/silo-architecture.md for the full pattern. Core scoring:
| Check | Pts | Detection method |
|---|---|---|
| URL silo depth max 3 levels | 2 | Parse route tree; flag routes deeper than 3 segments |
| Hub pages exist per silo | 2 | For each /x/[slug]/, verify /x/ hub exists |
| BreadcrumbList schema on detail pages | 2 | JSON-LD contains @type: BreadcrumbList |
| Related-content cross-linking | 2 | Detail pages include 3+ links to sibling items |
| Cross-silo bridge links | 1 | Each hub links to at least 1 other hub |
| Internal link count per page (3-15) | 1 | Count internal <a href> per sampled page |
| Anchor text diversity | 1 | No more than 40% exact-match anchors site-wide |
| Orphan page detection | 2 | Build link graph; flag pages with 0 inbound internal links |
| Descriptive anchor text (no "click here") | 1 | Grep for generic anchor phrases |
| Flat silo allowed where appropriate | 1 | Small sections can use flat /services/{slug}/ |
Silo depth examples:
Good (3 levels):
/interior-design-ideas/ <- hub
/interior-design-ideas/bedrooms/ <- category
/interior-design-ideas/bedrooms/slug/ <- detail
Acceptable (flat, 2 levels):
/services/ <- hub
/services/bathroom/ <- detail
Bad (4+ levels):
/blog/2026/category/subcategory/post-slug/
Category 5: Meta Tags (12 pts)
Load references/seo-character-counting.md for strict length enforcement.
| Check | Pts |
|---|---|
Every page has <title> | 2 |
Title length in [55, 60] chars (strict) | 3 |
| Primary keyword in first 5 words of title | 2 |
Every page has <meta name="description"> | 2 |
Description length in [155, 160] chars (strict) | 3 |
Why strict: Google truncates titles around 600px (roughly 60 chars) and descriptions around 158 chars. Going over means your SERP snippet gets cut. Going under means you waste CTR real estate.
Category 6: Open Graph & Social (8 pts)
| Check | Pts |
|---|---|
og:title present, max 60 chars | 1 |
og:description present, max 200 chars | 1 |
og:image file exists on disk, 1200x630 | 2 |
og:image:alt with descriptive text | 1 |
og:url matches canonical | 1 |
og:type set (article/website/product) | 1 |
twitter:card = summary_large_image | 1 |
File existence check: do NOT trust the meta tag alone. Verify the file exists at the referenced path. A 404 OG image is worse than no OG image.
Category 7: Schema Markup — graph validation (15 pts)
Load references/schema-patterns.md for JSON-LD templates per page type.
| Check | Pts |
|---|---|
| JSON-LD present on every page type | 3 |
| Valid JSON (no parse errors) | 2 |
Rendered via native inline <script type="application/ld+json">, NOT via next/script | 2 |
Safe serialization (escapes < to \u003c to prevent HTML injection in JSON context) | 1 |
Required properties present per @type | 3 |
| Page-appropriate schema selected | 2 |
| BreadcrumbList on all non-root pages | 1 |
| Organization + WebSite on homepage | 1 |
Why next/script is wrong for JSON-LD: it injects the script async after hydration, which means crawlers that don't execute JavaScript (which is most of them, most of the time) never see the schema. Use a native inline <script type="application/ld+json"> tag rendered server-side with a React raw-HTML prop and a safe escape function. See references/schema-patterns.md for the exact pattern.
Page type matrix:
| Page type | Expected @types |
|---|---|
| Homepage | Organization, WebSite, optional LocalBusiness |
| Blog post | Article or BlogPosting, BreadcrumbList |
| Service page | Service, FAQPage (if FAQs), BreadcrumbList |
| Product page | Product, Offer, AggregateRating, BreadcrumbList |
| FAQ page | FAQPage |
| Category hub | CollectionPage, ItemList, BreadcrumbList |
| Detail page | CreativeWork / domain type, BreadcrumbList |
Category 8: Content & Heading Hierarchy (10 pts)
| Check | Pts |
|---|---|
Exactly ONE <h1> per rendered page | 3 |
| H1 contains primary keyword | 2 |
| No skipped heading levels (H1 > H3 with no H2) | 3 |
| Word count > 300 (varies by intent) | 2 |
Note on responsive layouts: count rendered <h1> per URL, not per source file. Duplicating <h1> for mobile/desktop and using sr-only fallback <h1> tags are both wrong. Use one shared responsive block.
Category 9: Image Optimization + Image Sitemap (8 pts)
| Check | Pts |
|---|---|
| All images have alt text | 2 |
| Below-fold images use lazy loading | 1 |
| Modern formats (WebP/AVIF) | 1 |
| File size < 200KB (hero < 300KB) | 1 |
LCP image has priority / preload hint | 1 |
| Image sitemap exists (separate or combined) | 1 |
Image sitemap entries include <image:title> + <image:caption> | 1 |
Category 10: Security Headers (8 pts)
Search engines use HTTPS + security header signals as trust inputs.
| Header | Pts | Requirement |
|---|---|---|
Strict-Transport-Security | 2 | max-age >= 31536000; includeSubDomains; preload |
Content-Security-Policy | 2 | Present with strict directives (no default-src *) |
X-Content-Type-Options | 1 | nosniff |
X-Frame-Options | 1 | SAMEORIGIN or DENY |
Permissions-Policy | 1 | Camera, mic, geolocation explicitly restricted |
Referrer-Policy | 1 | strict-origin-when-cross-origin or stricter |
Category 11: Sitemap Integrity (5 pts)
| Check | Pts |
|---|---|
| Primary sitemap exists | 1 |
| Image sitemap exists (separate or combined) | 1 |
robots.txt references all sitemaps | 1 |
| Sample of sitemap URLs returns HTTP 200 | 1 |
lastmod populated for content that actually changes | 1 |
Dual sitemap pattern: main sitemap for page URLs, separate image sitemap with <image:title> and <image:caption> per image. This is how you win Google Images.
Execution checklist
When invoked, follow this order. Use TodoWrite to track each phase.
Phase 1: Setup
[ ] Detect framework from package.json + file layout
[ ] Load matching reference file
[ ] Load .seocheckrc.json if present (merge with defaults)
[ ] Determine mode: code audit / live scan / full audit
Phase 2: Data collection
For code audit:
[ ] Read package.json, next.config.*, astro.config.*, or framework config
[ ] List all pages: glob app/**/page.{ts,tsx}, src/pages/**/*, src/routes/**/*
[ ] Read sitemap source: app/sitemap.ts or equivalent
[ ] Read robots source: app/robots.ts or public/robots.txt
[ ] Read proxy/middleware: proxy.ts, middleware.ts, _middleware.ts
[ ] Read SEO utility: lib/seo.*, src/lib/seo.*, utils/seo.*
[ ] Grep for JSON-LD rendering pattern
[ ] List OG images: ls public/images/og/ or public/og/
For live scan:
[ ] Fetch robots.txt
[ ] Fetch sitemap.xml (and image sitemap if separate)
[ ] Pick sample URLs: homepage, 3 category hubs, 5 detail pages, 3 blog posts
[ ] WebFetch each with the master extraction prompt below
[ ] Fetch sample HTTP HEADs to extract headers
Phase 3: WebFetch master prompt (for live scans)
Analyze this URL and extract ALL of the following. Be exhaustive.
1. HTTP RESPONSE
- Status code
- Response headers: Content-Type, Cache-Control, X-Robots-Tag,
Strict-Transport-Security, Content-Security-Policy, X-Content-Type-Options,
X-Frame-Options, Permissions-Policy, Referrer-Policy
2. HEAD SECTION
- <title> content and exact character count
- <meta name="description"> content and exact character count
- <meta name="robots"> content
- <link rel="canonical"> href value
- <html lang> attribute
- All <meta property="og:*"> tags with values
- All <meta name="twitter:*"> tags with values
3. SCHEMA MARKUP
- All <script type="application/ld+json"> block contents
- @type value for each schema
- Key properties per schema
- Whether schema is inline or loaded via next/script (check for defer/async)
4. CONTENT STRUCTURE
- Every heading tag H1 through H6 with text content
- Count of each heading level
- Approximate word count
5. LINKS
- Count of internal vs external <a href>
- Any with rel="nofollow" or rel="sponsored"
- Sample anchor text values (first 20)
6. IMAGES
- Count of <img> / <Image> with/without alt
- Count with loading="lazy"
- Image formats used (webp/avif/jpg/png)
- Any images with missing width/height (CLS risk)
Phase 4: Analysis & scoring
[ ] Score each of the 11 categories
[ ] Identify critical issues (category score < 50%)
[ ] Identify warnings (category score 50-75%)
[ ] Identify opportunities (category score 75-90%)
[ ] List already optimized (category score > 90%)
Phase 5: Report generation
Use the report template below. Be specific with file:line references wherever possible.
Report template
## SEO Audit Report
**Site:** [domain or project path]
**Date:** [YYYY-MM-DD]
**Mode:** [Code audit / Live scan / Full audit]
**Framework:** [detected framework]
**Overall Score:** [X]/120 ([percentage]%)
### Score breakdown
| # | Category | Score | Max | Status |
|---|----------|-------|-----|--------|
| 1 | Technical Foundation | X | 12 | [status] |
| 2 | Crawlability & Indexability | X | 12 | [status] |
| 3 | Duplicate URL Detection | X | 15 | [status] |
| 4 | Silo Architecture & Internal Linking | X | 15 | [status] |
| 5 | Meta Tags | X | 12 | [status] |
| 6 | Open Graph & Social | X | 8 | [status] |
| 7 | Schema Markup | X | 15 | [status] |
| 8 | Content & Heading Hierarchy | X | 10 | [status] |
| 9 | Image Optimization + Sitemap | X | 8 | [status] |
| 10 | Security Headers | X | 8 | [status] |
| 11 | Sitemap Integrity | X | 5 | [status] |
| **TOTAL** | | **X** | **120** | |
### Critical issues (fix immediately)
| # | Category | Issue | Location | Impact | Fix |
|---|----------|-------|----------|--------|-----|
| 1 | [cat] | [specific issue] | [file:line or URL] | [SEO impact] | [exact fix] |
### Warnings (fix soon)
| # | Category | Issue | Location | Fix |
|---|----------|-------|----------|-----|
| 1 | [cat] | [issue] | [location] | [fix] |
### Opportunities (consider)
| # | Category | Opportunity | Potential impact |
|---|----------|-------------|------------------|
| 1 | [cat] | [opportunity] | [benefit] |
### Already optimized
| Category | What works |
|----------|-----------|
| [cat] | [good practice found] |
### Duplicate URL findings
List every duplicate/near-duplicate found, even if low-impact. This is the category most projects ignore.
| Type | URL A | URL B | Similarity | Fix |
|------|-------|-------|-----------|-----|
| [type] | [url1] | [url2] | [%] | [action] |
### Silo architecture map
[render the detected silo structure as an ASCII tree]
### Action plan
**Immediate (this week):**
1. **[action]** — file: `[path]` — change: `[specific]` — impact: `[improvement]`
**Short-term (this month):**
2. ...
**Ongoing:**
- [ ] Re-run audit after fixes
- [ ] Monitor GSC for impression changes
Anti-patterns — never approve these
- Multiple H1s per rendered URL
sr-onlyfallback H1 when a visible H1 exists- JSON-LD loaded via
next/script(defers it past crawl) - Tracking params included in canonical tag
- Sitemap listing URLs that 301
noindexon pages that should rank- Self-referencing canonical with typo
- OG images that 404
- Trailing slash inconsistency within the same sitemap
- Hub pages that link only to their own children (no cross-silo bridges)
page/1/listed explicitly (duplicate of the hub)- Generic anchor text ("click here", "read more") as >40% of internal links
Quick reference
Requirements
| Element | Requirement |
|---|---|
| Title | 55-60 characters (strict) |
| Description | 155-160 characters (strict) |
| OG image | 1200x630, file must exist |
| H1 | Exactly ONE per rendered URL |
| Internal links | 3-15 per page |
| TTFB | < 600ms |
| Silo depth | Max 3 levels |
| Anchor diversity | Max 40% exact match |
Trigger phrases
| User says | Action |
|---|---|
| "audit my SEO" | Full audit |
| "scan this URL" | Live scan |
| "check for duplicates" | Focus on Category 3 |
| "check silo" | Focus on Category 4 |
| "pre-launch check" | Code audit + strict mode |
| "schema check" | Focus on Category 7 |
References in this skill
references/seo-semantic-framework.md— searcher-first SEO thinkingreferences/seo-character-counting.md— strict title/description length rulesreferences/silo-architecture.md— hub/category/detail patternsreferences/duplicate-url-detection.md— 14 duplicate URL sourcesreferences/schema-patterns.md— JSON-LD templates per page typereferences/nextjs-seo-patterns.md— proxy.ts, sitemap.ts, metadata patternsreferences/cross-framework-notes.md— Astro/Remix/SvelteKit equivalents