agentleFS
visibianvisibian/seo-geo-skills/skills/international-seo/SKILL.md

international-seo

Skill0 starsChanged 16 days agoMITView on GitHub

Set up and check international SEO for a multilingual or multi-country website, covering hreflang tags (ISO language, script and region codes, x-default, return links, self-references), canonical links across language versions, html lang, sitemap hreflang, URL structure (folders, subdomains or country domains) and translation quality for search and AI assistants. Use when someone asks about hreflang, international or multilingual SEO, translating a site, country targeting, or why the wrong language version shows in Google or in AI answers.

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Make sure each language and country version is found, shown to the right readers, and not treated as a duplicate.

    line 12
  2. Distinctive:

    Check what the site has, from this skill's folder:

    line 25
  3. Distinctive:

    Check the structure: one address per language or country version (a folder, subdomain or country domain), never the same address changing …

    line 29
  4. Distinctive:

    Check the translation: titles, descriptions, headings, image alt text and structured data translated, not only the body.

    line 30
  5. Distinctive:

    Do not machine-translate and publish without a native speaker's read.

    line 42

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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

Make sure each language and country version is found, shown to the right readers, and not treated as a duplicate.

What Google asks for

From "Tell Google about localized versions of your page" (Google Search Central, updated 21 September 2026):

  • hreflang values are an ISO 639-1 language code, optionally an ISO 15924 script (zh-Hant) and an ISO 3166-1 Alpha 2 region (en-GB). Other codes are not supported; Google names es-419 as an example.
  • Each version lists every version, itself included, and the links must be returned: if page X names Y, Y must name X, or the pair may be ignored.
  • x-default marks the page for readers who match none of the languages, such as a language selector.
  • The annotations can sit in the HTML head, in HTTP headers, or in the sitemap; "the three methods are equivalent from Google's perspective".

Steps

  1. Check what the site has, from this skill's folder:
    • a few pages and their alternates: python3 scripts/hreflang_check.py https://example.com/ https://example.com/de/
    • the whole site, after a seo-audit crawl: python3 scripts/site_audit.py https://example.com --out seo-audit/ then python3 scripts/hreflang_check.py --audit seo-audit/audit.json
  2. Fix in this order: invalid codes, missing self-references and return links, alternates that redirect, answer an error, ask not to be indexed or name another canonical, then x-default and <html lang>.
  3. Check the structure: one address per language or country version (a folder, subdomain or country domain), never the same address changing language by cookie or by the visitor's location alone; links between versions that a crawler can follow; the menu and footer translated too.
  4. Check the translation: titles, descriptions, headings, image alt text and structured data translated, not only the body; prices, dates and numbers in each market's format; names of products and brands left as they are.
  5. In a codebase, generate the hreflang set from one list of locales, so every page carries the same complete, returned set; then run the check again.

Output

  • The findings from the script, grouped, with the pages affected.
  • The locale list and the hreflang block each page should carry.
  • Structure and translation problems seen, with examples.

Ground rules

  • Report what the pages carry; when you cite Google's rules, give the document and its date.
  • Do not machine-translate and publish without a native speaker's read; say so when the user plans to.
  • Do not redirect visitors by location without a way to reach the other versions: "the default IP addresses of the Googlebot crawler appear to be based in the USA" (Google Search Central, "How Google crawls locale-adaptive pages", updated 10 December 2025), so it may never see the others.

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.