nextjs-seo

Configure Next.js SEO with metadata, sitemap, robots, llms.txt, and JSON-LD.

1|Updated Jun 20, 2026
One-click install
npx skills add https://github.com/mohitjoer/NextJs-SEO --skill nextjs-seo-mohitjoer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nextjs-seo
Source: https://github.com/mohitjoer/NextJs-SEO/tree/main/skills/nextjs-seo
Command: npx skills add https://github.com/mohitjoer/NextJs-SEO --skill nextjs-seo-mohitjoer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It removes the complexity of implementing production-grade SEO for Next.js apps by giving you a single workflow for metadata, crawlability, structured data, and AI search discovery.

Core Features & Use Cases

  • Page Metadata: Generate consistent titles, descriptions, canonical URLs, and social sharing metadata for every page.
  • Site Crawl Files: Create sitemap.xml, robots.txt, and llms.txt with automatic route detection and support for manual routes.
  • Structured Data & Audits: Add JSON-LD for articles, products, FAQs, events, and more, then audit your site for SEO coverage and semantic issues.
  • Use Case: A Next.js SaaS team can use this Skill to standardize metadata across marketing pages, expose dynamic routes in sitemaps, add SoftwareApplication JSON-LD, and verify the implementation before launch.

Quick Start

Ask the AI to set up this Skill for your Next.js app by creating the SEO config, page metadata, sitemap, robots rules, llms.txt generation, JSON-LD, and audit checks in the right files.

Frequently Asked Questions about nextjs-seo

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up Next.js App Router SEO metadata for dynamic routes?

Next.js App Router SEO metadata for dynamic routes is generated by calling a centralized configuration function to produce consistent titles, descriptions, canonical URLs, and social sharing tags. This standardizes metadata generation across all dynamic application routes.

What is the best way to automate sitemap.xml and robots.txt generation in Next.js?

Automating sitemap.xml and robots.txt generation in Next.js is handled by utilizing built-in route detection alongside manual route configurations. This workflow outputs standard crawl files automatically, ensuring search engines can properly discover and index application pages.

Does this SEO workflow support adding JSON-LD structured data for SaaS landing pages?

Yes, the SEO workflow supports adding JSON-LD structured data for SaaS landing pages by injecting schema types like SoftwareApplication, articles, products, and FAQs. This provides search engines with explicit semantic context about your content and products.

How do I generate an llms.txt file for AI search discovery in a Next.js application?

Generating an llms.txt file for AI search discovery in a Next.js application is achieved by using a dedicated generation workflow that outputs the file alongside standard sitemap and robots configurations. This exposes your content specifically for large language model crawlers.

Can I use this to audit my Next.js site for SEO coverage and semantic issues before launch?

Yes, you can audit your Next.js site for SEO coverage and semantic issues before launch by running a dedicated check workflow. This process verifies your metadata implementation, structured data, and crawl files to ensure complete search visibility.

Do I need Next.js 13 or higher to implement automated SEO configurations?

Yes, you need Next.js 13 or higher to implement automated SEO configurations because the workflow relies on the App Router architecture and native metadata APIs introduced in that version to generate and manage all SEO assets.