leahycc/claude-skills/seo
Claude Code and agent skill by leahycc/claude-skills
- community
Checking that the SKILL.md file is still in the repository.
Use when adding metadata, creating sitemaps, generating robots.txt, implementing structured data (JSON-LD), optimizing for search engines, building OG images, creating llms.txt for AI search engines, or fixing SEO issues in Next.js applications. Covers Google's official guidance, GEO (Generative Engine Optimization), Core Web Vitals, and common SEO myths.
Install
npx vskill@latest install leahycc/claude-skills/seoSKILL.md
The same SKILL.md was published earlier as leahycc/claude-skills/seo.
SEO — Search & AI Engine Optimization
Production-ready SEO patterns for Next.js applications. Covers traditional SEO (Google), GEO (AI search engines), and implementation with actual code — not just recommendations.
This skill generates code, not audits. Every pattern includes production-ready Next.js App Router examples you can use directly.
Architecture Overview
Quick Reference
| Need to... | See | |
|---|---|---|
| Add metadata to pages and layouts | Metadata | |
| Create sitemap.xml and robots.txt | Crawlability | |
| Add JSON-LD structured data | Structured Data | |
| Generate dynamic OG images | OG Images | |
| Optimize for AI search (ChatGPT, Perplexity) | GEO | |
| Fix Core Web Vitals for SEO ranking | Performance | |
| Avoid common SEO mistakes | Anti-Myths |
Decision Matrix
"What metadata does this page need?"
| Page Type | Title | Description | OG Image | Canonical | Structured Data | |
|---|---|---|---|---|---|---|
| Home page | Static | Yes | Yes (branded) | Yes | Organization, WebSite | |
| Listing/product page | Dynamic (from data) | Dynamic | Dynamic (from image) | Yes | Product, BreadcrumbList | |
| Blog post | Dynamic | Dynamic | Dynamic (generated) | Yes | Article, BreadcrumbList | |
| Category/search | Dynamic (with filters) | Dynamic | Optional | Yes (without query params) | BreadcrumbList, ItemList | |
| Auth pages (login) | Static | Optional | No | noindex | None | |
| Legal (privacy, terms) | Static | Yes | No | Yes | None | |
| Dashboard/app pages | Static | Optional | No | noindex | None |
"Should this page be indexed?"
SEO Anti-Myths (Google's Actual Guidance)
These are widely believed but wrong according to Google's official documentation:
| Myth | Reality | Source | |
|---|---|---|---|
| "Add meta keywords" | Google has ignored <meta name="keywords"> since 2009 | Google Webmaster Blog | |
| "E-E-A-T is a ranking factor" | There is no E-E-A-T score to add. Ranking systems look for signals that match experience, expertise, authoritativeness, and trust. | Helpful content | |
| "Content must be X words long" | No minimum or maximum. Write what's useful. | Google SEO Starter Guide | |
| "Heading order affects rankings" | Heading order is for screen readers. Google Search does not require headings in order. | SEO Starter Guide | |
| "Duplicate content is a penalty" | No spam penalty. Google picks a canonical. Bad UX, not a ranking hit. | Google Search Central | |
| "Domain keywords boost ranking" | Keywords in the domain have hardly any effect beyond appearing in breadcrumbs. | SEO Starter Guide | |
| "Subdomain vs subdirectory matters" | Google can handle either. Choose for architecture, not SEO. | John Mueller, Google | |
| "More backlinks = higher ranking" | PageRank uses links, and it is one signal among many. | SEO Starter Guide | |
| "FID is a Core Web Vital" | INP replaced FID in March 2024 | web.dev |
What Google Actually Cares About
- Unique, descriptive title tags per page
- Concise meta descriptions that summarize page content
- Canonical URLs to consolidate duplicate content
- Structured data (JSON-LD) for rich results eligibility
- Mobile-friendly design (responsive, touch-friendly)
- Core Web Vitals — LCP <= 2.5s, INP <= 200ms, CLS <= 0.1
- Descriptive alt text for images
- Internal linking with descriptive anchor text
- XML sitemaps for crawl efficiency
- robots.txt for crawl control
- HTTPS (ranking signal since 2014)
When Reviewing Code
- [ ] Every page has a unique
<title>(via metadata export or generateMetadata) - [ ] Every page has a meta description
- [ ] Root layout sets
metadataBasefor URL resolution - [ ] Root layout uses title template:
{ template: '%s | Site Name', default: '...' } - [ ]
app/sitemap.tsexists and covers all public routes - [ ]
app/robots.tsexists with rules for Googlebot and AI crawlers - [ ] Product/article pages have JSON-LD structured data
- [ ] Dynamic pages use
generateMetadatawith data memoization (cache()) - [ ] Images use
next/imagewith properalttext - [ ] Fonts use
next/font(prevents CLS) - [ ] Auth/dashboard pages have
robots: { index: false } - [ ] Canonical URLs set for pages accessible at multiple URLs
- [ ] No
<meta name="keywords">tag (Google ignores it) - [ ] OG images exist for shareable pages (social + messaging previews)
Performance follow-up sources and version limits: SOURCES.md. Read the affected resource for the task rather than treating field metrics or framework defaults as universal optimization requirements.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/seo/SKILL.md
Popularity
- Repository stars
- 3
- Repository forks
- 1
- 7-day trend score
- 7
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/leahycc/claude-skills/seo)