Technical SEO
Basic SEO audit
The SEO audit skill performs a systematic diagnosis of your website evaluating five key categories: crawlability and indexing (30%), technical foundations (25%), on-page optimization (20%), content quality and E-E-A-T (15%), and authority (10%). It uses a combination of curl and content analysis to extract accurate data from meta tags. The result is a report with an SEO score, evidence-backed findings and a four-level action plan: critical, high, medium and long term.
--- name: seo-audit description: > Technical and on-page SEO audit of a site: crawling and indexing, technical, on-page, content/E-E-A-T and authority, with a 0-100 score and prioritized action plan. Use it when the user asks for a "SEO audit", "check my website's SEO", "why am I not ranking?", "SEO health check" or shares a URL asking about SEO issues. It diagnoses and prioritizes; it doesn't implement changes unless asked. --- # SEO Audit Find problems → explain the impact → prioritize by effort vs. benefit. It's the umbrella skill: for deeper dives use `robots-txt`, `internal-linking` and `seo-images`. ## When to use General audit of a domain or a group of pages. For a single page or a specific topic (images, links, robots), use the specific skill. ## Inputs Required: URL/domain. Useful: site type (e-commerce, SaaS, blog, local business), goal, and known issues. If context is missing, assume and say so in the `summary`. ## Flow ### 1. Data Choose the source based on the site (if in doubt, check whether the initial HTML carries the content): ```bash # Site with JS → rendered HTML: follow crawler/SKILL.md (/crawl with source=sitemaps, limit 30) # → crawler/output//_pages.json # Static/WordPress site → direct HTTP (includes status, redirects, TTFB, headers) python3 shared/seo_extract.py --sitemap https://example.com/sitemap.xml --limit 30 -o crawler/output/ /_pages.json ``` Sample: home + 3–5 pages per template (category, product, article, service). ### 2. Script → report ```bash python3 basic-audit/scripts/onpage_metrics.py crawler/output/ /_pages.json ``` robots.txt and the sitemap are part of category 1: review them with the steps in `robots/SKILL.md`. `onpage_metrics.py` writes `report/data/ /seo-audit.json` with on-page element coverage, title/description lengths, duplicates, schema, and per-page issues. ### 3. Analysis (Claude) Read `_pages.json` and the generated tables. Manually review what the script can't judge: search intent, content quality, E-E-A-T, title↔H1↔content coherence. For Core Web Vitals use PageSpeed Insights (`https://pagespeed.web.dev/`) if the user asks for it or the site is slow; if there's no data, mark it as not evaluated. If there are titles outside 30–60 or descriptions outside 70–160 / duplicated, **don't rewrite them by hand**: invoke `title-generator` (`../title-generator/SKILL.md`) and then `description-generator` (`../description-generator/SKILL.md`). Complete in the JSON: `score`, `summary`, `findings`, `actions`, and add the per-category score to `tables` (not as a chart: the section already has one): ```json {"title": "Score by category", "columns": ["Category", "Weight", "Score", "Note"], "rows": [["Crawling and indexing", "30%", 75, "Incomplete sitemap"], ["Authority", "10%", "—", "Out of scope"]]} ``` ### 4. Report Also run `internal-linking` and `seo-images` on the same `_pages.json` if the user wants the full report. Then: `python3 report/build_report.py --open`. ## What to evaluate | # | Category | Weight | What to look at | |---|-----------|--------|-----------------| | 1 | Crawling and indexing | 30% | robots.txt, sitemap (exists, complete, only indexable 200 URLs), self-referencing canonical, noindex, redirect chains, depth | | 2 | Technical | 25% | HTTPS and certificate, viewport, `lang`, TTFB, Core Web Vitals (if data available), valid JSON-LD of the right type, rendering (initial HTML vs. rendered) | | 3 | On-page | 20% | unique title 30–60 chars, description 70–160 chars, one H1, H2/H3 hierarchy, Open Graph, alt (summary; detail in `seo-images`), internal links (summary; detail in `internal-linking`) | | 4 | Content / E-E-A-T | 15% | thin content (<300 words on key pages), intent, author and credentials (critical in YMYL: health, finance, legal), "about" page, contact, dates | | 5 | Authority | 10% | Only with data (GSC, Ahrefs, Semrush). No data → out of scope | ## Scoring Each category starts at 100 and subtracts per finding: Critical −15 to −30 · High −8 to −12 · Medium −4 to −6 · Low −1 to −3. Multiply by confidence: high ×1 · medium ×0.5 · low ×0.25. Global = weighted sum. If a category is out of scope (typically: Authority), redistribute its weight proportionally and say so in the `summary`. A high score with an open critical finding is not valid: mention it. Bands: 90+ excellent · 75–89 good · 60–74 needs improvement · 40–59 poor · <40 critical. ## Findings and actions - Each finding: severity, one-sentence title, **concrete evidence** (URL + data point), why it matters, recommendation. - Actions in 4 tiers: critical blockers → high impact → quick wins → long term. `impact`/`effort`: high | medium | low. - Plain language, no unnecessary jargon. "Fix X in Y", never "improve SEO". ## Rules - **Never use WebFetch for the ``**: it converts it to markdown and loses title, meta, canonical, OG, hreflang. Use `shared/seo_extract.py`. - Don't report an element as missing without verifying it in `_pages.json`. - Don't invent metrics (traffic, rankings, CWV). If there's no data, say so. - If the user asks you to implement, switch to prescriptive mode with concrete steps.