xml-sitemap

Generate, audit, and optimize XML sitemaps with hreflang annotations.

872|122|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/kostja94/marketing-skills --skill xml-sitemap
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xml-sitemap
Source: https://github.com/kostja94/marketing-skills/tree/main/skills/seo/technical/sitemap
Command: npx skills add https://github.com/kostja94/marketing-skills --skill xml-sitemap

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you create, audit, and optimize your sitemap.xml file, ensuring search engines can efficiently discover and index all your important web pages.

Core Features & Use Cases

  • Sitemap Generation: Creates compliant XML sitemaps from your project's page list.
  • URL Discovery: Improves how search engines find your pages, crucial for large or complex sites.
  • Use Case: Generate an XML sitemap for your e-commerce site, including lastmod dates for all product pages, and declare it in your robots.txt file.

Quick Start

Generate an XML sitemap for the website located at https://example.com.

Frequently Asked Questions about xml-sitemap

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

FAQPage Schema
How do I generate an XML sitemap for a large e-commerce site?

You can generate an XML sitemap for a large e-commerce site by inputting your project's page list to create compliant sitemaps with accurate lastmod dates for product pages, ensuring efficient search engine crawling and indexing.

What is a sitemap index and when do I need one for search engine discovery?

A sitemap index is a file that references multiple individual XML sitemaps. You need a sitemap index when your website has a large number of URLs, allowing search engines to efficiently discover and crawl all included pages.

How do I add hreflang annotations to a multilingual sitemap.xml?

You can add hreflang annotations to a multilingual sitemap.xml by configuring the sitemap generation to support multilingual sites, ensuring search engines serve the correct language versions of your pages to international users.

Does the generated sitemap comply with the sitemaps.org protocol?

Yes, the generated XML sitemaps ensure strict compliance with the sitemaps.org protocol, validating your URL structure and tags to guarantee search engines can parse your file without encountering parsing errors.

How do I declare my sitemap in robots.txt and integrate it with IndexNow?

You can declare your sitemap in the robots.txt file by adding the Sitemap directive, and integrate with IndexNow to instantly notify search engines when your URLs are added or updated for faster crawling discovery.

Why is URL discovery not working for my complex website?

URL discovery may fail for complex sites if your XML sitemap lacks proper lastmod dates or hreflang annotations. Auditing your sitemap ensures compliance with the sitemaps.org protocol to fix crawling inefficiencies.