nextjs-i18n-seo SKILL.md skillA

nextjs-i18n-seo from augchan42/inkstone is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add augchan42/inkstone/nextjs-i18n-seo@v1.0.0

Pins v1.0.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
augchan42/inkstone
Path
skills/nextjs-i18n-seo/SKILL.md
Versions recorded
5
Latest version
v1.0.0, committed Jun 7, 2026
First version recorded
Mar 1, 2026
Size
5,297 bytes
Repository stars
5
License
MIT

Audit/fix Next.js i18n SEO for the App Router — crawlability, 307→301 redirects, locale URLs, sitemap, hreflang. Use when diagnosing lost PageRank or i18n redirect bugs in middleware.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Next.js i18n SEO Fix

Multilingual Next.js sites commonly ship with a crawlability-killing bug: locale redirects that use **307 Temporary** instead of **301 Permanent**. This means Googlebot never transfers PageRank to the actual indexed URL. Fix this first — it's a one-line change with immediate impact.

## The Core Problem

When a user (or Googlebot) hits `/hexagrams/14`, Next.js middleware redirects to `/en/hexagrams/14`. The default `NextResponse.redirect(url)` issues a **307 Temporary Redirect**. Google does not transfer PageRank on 307s. Result: any backlink to the clean URL is wasted.

**Pages Router** doesn't have this problem because `getStaticPaths` generates pages at their final URL with no redirect hop.

---

## Phase 1: Audit the Site

### 1. Check the redirect status code
```bash
curl -I https://example.com/some-page
# Look for: Location: and HTTP/2 301 vs 307
```

### 2. Check robots.txt
```
https://example.com/robots.txt
```
- All paths should be allowed (or only `/api/` blocked)
- Sitemap URL must be listed

### 3. Check the sitemap
```
https://example.com/sitemap.xml
```
- Are all pages listed with their final (locale-prefixed) URL?
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add augchan42/inkstone/nextjs-i18n-seo@sha256:518282d621e8a55d

The line at the top of this page pins the label v1.0.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_rigbjquvk7i2d4gc.svg)](https://markdownregistry.com/a/art_rigbjquvk7i2d4gc)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Mar 1, 2026 and Jun 7, 2026, about one every 24 days.

versioncommittedcommitsizeaudit
v1.0.0 latest2026-06-07 028efa1 5,297 BA view · diff
v1.0.02026-06-06 72a2136 5,201 BA view · diff
v1.0.02026-06-06 da241d5 5,199 BA view · diff
git:20260407.19237622026-04-07 1923762 5,170 BA view · diff
git:20260301.ee209e22026-03-01 ee209e2 5,263 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (5297 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

augchan42/inkstone · 5 stars · license MIT · pushed 2026-11-04 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_rigbjquvk7i2d4gc
GET https://markdownregistry.com/api/v1/resolve?ref=augchan42/inkstone/nextjs-i18n-seo
GET https://markdownregistry.com/api/v1/blob/518282d621e8a55d73f6d446cab38f132aa68c217231a2881906b9061e223bde

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from augchan42/inkstone

AGENTS.md AGENTS.md file
augchan42/inkstone · AGENTS.md
git:20261104.0715a7b · audit A · 5 stars
CLAUDE.md CLAUDE.md file
augchan42/inkstone · CLAUDE.md
git:20260606.da241d5 · audit B · 5 stars
analyze-variation SKILL.md skill
augchan42/inkstone · skills/analyze-variation/SKILL.md · Use when scheduling social copy or reviewing a batch of posts/drafts to measure sentence- and post-length variation —…
v1.0.0 · audit A · 5 stars
arxiv-search SKILL.md skill
augchan42/inkstone · skills/arxiv-search/SKILL.md · Search arXiv for papers by topic, author, or ID. Use when finding research, surveying recent publications, or looking…
v1.0.0 · audit A · 5 stars
blakean-scene SKILL.md skill
augchan42/inkstone · skills/blakean-scene/SKILL.md · Convert abstract symbolic concepts into Blakean embodied scene prompts — Blake's 8 compositional patterns, body…
v1.0.0 · audit A · 5 stars
codex-review SKILL.md skill
augchan42/inkstone · skills/codex-review/SKILL.md · Run an independent code review of any git scope — uncommitted changes, a commit range, a merge commit, a PR, or…
v1.4.0 · audit A · 5 stars
create-explanation SKILL.md skill
augchan42/inkstone · skills/create-explanation/SKILL.md · Generate scholarly bilingual (English + Traditional Chinese) explanations for classical Chinese verses. Use when…
v1.0.0 · audit A · 5 stars
critic-loop SKILL.md skill
augchan42/inkstone · skills/critic-loop/SKILL.md · Run an independent critic loop on generated work that is not code or a plan — images, renders, ASCII or canvas art…
v1.2.0 · audit A · 5 stars
deepen-task SKILL.md skill
augchan42/inkstone · skills/deepen-task/SKILL.md · Reframe a task or rewrite a prompt for greater rigor when asked for a deeper approach, expert methods, or more…
git:20261022.7531e8f · audit A · 5 stars
deliver-change SKILL.md skill
augchan42/inkstone · skills/deliver-change/SKILL.md · Use when asked to deliver a development change using deepen-task and verify-change, including changes with visual…
git:20261028.e46ca49 · audit A · 5 stars
design-dna SKILL.md skill
augchan42/inkstone · skills/design-dna/SKILL.md · Extract an abstract visual and motion blueprint (design DNA) from reference websites, or research award-winning…
v1.0.0 · audit A · 5 stars
gloss-drift-audit SKILL.md skill
augchan42/inkstone · skills/gloss-drift-audit/SKILL.md · Use when a source text has been re-vendored, re-collated, or corrected and translations, glosses, or image prompts were…
v1.0.0 · audit A · 5 stars

Every file in augchan42/inkstone

Browse by kind, by grade A, or by owner.