| name | seo-audit |
| description | Comprehensive SEO audit for static websites. Analyses 11 categories — technical SEO, on-page, content quality, structured data, Core Web Vitals, mobile usability, local SEO, internal linking, security, accessibility, and competitive positioning. Produces a scored audit report with prioritised action items. Works with any Astro static site. Run after deploy or on demand to identify SEO gaps and improvement opportunities. |
SEO Audit Skill — Static Website Factory
Run a comprehensive SEO audit across the entire site, scoring 11 categories and producing a prioritised action plan.
When to Use
- After initial site build (post-deploy) to verify SEO implementation
- On demand when the client asks "how is my SEO?"
- Before a major content update to establish a baseline
- Periodically (quarterly) to catch regressions
Prerequisites
- Site must be built (
npm run build completed, dist/ exists)
docs/seo.md should exist (but audit works without it)
- Existing SEO skill should have run (meta tags, structured data in place)
Audit Categories (11 Total)
Each category is scored 0-10. Overall score is weighted average.
| # | Category | Weight | What It Checks |
|---|
| 1 | Technical SEO | 15% | Sitemap, robots.txt, canonical URLs, hreflang, crawlability |
| 2 | On-Page SEO | 15% | Title tags, meta descriptions, heading hierarchy, keyword placement |
| 3 | Content Quality | 10% | Unique content, word count, keyword density, E-E-A-T signals |
| 4 | Structured Data | 10% | JSON-LD schemas, Organization, Service, BreadcrumbList, validation |
| 5 | Core Web Vitals | 10% | Page weight, image optimisation, render-blocking resources, LCP |
| 6 | Mobile Usability | 10% | Viewport meta, touch targets, responsive images, no horizontal scroll |
| 7 | Local SEO | 10% | NAP consistency, geo meta tags, LocalBusiness schema, area served |
| 8 | Internal Linking | 5% | Navigation structure, orphan pages, link depth, anchor text |
| 9 | Security & Trust | 5% | HTTPS references, mixed content, external link safety |
| 10 | Accessibility | 5% | Alt text, aria labels, heading order, skip links, focus styles |
| 11 | Competitive Positioning | 5% | Keyword targeting, title uniqueness, geo-targeting, service coverage |
How to Run the Audit
Step 1: Build the Site
npm run build
Ensure dist/ is fresh and complete.
Step 2: Collect Data
For each HTML page in dist/:
Technical SEO checks:
On-Page SEO checks:
Content Quality checks:
Structured Data checks:
Core Web Vitals checks:
Mobile Usability checks:
Local SEO checks:
Internal Linking checks:
Security & Trust checks:
Accessibility checks:
Competitive Positioning checks:
Step 3: Score Each Category
Score 0-10 per category:
- 10: Perfect — all checks pass, best practices exceeded
- 8-9: Strong — minor improvements possible
- 6-7: Adequate — some gaps, no critical issues
- 4-5: Needs work — notable gaps affecting visibility
- 2-3: Weak — significant issues
- 0-1: Critical — category largely missing
Step 4: Generate Report
Output a structured audit report:
# SEO Audit Report — [Site Name]
Date: [YYYY-MM-DD]
Site URL: [URL]
Pages audited: [count]
## Overall Score: [XX]/100
## Category Scores
| Category | Score | Status |
|----------|-------|--------|
| Technical SEO | X/10 | [pass/warn/fail] |
| On-Page SEO | X/10 | [pass/warn/fail] |
| ... | ... | ... |
## Critical Issues (Fix Immediately)
1. [Issue + how to fix]
## High Priority (Fix This Week)
1. [Issue + how to fix]
## Medium Priority (Fix This Month)
1. [Issue + how to fix]
## Low Priority (Nice to Have)
1. [Issue + how to fix]
## What's Working Well
- [Positive findings]
Step 5: Save Report
Save to docs/seo-audit-[YYYY-MM-DD].md in the project root docs directory.
Scoring Thresholds
| Overall Score | Rating | Action |
|---|
| 90-100 | Excellent | Monitor quarterly |
| 75-89 | Good | Address high-priority items |
| 60-74 | Fair | Prioritise fixes before promotion |
| 40-59 | Poor | Significant work needed |
| 0-39 | Critical | SEO fundamentally incomplete |
References
references/audit-checklist.md — Detailed per-check explanations
references/keyword-research.md — How to identify target keywords
references/local-seo-guide.md — Local SEO best practices for African businesses
Relationship to Other Skills
- seo skill implements the SEO — this skill audits the result
- Run seo first to build the SEO layer, then run seo-audit to verify
- Findings from audit should feed back into seo skill configuration