Agent skill · marketing growth · kostja94
xml-sitemap
When the user wants to create, audit, or optimize sitemap.xml. Also use when the user mentions "sitemap," "sitemap.xml," "sitemap index," "lastmod," "changefreq," "priority," "URL discovery," "URL discovery for search engines," "single source of truth," "URL config," "unify sitemap IndexNow," or "reduce duplicate maintenance." For IndexNow, use indexnow.
Why this skill is useful
Provides specific guidelines and best practices for generating and optimizing XML sitemaps that enhance search engine discovery, which the AI may not reliably generate on its own.
What it needs
About 6k tokens when loaded. Last updated 2026-06-09. 860 stars on the source repository.
What this skill does
SEO Technical: Sitemap Guides sitemap creation, auditing, and optimization for search engine discovery. When invoking: On first use, if helpful, open with 1–2 sentences on what this skill covers and why it matters, then provide the main output. On subsequent use or when the user asks to skip, go directly to the main output. Scope (Technical SEO) Sitemap: Create XML sitemap; submit to Google Search Console URL discovery: Help search engines find pages; especially important for large sites or poor internal linking Task Generate an XML Sitemap that complies with the sitemaps.org protocol from the project's page list, and declare it in robots.txt. Initial Assessment Check for project context first: If .claude/project-context.md or .cursor/project-context.md exists, read it for site URL and page structure. Identify: 1. Site URL: Base domain (e.g., https://example.com) 2. URL count: Total indexable pages (single sitemap vs. sitemap index) 3. Data source: Static config, CMS, file system, or hybrid Precondition: Does the site need a sitemap? Before generating, assess whether a sitemap is warranted. A sitemap is most valuable when: Large site (hundreds+ pages) or new site with few backlinks Deep or orphaned pages that internal links don't reach well Rich media (images, videos, news) needing extension metadata GSC shows growing "Discovered – not indexed" or "Not discovered" counts Small sites (< 50 pages) with strong internal linking may not strictly need one, but creating a sitemap has near-zero cost and provides future-proof infrastructure. If in doubt, err on the side of creating. 1. Protocol Essentials Item Spec ------ ------ Single sitemap limit 50,000 URLs, 50MB (uncompressed) Sitemap index When exceeding limit, split and have main index reference sub-sitemaps Encoding UTF-8 URL format Full URL, same host, include https:// Required tags <loc> Optional tags <lastmod>, <changefreq>, <priority> 2. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills kostja94/sitemap