| name | seo-audit |
| description | Full SEO and performance audit for any website. Use when asked to check SEO, run a lighthouse scan, audit performance, check accessibility, or validate structured data. |
SEO Audit Skill
When to Use
- User says "SEO audit", "check SEO", "lighthouse scan", "performance check", "site audit"
- Need to validate SEO, accessibility, performance, or structured data
Workflow
1. Lighthouse Scan
Run Lighthouse via CLI for both mobile and desktop:
npx --yes lighthouse
npx lighthouse URL --output=json --output-path=./lighthouse-mobile.json --emulated-form-factor=mobile --quiet
npx lighthouse URL --output=json --output-path=./lighthouse-desktop.json --emulated-form-factor=desktop --quiet
Extract and report:
- Performance (target: 90+)
- Accessibility (target: 100)
- Best Practices (target: 100)
- SEO (target: 90+)
2. Core Web Vitals
From Lighthouse results, extract and assess:
- LCP (Largest Contentful Paint) — target: <2.5s
- FID (First Input Delay) — target: <100ms
- CLS (Cumulative Layout Shift) — target: <0.1
- INP (Interaction to Next Paint) — target: <200ms
- TTFB (Time to First Byte) — target: <800ms
Flag any that fail and identify the cause.
3. Meta Tags Audit
Fetch the page HTML and check:
4. Heading Hierarchy
Parse headings and check:
5. Image Audit
Scan all <img> tags:
6. Link Audit
Check all links on the page:
7. Sitemap & Robots.txt
8. Structured Data / Schema
Check for JSON-LD structured data:
9. Technical SEO
10. Mobile & Accessibility
Output Format
═══════════════════════════════════════
SEO AUDIT: [URL]
Date: [YYYY-MM-DD]
═══════════════════════════════════════
LIGHTHOUSE SCORES
Desktop Mobile
Performance [XX] [XX]
Accessibility [XX] [XX]
Best Practices [XX] [XX]
SEO [XX] [XX]
CORE WEB VITALS
LCP: [X.Xs] [✓/✗ target: <2.5s]
FID: [Xms] [✓/✗ target: <100ms]
CLS: [X.XX] [✓/✗ target: <0.1]
META TAGS [✓/✗] [issue count]
HEADINGS [✓/✗] [issue count]
IMAGES [✓/✗] [issue count]
LINKS [✓/✗] [broken count]
SITEMAP [✓/✗]
STRUCTURED DATA [✓/✗]
TECHNICAL SEO [✓/✗]
MOBILE/A11Y [✓/✗]
═══════════════════════════════════════
ISSUES FOUND
═══════════════════════════════════════
🔴 CRITICAL
[Issues that severely impact rankings or UX]
🟡 WARNING
[Issues that should be fixed]
🟢 SUGGESTIONS
[Nice-to-have improvements]
═══════════════════════════════════════
RECOMMENDATIONS
═══════════════════════════════════════
1. [Most impactful fix first]
2. [Second most impactful]
3. [Third]
Usage
# Single page audit
/seo-audit https://example.com
# Full site audit (crawls linked pages)
/seo-audit https://example.com --full
# Compare before/after
/seo-audit https://example.com --compare ./previous-audit.json
Multi-Page Mode (--full)
When --full is specified:
- Start with the provided URL
- Crawl all internal links (same domain)
- Run full audit on each page
- Generate aggregate report with worst offenders
- List pages sorted by score (lowest first)
Confidence Assessment
After completing audit, rate confidence 0.0 to 1.0:
- 0.9-1.0: Full Lighthouse + all 10 checks, clear prioritized issues
- 0.6-0.9: Lighthouse run but some checks incomplete
- 0.3-0.6: Only partial audit completed
- 0.0-0.3: Could not access site or run Lighthouse