agentleFS
thisisAhsanIqbalthisisAhsanIqbal/nextjs-seo-audit/skills/international-seo/SKILL.md

international-seo

Skill7 starsChanged 10 months agoMITView on GitHub

Validates hreflang tags, multi-language configuration, regional targeting, and internationalisation best practices. Use when auditing sites with multiple languages, regions, or localised content.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

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

    Look for <link rel="alternate" hreflang="..."> in <head>:

    line 22
  2. Very specific:

    If present, verify it matches the lang attribute → ⚠️ WARN if mismatch

    line 51
  3. Very specific:

    Check for <meta name="geo.region">, <meta name="geo.placename">, <meta name="geo.position"> → ✅ PASS if present

    line 74

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “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

International SEO

Audit the page for multi-language and regional targeting issues.

When to activate: Only relevant if the site serves multiple languages, regions, or has localised content. If a page is monolingual with no internationalisation signals, report ✅ PASS "No internationalisation issues (single-language site)".

1. Hreflang tags

Look for <link rel="alternate" hreflang="..."> in <head>:

CheckStatus
No hreflang tags on a multi-language site❌ FAIL "Add hreflang tags to indicate language/region variants"
Hreflang tags present✅ PASS — list all language-region codes found

Hreflang validation rules

RuleViolation =
Self-referencing hreflang missing (page must include itself)❌ FAIL
x-default fallback missing⚠️ WARN "Add hreflang=\"x-default\" for the default/fallback page"
Invalid language code (must be ISO 639-1, e.g. en, fr, de)❌ FAIL
Invalid region code (must be ISO 3166-1 alpha-2, e.g. en-US, fr-CA)⚠️ WARN
Hreflang URLs return 4xx or 5xx❌ FAIL "Hreflang points to broken URL"
Duplicate hreflang entries for same language-region⚠️ WARN

2. HTML lang attribute

CheckStatus
<html lang="..."> missing❌ FAIL
lang value doesn't match hreflang self-reference⚠️ WARN "Mismatch between html lang and hreflang"
Properly set✅ PASS

3. Content-Language header (meta)

  • <meta http-equiv="Content-Language" content="..."> → check if present
  • If present, verify it matches the lang attribute → ⚠️ WARN if mismatch

4. URL structure for internationalisation

Detect URL pattern used:

PatternExampleAssessment
Subdirectory/en/, /fr/, /de/✅ Recommended
Subdomainen.example.com✅ Acceptable
ccTLDexample.fr, example.de✅ Strong geo-targeting
URL parameter?lang=en⚠️ WARN "Not recommended — search engines may ignore parameters"

5. Translated content checks

CheckStatus
Page has lang="en" but content appears in another language⚠️ WARN "Language mismatch detected"
<title> and <meta description> not translated (same across language variants)⚠️ WARN
Images with alt text not translated⚠️ WARN

6. Regional targeting

  • Check for <meta name="geo.region">, <meta name="geo.placename">, <meta name="geo.position"> → ✅ PASS if present
  • Google Search Console geographic targeting hint: check for <link rel="canonical"> pointing to regional variant

Edge cases

  • A monolingual site with no internationalisation signals → skip all checks, report "Not applicable"
  • A site with hreflang on some pages but not others → flag inconsistency
  • Right-to-left languages (Arabic, Hebrew) → check for dir="rtl" attribute on <html> or <body>

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.