New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Hreflang and international SEO audit that validates language and region codes and generates correct tags.

skills.sh installs
7.8K
GitHub stars
31.5K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers self-referencing tags, return tags, x-default, canonical alignment, and protocol consistency across hreflang sets
  • Includes validation rules for ISO 639-1 language codes, ISO 15924 script subtags, and ISO 3166-1 region codes
  • Enforces a full-mesh rule where every alternate must link back to every other version, or the signal is invalidated
  • Designed for multi-language and multi-region sites choosing between HTML link tags, HTTP headers, and XML sitemaps

Install

$ npx -y skills add agricidaniel/claude-seo --skill seo-hreflang -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Hreflang & International SEO

Validate existing hreflang implementations or generate correct hreflang tags for multi-language and multi-region sites. Supports HTML, HTTP header, and XML sitemap implementations.

Validation Checks

1. Self-Referencing Tags

  • Every page must include an hreflang tag pointing to itself
  • The self-referencing URL must exactly match the page's canonical URL
  • Missing self-referencing tags cause Google to ignore the entire hreflang set

2. Return Tags

  • If page A links to page B with hreflang, page B must link back to page A
  • Every hreflang relationship must be bidirectional (A→B and B→A)
  • Missing return tags invalidate the hreflang signal for both pages
  • Check all language versions reference each other (full mesh)

3. x-default Tag

  • Recommended when a selector/fallback URL exists: designates the fallback page for unmatched languages/regions
  • Typically points to the language selector page or English version
  • Only one x-default per set of alternates
  • Must also have return tags from all other language versions

Details

Repository
github.com/agricidaniel/claude-seo
Category
Marketing, SEO & Ads
First seen
Apr 16, 2026

More from agricidaniel/claude-seo

All 25

Similar to Seo Hreflang

More Marketing, SEO & Ads