nextjs-seo
Installation
SKILL.md
Next.js SEO Skill
A complete reference for implementing and auditing SEO in Next.js projects — covering both App Router (v13+) and Pages Router, with support for next-seo, next-sitemap, and @next/third-parties.
Step 1 — Detect Project Context
Before generating any code, identify:
- Router type: App Router (
app/) or Pages Router (pages/)? - Next.js version: v13+, v12, or older?
- SEO libraries in use: Check
package.jsonfornext-seo,next-sitemap,@next/third-parties - Page type: Static, dynamic (with params), or catch-all?
- Content type: What kind of page is this? (homepage, blog post, product, category, etc.)
If the user pastes code or a file, infer the above from it. If unclear, ask one focused question.