leahycc/claude-skills/seo

Claude Code and agent skill by leahycc/claude-skills

Trust tier 2
  • community
LLM review pending
Source check pending

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/seo

SKILL.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

[Metadata]
├── Static metadata (layout.tsx / page.tsx exports)
├── Dynamic metadata (generateMetadata with data fetching)
├── File-based (favicon.ico, opengraph-image.tsx, robots.ts, sitemap.ts)
└── Title templates (%s | Site Name)
↓
[Structured Data]
├── JSON-LD via <script type="application/ld+json">
├── Schema.org types (Article, Product, Organization, BreadcrumbList)
└── Rich results eligibility (Article, Product, Review, Video)
↓
[Crawlability]
├── robots.ts (Google + AI crawler control)
├── sitemap.ts (dynamic, with images and i18n)
├── Canonical URLs (alternates.canonical)
└── Internal linking
↓
[Performance (Ranking Factor)]
├── LCP — next/image priority, Server Components
├── INP — useTransition, code splitting
└── CLS — next/font, image dimensions
↓
[AI Visibility (GEO)]
├── llms.txt generation
├── Content structure for citation
├── AI crawler user-agent management
└── Entity optimization

Quick Reference

Need to...See
Add metadata to pages and layoutsMetadata
Create sitemap.xml and robots.txtCrawlability
Add JSON-LD structured dataStructured Data
Generate dynamic OG imagesOG Images
Optimize for AI search (ChatGPT, Perplexity)GEO
Fix Core Web Vitals for SEO rankingPerformance
Avoid common SEO mistakesAnti-Myths

Decision Matrix

"What metadata does this page need?"
Page TypeTitleDescriptionOG ImageCanonicalStructured Data
Home pageStaticYesYes (branded)YesOrganization, WebSite
Listing/product pageDynamic (from data)DynamicDynamic (from image)YesProduct, BreadcrumbList
Blog postDynamicDynamicDynamic (generated)YesArticle, BreadcrumbList
Category/searchDynamic (with filters)DynamicOptionalYes (without query params)BreadcrumbList, ItemList
Auth pages (login)StaticOptionalNonoindexNone
Legal (privacy, terms)StaticYesNoYesNone
Dashboard/app pagesStaticOptionalNonoindexNone
"Should this page be indexed?"
Is the page valuable to search users?
├── YES (content, product, article)
│ ├── Is there a canonical version? → Set alternates.canonical
│ ├── Is it paginated? → Each page canonicals to itself. Link next with <a href>
│ └── Index it (default — no robots directive needed)
└── NO (auth, dashboard, admin, API, staging)
└── Set robots: { index: false, follow: false }
└── Do not Disallow that URL in robots.ts. Google must crawl it to see noindex.

SEO Anti-Myths (Google's Actual Guidance)

These are widely believed but wrong according to Google's official documentation:

MythRealitySource
"Add meta keywords"Google has ignored <meta name="keywords"> since 2009Google 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 2024web.dev

What Google Actually Cares About

  1. Unique, descriptive title tags per page
  2. Concise meta descriptions that summarize page content
  3. Canonical URLs to consolidate duplicate content
  4. Structured data (JSON-LD) for rich results eligibility
  5. Mobile-friendly design (responsive, touch-friendly)
  6. Core Web Vitals — LCP <= 2.5s, INP <= 200ms, CLS <= 0.1
  7. Descriptive alt text for images
  8. Internal linking with descriptive anchor text
  9. XML sitemaps for crawl efficiency
  10. robots.txt for crawl control
  11. 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 metadataBase for URL resolution
  • [ ] Root layout uses title template: { template: '%s | Site Name', default: '...' }
  • [ ] app/sitemap.ts exists and covers all public routes
  • [ ] app/robots.ts exists with rules for Googlebot and AI crawlers
  • [ ] Product/article pages have JSON-LD structured data
  • [ ] Dynamic pages use generateMetadata with data memoization (cache())
  • [ ] Images use next/image with proper alt text
  • [ ] 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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/leahycc/claude-skills/seo/badge)](https://verified-skill.com/skills/leahycc/claude-skills/seo)

Something wrong with this skill or its page? Tell us.