SKILL.md--- name: seo-audit description: "Run a full-site SEO audit and return a scored, prioritized report. Use only for site-wide checks; use seo-page for one URL or seo-technical for a technical-only review." user-invocable: true argument-hint: "[url]" license: MIT metadata: author: AgriciDaniel version: "2.7.1" category: seo --- # Full Website SEO Audit Read `references/audit-deliverables.md` before writing final outputs for the full `audit-data.json` schema, Ready-to-Paste Fix Kit conventions, and upgraded Markdown templates for `FULL-AUDIT-REPORT.md` and `ACTION-PLAN.md`. ## Process 1. **Stage 0: Fetch-once corpus sharing (`{domain}-audit/raw/`)**: - Render the homepage once with `"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run render_page.py <url> --mode auto --output {domain}-audit/raw/homepage.html --json` and save the JSON response to `{domain}-audit/raw/homepage.json`. - Fetch `robots.txt` and run `"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run sitemap_discovery.py <url> --json`, saving outputs under `{domain}-audit/raw/`. - Crawl internal links (default `--max-pages 100`, ceiling `500`, `--max-depth 4`, `--timeout 15`, respecting robots.txt; pass `--max-pages 500` when a full 500-page ceiling is needed) with the bundled sequential bounded BFS crawler instead of writing ad-hoc throwaway crawlers: `"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run crawl_site.py <url> --output {domain}-audit/raw/crawl-summary.json --json`. For a Shopify storefront whose host has a Crawler Access signature in `.shopify-env` (`"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run shopify_env.py precheck <url>` reports `"mode": "signed"`), crawl with the seo-shopify extension (`extensions/shopify`) instead: uncapped, sitemap-complete, and its `summary.json` and `sample.json` replace the link crawl as subagent input. - Read `meta` in `{domain}-audit/raw/crawl-summary.json` before delegating. If `crawl_blocked_reason` is set (`robots_status` is `unreachable_disallow_all` or `server_error_disallow_all`; `robots_http_status` and `robots_error` say why), the crawl was blocked and no pages were crawled: stop, tell the user the reason, and do not report the site as empty or score it. `robots_status` `ok` or `unavailable_4xx` (no robots.txt, crawling allowed) is a normal crawl. If `truncated` is true (`depth_limited`, `rate_limited`, the `max_pages` cap or the time limit) or `crawl_complete` is false, say in the report that the crawl was partial, with `pages_crawled` and `errors_count`, and treat site-wide counts as lower bounds. A page record with `truncated_fields` had its `title`, `meta_description` or `h1` text capped; `title_len`, `desc_len` and `h1_count` keep the original sizes. - Run deterministic keyword and question discovery from the crawl corpus for `seo-cluster`: `"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run keyword_discover.py --crawl {domain}-audit/raw/crawl-summary.js