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.
npx skills add kostja94/marketing-skills --skill sitemap --agent cursor
Same command for any agent — swap --agent for claude-code, codex, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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
- Scope (Technical SEO)
- Task
- Initial Assessment
- Precondition: Does the site need a sitemap?
- 1. Protocol Essentials
- 2. Field Requirements
- lastmod (Critical)
- changefreq / priority
- 3. Architecture & Split
- Single Sitemap
- Sitemap Index (Multiple Sub-sitemaps)
- Multilingual Sites
- Multi-Language Sitemap (hreflang in Sitemap)
- 4. Implementation
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
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.
