1. Habit
  2. Skills
  3. Next.js SEO skill
laguagu · 2K installs

Next.js SEO skill
Runs by itself, weekly SEO audit.

Next.js pages stay indexable.

Install the Next.js SEO skill and make it a habit: follow https://gethabit.dev/skills/laguagu/nextjs-seo.md

  1. 1Copy
  2. 2Paste into Claude Code, Codex or Cursor
  3. 3It runs by itself

2K installs71 starsMIT licenceSource on GitHub ↗

Next.js SEO

by laguagu · 2K installs

The skill

The next.js seo skill helps Next.js App Router developers implement and audit SEO: metadata and social images, sitemap and robots, canonicals, structured data, Core Web Vitals and AI crawler policy.

Only when you ask.

The habit

Next.js pages stay indexable.

↻ Runs by itselfweekly SEO audit

How the habit works.
You don't have to.

Three questionsWhen does it start? How does it check its work? What does it remember?

One run, step by step.
Then it stops.

Stop ruleStops after 20 routes per run.

  1. 01

    Read the version

    Read the installed Next.js version and matching docs in node_modules/next/dist/docs/.

  2. 02

    Verify basics

    Check URLs, redirects, status codes, crawl rules, index directives and canonicals.

  3. 03

    Check metadata

    Use the reference for the affected area, such as metadata, sitemaps or structured data.

  4. 04

    Keep crawler policy

    Preserve the owner's rules for training, search and user-triggered crawlers.

  5. 05

    Separate evidence

    Report field data, indexing reports and Lighthouse lab results apart, with gaps marked.

What it may do.
Nothing more.

Safe by defaultIt writes only in its own folder and asks you before anything goes out.

Is it for you?
Use it when it fits.

Quick checkRead both lists. If the left one sounds like you, the Next.js SEO skill helps.

Use it when

  • ✓ You audit a Next.js site for SEO
  • ✓ Pages are not getting indexed
  • ✓ You set up metadata and sitemaps

Skip it when

  • – You build Next.js features unrelated to SEO
  • – You use the Pages Router only

Questions

Next.js SEO skill, answered.

Does a sitemap make pages indexed?

No. The skill says a sitemap helps discovery but does not guarantee indexing.

Can Lighthouse prove INP?

No. The skill treats Lighthouse as a lab tool that cannot establish field INP.

How do I install the Next.js SEO skill?

Copy the prompt at the top into your agent. It installs the skill from laguagu/claude-code-nextjs-skills and sets up the habit. Or run npx skills add laguagu/claude-code-nextjs-skills --skill nextjs-seo.

Is the Next.js SEO skill free?

Yes. It is published under MIT. Habit is free too.

Next.js SEO. Now as a habit.

Install the Next.js SEO skill and make it a habit: follow https://gethabit.dev/skills/laguagu/nextjs-seo.md

  • Free
  • No account
  • Undo in one line

All laguagu skills →More seo skills →

Works in

  • Claude Code
  • Codex
  • Cursor
  • ChatGPT
  • Claude app

Made by laguagu, published under MIT. Habit links to the original and never changes it. Is this your skill?

Copying didn't work here. Select the line and copy it by hand.