sitemap

Generate XML sitemaps and robots.txt files for Next.js App Router sites.

Updated May 13, 2026
One-click install
npx skills add https://github.com/dloschiavo/orca --skill sitemap-dloschiavo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sitemap
Source: https://github.com/dloschiavo/orca/tree/main/recipes/sitemap
Command: npx skills add https://github.com/dloschiavo/orca --skill sitemap-dloschiavo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires next, and includes scripts (resource) components.

What problem does it solve?

This Skill automates the creation of an XML sitemap and robots.txt file for Next.js App Router sites, streamlining the process of setting up site maps and ensuring proper indexing by search engines.

Core Features & Use Cases

  • Automatic Sitemap Generation: Dynamically generates a sitemap with URLs from static marketing routes and CMS-driven content.
  • Robots.txt Configuration: Configures robots.txt to control indexing of site content.
  • Use Case: When deploying a Next.js App Router site with a mix of static and CMS content, this Skill automates the generation of the sitemap and robots.txt, eliminating the need for manual creation and ensuring search engines index the site correctly.

Quick Start

Generate a sitemap and robots.txt for your Next.js site by running the sitemap skill in your project directory.

Frequently Asked Questions about sitemap

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

FAQPage Schema
How do I generate an XML sitemap and robots.txt for a Next.js App Router site?

To generate an XML sitemap and robots.txt for a Next.js App Router site, you can use this Skill to automatically create the files by indexing static marketing routes and CMS-driven content, ensuring proper search engine optimization.

How does sitemap generation work with CMS-driven content in Next.js?

Sitemap generation with CMS-driven content works by fetching data from your CMS, mapping the retrieved records to dynamic routing structures, and automatically injecting those URLs into your XML sitemap alongside your static routes.

Does this sitemap generation approach support Next.js App Router projects?

Yes, this sitemap generation approach specifically supports Next.js App Router projects, handling both static marketing routes and dynamic CMS data retrieval to create comprehensive XML sitemaps and robots.txt files.

What's the best way to configure robots.txt for SEO in a Next.js application?

The best way to configure robots.txt for SEO in a Next.js application is using a Skill that programmatically generates the file, allowing you to precisely control which site content search engines are permitted to index.

Can I automatically include static marketing routes in my Next.js sitemap?

Yes, you can automatically include static marketing routes in your Next.js sitemap, as the Skill handles routing logic to index both static pages and dynamic CMS content without requiring manual URL entry.