agentleFS
LeahyCCLeahyCC/claude-skills/skills/seo/SKILL.md

seo

Skill3 starsChanged 8 months agoMITView on GitHub

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.

92 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use seo-maps, seo-page and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • AgriciDanielSkill

    seo-maps

    Maps intelligence for local SEO: geo-grid rank tracking, GBP profile auditing via API, review intelligence across Google/Tripadvisor/Trustpilot, cross-platform NAP verification, competitor radius mapping, and LocalBusiness schema generation. Three tiers: free (Overpass + Geoapify), DataForSEO, and DataForSEO + Google. Use when user says "maps", "geo-grid", "rank tracking", "GBP audit", "review velocity", "competitor radius", or "SoLV".

    Also in 13 projects that use this

  • megastepSkill

    seo-page

    Deep single-page SEO analysis covering on-page elements, content quality, technical meta tags, schema, images, and performance. Use when user says "analyze this page", "check page SEO", or provides a single URL for review.

    Also in 20 projects that use this

  • JamkrisSkill

    dart-flutter-patterns

    Production-ready Dart and Flutter patterns covering null safety, immutable state, async composition, widget architecture, popular state management frameworks (BLoC, Riverpod, Provider), GoRouter navigation, Dio networking, Freezed code generation, and clean architecture.

    Also in 4 projects that use this

  • amirjahfar1Skill

    seo-sxo

    Diagnose why a page is not ranking by reading the SERP backwards. Identifies the page type Google rewards for the target keyword, scores the candidate page against that pattern from multiple persona perspectives, and recommends the page format that would win the SERP. Use when the user asks "why isn't this page ranking", "page type mismatch", "SXO", "search experience optimization", "intent mismatch", or wants a wireframe.

    Also in 13 projects that use this

  • AgriciDanielSkill

    seo-image-gen

    AI image generation for SEO assets: OG/social preview images, blog hero images, schema images, product photography, infographics. Powered by Gemini via nanobanana-mcp. Requires banana extension installed. Use when user says \"generate image\", \"OG image\", \"social preview\", \"hero image\", \"blog image\", \"product photo\", \"infographic\", \"seo image\", \"create visual\", \"image-gen\", \"favicon\", \"schema image\", \"pinterest pin\", \"generate visual\", \"banner\", or \"thumbnail\".

    Also in 11 projects that use this

  • megastepSkill

    seo-images

    Image optimization analysis for SEO and performance. Checks alt text, file sizes, formats, responsive images, lazy loading, and CLS prevention. Use when user says "image optimization", "alt text", "image SEO", "image size", or "image audit".

    Also in 19 projects that use this

  • +2 more from AgriciDaniel
  • +3 more from megastep

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 87 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    This skill generates code, not audits: Every pattern includes production-ready Next.js App Router examples you can use directly.

    line 26

“Common” is measured: kept by at least 6 in 10 of the 87 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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 (FAQ, HowTo, 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, SearchAction
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? → Set rel prev/next or canonical to page 1
│   └── Index it (default — no robots directive needed)
└── NO (auth, dashboard, admin, API, staging)
    └── Set robots: { index: false, follow: false }
        └── Also consider: noindex via robots.ts rules

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"E-E-A-T is a quality rater guideline, not an algorithm signalGoogle Quality Rater Guidelines
"Content must be X words long"No minimum or maximum. Write what's useful.Google SEO Starter Guide
"Heading order affects rankings"Heading hierarchy helps accessibility, not rankingsGoogle Search Central (multiple confirmations)
"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"Minimal if any impactGoogle (multiple confirmations)
"Subdomain vs subdirectory matters"Google can handle either. Choose for architecture, not SEO.John Mueller, Google
"More backlinks = higher ranking"Quality and relevance matter, not quantityGoogle Link Spam Update
"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)

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.