Handles the full SEO setup for Next.js 16+ apps using the App Router's Metadata API. You get working examples for metadata configuration, dynamic sitemaps, robots.txt, and JSON-LD structured data. The guide emphasizes the new "use cache" directive for SEO-critical components and calls out common mistakes like blocking /_next/ in robots.txt or mixing the old next-seo library with the native API. Includes a quick audit checklist and Core Web Vitals targets. Honestly, this is the reference you want open when setting up a new Next.js project or debugging why Google isn't indexing your pages correctly.

skills.sh installs
2.5K
GitHub stars
72
last updated
Aug 21, 2026

Install

$ npx -y skills add laguagu/claude-code-nextjs-skills --skill nextjs-seo --agent claude-code

Installs into .claude/skills of the current project.

Files

Next.js SEO

Start from the page's task, production response and observed search behavior. Read the installed Next.js version and relevant node_modules/next/dist/docs/ pages (bundled from 16.2); otherwise use matching official documentation. Metadata, Viewport and MetadataRoute types are also in node_modules/next/dist/lib/metadata/types/metadata-interface.d.ts. Keep framework APIs, caching mode and deployment policy consistent with the project.

Useful, distinct content matters more than a longer page. Give titles, headings and descriptions separate jobs; add a FAQ, summary, badges or extra pages only when they help the reader. Publication dates must reflect meaningful changes. Verify authorship, credentials and factual claims.

Implementation and audit scope

Sponsors

Details

Repository
github.com/laguagu/claude-code-nextjs-skills
Categories
Frontend Development, Marketing & SEO

More from laguagu/claude-code-nextjs-skills

All 4
1vuejs-ai avatarvue-development-guidesvuejs-ai/skillsA collection of best practices and tips for developing applications using Vue.js. This skill MUST be apply when developing, refactoring or reviewing Vue.js or N2Kskills.sh installs
2quodsoler avatarue-ui-umg-slatequodsoler/unreal-engine-skillsUse this skill when working with UMG, UI, widget, UserWidget, Slate, HUD, BindWidget, Common UI, menu, or UMG binding in Unreal Engine. See references/widget-ty1.5Kskills.sh installs
3vercel-labs avatarvuevercel-labs/json-renderVue 3 renderer for json-render. Use when building Vue UIs from JSON specs, working with @json-render/vue, defining Vue component registries, or rendering AI-gen1.4Kskills.sh installs
4itechmeat avatarreact-testing-libraryitechmeat/llm-codeReact Testing Library: user-centric component testing with queries, user-event simulation, async utilities, and accessibility-first API. Use when writing React 1.4Kskills.sh installs
5next-safe-action avatarsafe-action-hooksnext-safe-action/skillsUse when executing next-safe-action actions from React client components -- useAction, useOptimisticAction, handling status/callbacks (onSuccess/onError/onSettl1.2Kskills.sh installs
6vercel-labs avatarsveltevercel-labs/json-renderSvelte 5 renderer for json-render that turns JSON specs into Svelte component trees. Use when working with @json-render/svelte, building Svelte UIs from JSON, c1.2Kskills.sh installs