Agent skill · Security

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.

kostja94github.com/kostja94GitHub ↗
cursorMIT
Install
npx skills add kostja94/marketing-skills --skill sitemap --agent cursor

Same command for any agent — swap --agent for claude-code, codex, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 11 KB
Bundled scripts: none
Version: 1.1.0
Path: skills/seo/technical/sitemap/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 848

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. Scope (Technical SEO)
  2. Task
  3. Initial Assessment
  4. Precondition: Does the site need a sitemap?
  5. 1. Protocol Essentials
  6. 2. Field Requirements
  7. lastmod (Critical)
  8. changefreq / priority
  9. 3. Architecture & Split
  10. Single Sitemap
  11. Sitemap Index (Multiple Sub-sitemaps)
  12. Multilingual Sites
  13. Multi-Language Sitemap (hreflang in Sitemap)
  14. 4. Implementation
Commands it runs
curl -I https://example.com/sitemap.xml          # Check Content-Type
curl -A "Googlebot" -I https://example.com/sitemap.xml  # Googlebot's view
curl -s https://example.com/sitemap.xml | head -5       # First lines must be XML
More from marketing-skills
All skills →
About this skill
What does the xml-sitemap skill do?

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.

How do I install it?

Run `npx skills add kostja94/marketing-skills --skill sitemap --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From kostja94/marketing-skills, a repository with 848 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going