Back to Agent Skills
Content & Documentation
XML Sitemap Generation
Generate and maintain XML sitemaps for improved search engine crawling and indexing.
Claude Code Cursor Copilot
Overview
XML sitemaps help search engines discover and crawl all pages on your website efficiently. AI coding agents can generate comprehensive sitemaps, configure update frequencies, set priority levels, and handle multi-language sitemap indexes.
Agents can analyze the site's route structure to generate complete sitemaps, set appropriate changefreq and priority values based on content type, create sitemap indexes for large sites, and configure image and video sitemaps for rich media content.
The workflow integrates with various frameworks including Astro, Next.js, and custom static sites. Teams can automate sitemap generation as part of their build process, ensuring search engines always have an accurate map of the site's content.
Agents can analyze the site's route structure to generate complete sitemaps, set appropriate changefreq and priority values based on content type, create sitemap indexes for large sites, and configure image and video sitemaps for rich media content.
The workflow integrates with various frameworks including Astro, Next.js, and custom static sites. Teams can automate sitemap generation as part of their build process, ensuring search engines always have an accurate map of the site's content.
Who Is This For?
- Generate XML sitemaps from site route structure
- Configure changefreq and priority for different content types
- Create sitemap indexes for large multi-section sites
- Add image and video sitemaps for rich media content
Installation
Setup for Claude Code
npx astro add sitemap Configuration
// astro.config.mjs
import sitemap from '@astrojs/sitemap';
export default defineConfig({
site: 'https://example.com',
integrations: [
sitemap({
changefreq: 'weekly',
priority: 0.7,
lastmod: new Date(),
filter: (page) => !page.includes('/admin/'),
}),
],
}); Explore AI Tools
Discover the best AI tools that complement your skills
Read AI & Design Articles
Tips and trends in the world of design and AI
Related Skills
Content & Documentation
Markdown Documentation Generator
Auto-generate structured project documentation from your codebase. AI agents can produce API references, guides, and architecture docs.
Claude Code Codex Copilot
Content & Documentation OpenAPI Documentation
Generate interactive API documentation from OpenAPI and Swagger specifications. Keep your API docs always up to date with your endpoints.
Claude Code Codex Copilot
Content & Documentation README Generator
Create comprehensive, well-structured project READMEs that cover installation, usage, configuration, and contribution guidelines.
Claude Code Codex Copilot