Sitemap Generator & Auditor
/digital-marketing-pro:sitemap-manager

Audit or generate XML sitemaps: limits, lastmod, status codes, robots conflicts.
--- name: sitemap-manager description: "Audit or generate XML sitemaps: limits, lastmod, status codes, robots conflicts. \"audit our sitemap\"" argument-hint: "[URL or generate]" user-invocable: true --- # /digital-marketing-pro:sitemap-manager ## Purpose Analyze existing XML sitemaps for issues and opportunities, or generate new sitemaps with industry-specific templates and best practices. ## Modes ### Mode 1: Analyze Existing Sitemap (`/digital-marketing-pro:sitemap-manager [URL]`) Provide a sitemap URL (e.g., `https://example.com/sitemap.xml`) to audit:
Overview
Analyze existing XML sitemaps for issues and opportunities, or generate new sitemaps with industry-specific templates and best practices.
Manual install (npx, ZIP)
Claude Code
npx skills add indranilbanerjee/digital-marketing-pro --skill sitemap-manager -g -a claude-codeClaude Code (degit)
npx degit indranilbanerjee/digital-marketing-pro/skills/sitemap-manager#main ~/.claude/skills/sitemap-managerClaude.ai / desktop
Codex, Cursor, other agents
Connects with Agent Alley MCP · agentalley.io/mcp
Files included
SKILL.md4.8 KB
Read SKILL.md here
SKILL.md
Show the full text128 lines
/digital-marketing-pro:sitemap-manager
Purpose
Analyze existing XML sitemaps for issues and opportunities, or generate new sitemaps with industry-specific templates and best practices.
Modes
Mode 1: Analyze Existing Sitemap (/digital-marketing-pro:sitemap-manager [URL])
Provide a sitemap URL (e.g., https://example.com/sitemap.xml) to audit:
- Fetch and parse: Download sitemap XML, detect sitemap index vs single sitemap
- URL count: Total URLs, URLs per sitemap file (flag if approaching 50K protocol limit)
- lastmod audit: Check for presence, format (W3C datetime), staleness (>6 months without update), fake lastmod (all same date)
- Priority and changefreq: Check for deprecated/ignored signals (Google ignores both — flag if present, recommend removal to reduce file size)
- URL health: Sample 20-50 URLs and check HTTP status codes — flag 404s, 301s, 302s, 5xx errors
- Indexation alignment: Cross-reference with robots.txt and meta robots — flag noindexed URLs in sitemap, flag sitemap URLs blocked by robots.txt
- Missing URLs: Compare sitemap against site crawl or provided URL list — identify pages missing from sitemap
- Image/video/news sitemaps: Check for specialized sitemap extensions
- Compression: Check if sitemap is gzip compressed (recommended for large sitemaps)
- robots.txt registration: Verify sitemap is declared in robots.txt
Mode 2: Generate New Sitemap (/digital-marketing-pro:sitemap-manager generate)
Generate a sitemap plan or actual XML:
- Discover site structure: Crawl from homepage or use provided URL list
- Categorize pages: Group by type (homepage, category, product, blog, landing, legal)
- Apply industry template: Use appropriate structure based on business model (SaaS, ecommerce, local, publisher, agency)
- Set lastmod: Use actual page modification dates, not generation date
- Split strategy: Plan sitemap index structure if >50K URLs or >50MB uncompressed
- Exclude rules: Noindexed pages, paginated results, faceted URLs, utility pages (login, cart, search results)
- Generate XML: Produce valid XML sitemap following the sitemap protocol (sitemaps.org)
Industry Templates
SaaS
- Homepage, features, pricing, integrations, docs, blog, changelog, about, legal
- Integration pages as separate sitemap (if 50+)
- Blog with high update frequency
eCommerce
- Homepage, categories, products, brands, collections, blog, about, legal
- Product sitemap (largest — split if needed)
- Image sitemap for product photos
- Category pages with canonical handling for filtered views
Local Business
- Homepage, services, locations, about, contact, blog, reviews, legal
- Location pages as separate sitemap (if multi-location)
- Service area pages
Publisher/Media
- Homepage, sections, articles, authors, topics, about, legal
- News sitemap (for Google News inclusion)
- Video sitemap (if video content)
- High-frequency article sitemap updates
Agency
- Homepage, services, case studies, blog, team, about, contact, legal
- Case study sitemap
- Industry/vertical landing pages
Sitemap Protocol Reference
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://example.com/page</loc>
<lastmod>2026-03-15</lastmod>
</url>
</urlset>
Sitemap Index (for multiple sitemaps)
<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap>
<loc>https://example.com/sitemap-pages.xml</loc>
<lastmod>2026-03-15</lastmod>
</sitemap>
<sitemap>
<loc>https://example.com/sitemap-blog.xml</loc>
<lastmod>2026-03-28</lastmod>
</sitemap>
</sitemapindex>
Protocol Limits
- 50,000 URLs per sitemap file
- 50MB uncompressed per sitemap file
- Up to 50,000 sitemaps per sitemap index file (nest indexes if more are needed)
- Must use absolute URLs
- UTF-8 encoding required
- Entity escaping for special characters (& ' " > <)
Output
Sitemap Analysis Report
- Total URLs indexed, health status breakdown
- Issues found with severity (critical/high/medium/low)
- Missing pages that should be in the sitemap
- Recommendations sorted by impact
Sitemap Generation Output
- Complete XML sitemap(s) or sitemap plan
- Sitemap index if multiple files needed
- robots.txt sitemap declaration line
- Submission instructions for Google Search Console
Agents Used
- seo-specialist — Sitemap analysis, URL health checks, architecture recommendations
Scripts Used
- tech-seo-auditor.py — URL health checking (status codes, redirects)
| 1 | |
| 2 | name sitemap-manager |
| 3 | description "Audit or generate XML sitemaps: limits, lastmod, status codes, robots conflicts. \"audit our sitemap\"" |
| 4 | argument-hint "[URL or generate]" |
| 5 | user-invocable true |
| 6 | |
| 7 | |
| 8 | # /digital-marketing-pro:sitemap-manager |
| 9 | |
| 10 | ## Purpose |
| 11 | |
| 12 | Analyze existing XML sitemaps for issues and opportunities, or generate new sitemaps with industry-specific templates and best practices. |
| 13 | |
| 14 | ## Modes |
| 15 | |
| 16 | ### Mode 1: Analyze Existing Sitemap (`/digital-marketing-pro:sitemap-manager [URL]`) |
| 17 | |
| 18 | Provide a sitemap URL (e.g., `https://example.com/sitemap.xml`) to audit: |
| 19 | |
| 20 | **Fetch and parse**: Download sitemap XML, detect sitemap index vs single sitemap |
| 21 | **URL count**: Total URLs, URLs per sitemap file (flag if approaching 50K protocol limit) |
| 22 | **lastmod audit**: Check for presence, format (W3C datetime), staleness (>6 months without update), fake lastmod (all same date) |
| 23 | **Priority and changefreq**: Check for deprecated/ignored signals (Google ignores both — flag if present, recommend removal to reduce file size) |
| 24 | **URL health**: Sample 20-50 URLs and check HTTP status codes — flag 404s, 301s, 302s, 5xx errors |
| 25 | **Indexation alignment**: Cross-reference with robots.txt and meta robots — flag noindexed URLs in sitemap, flag sitemap URLs blocked by robots.txt |
| 26 | **Missing URLs**: Compare sitemap against site crawl or provided URL list — identify pages missing from sitemap |
| 27 | **Image/video/news sitemaps**: Check for specialized sitemap extensions |
| 28 | **Compression**: Check if sitemap is gzip compressed (recommended for large sitemaps) |
| 29 | **robots.txt registration**: Verify sitemap is declared in robots.txt |
| 30 | |
| 31 | ### Mode 2: Generate New Sitemap (`/digital-marketing-pro:sitemap-manager generate`) |
| 32 | |
| 33 | Generate a sitemap plan or actual XML: |
| 34 | |
| 35 | **Discover site structure**: Crawl from homepage or use provided URL list |
| 36 | **Categorize pages**: Group by type (homepage, category, product, blog, landing, legal) |
| 37 | **Apply industry template**: Use appropriate structure based on business model (SaaS, ecommerce, local, publisher, agency) |
| 38 | **Set lastmod**: Use actual page modification dates, not generation date |
| 39 | **Split strategy**: Plan sitemap index structure if >50K URLs or >50MB uncompressed |
| 40 | **Exclude rules**: Noindexed pages, paginated results, faceted URLs, utility pages (login, cart, search results) |
| 41 | **Generate XML**: Produce valid XML sitemap following the sitemap protocol (sitemaps.org) |
| 42 | |
| 43 | ## Industry Templates |
| 44 | |
| 45 | ### SaaS |
| 46 | Homepage, features, pricing, integrations, docs, blog, changelog, about, legal |
| 47 | Integration pages as separate sitemap (if 50+) |
| 48 | Blog with high update frequency |
| 49 | |
| 50 | ### eCommerce |
| 51 | Homepage, categories, products, brands, collections, blog, about, legal |
| 52 | Product sitemap (largest — split if needed) |
| 53 | Image sitemap for product photos |
| 54 | Category pages with canonical handling for filtered views |
| 55 | |
| 56 | ### Local Business |
| 57 | Homepage, services, locations, about, contact, blog, reviews, legal |
| 58 | Location pages as separate sitemap (if multi-location) |
| 59 | Service area pages |
| 60 | |
| 61 | ### Publisher/Media |
| 62 | Homepage, sections, articles, authors, topics, about, legal |
| 63 | News sitemap (for Google News inclusion) |
| 64 | Video sitemap (if video content) |
| 65 | High-frequency article sitemap updates |
| 66 | |
| 67 | ### Agency |
| 68 | Homepage, services, case studies, blog, team, about, contact, legal |
| 69 | Case study sitemap |
| 70 | Industry/vertical landing pages |
| 71 | |
| 72 | ## Sitemap Protocol Reference |
| 73 | |
| 74 | |
| 75 | <?xml version="1.0" encoding="UTF-8"?> |
| 76 | <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> |
| 77 | <url> |
| 78 | <loc>https://example.com/page</loc> |
| 79 | <lastmod>2026-03-15</lastmod> |
| 80 | </url> |
| 81 | </urlset> |
| 82 | |
| 83 | |
| 84 | ### Sitemap Index (for multiple sitemaps) |
| 85 | |
| 86 | <?xml version="1.0" encoding="UTF-8"?> |
| 87 | <sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> |
| 88 | <sitemap> |
| 89 | <loc>https://example.com/sitemap-pages.xml</loc> |
| 90 | <lastmod>2026-03-15</lastmod> |
| 91 | </sitemap> |
| 92 | <sitemap> |
| 93 | <loc>https://example.com/sitemap-blog.xml</loc> |
| 94 | <lastmod>2026-03-28</lastmod> |
| 95 | </sitemap> |
| 96 | </sitemapindex> |
| 97 | |
| 98 | |
| 99 | ### Protocol Limits |
| 100 | 50,000 URLs per sitemap file |
| 101 | 50MB uncompressed per sitemap file |
| 102 | Up to 50,000 sitemaps per sitemap index file (nest indexes if more are needed) |
| 103 | Must use absolute URLs |
| 104 | UTF-8 encoding required |
| 105 | Entity escaping for special characters (& ' " > <) |
| 106 | |
| 107 | ## Output |
| 108 | |
| 109 | ### Sitemap Analysis Report |
| 110 | Total URLs indexed, health status breakdown |
| 111 | Issues found with severity (critical/high/medium/low) |
| 112 | Missing pages that should be in the sitemap |
| 113 | Recommendations sorted by impact |
| 114 | |
| 115 | ### Sitemap Generation Output |
| 116 | Complete XML sitemap(s) or sitemap plan |
| 117 | Sitemap index if multiple files needed |
| 118 | robots.txt sitemap declaration line |
| 119 | Submission instructions for Google Search Console |
| 120 | |
| 121 | ## Agents Used |
| 122 | |
| 123 | **seo-specialist** — Sitemap analysis, URL health checks, architecture recommendations |
| 124 | |
| 125 | ## Scripts Used |
| 126 | |
| 127 | **tech-seo-auditor.py** — URL health checking (status codes, redirects) |
| 128 |
Details
- License
- MIT
- Stars on the repo
- ★ 866
- Checked
- Source
- indranilbanerjee/digital-marketing-pro ↗
- Creator
- indranilbanerjee · 114 listings
Similar skills
See all →
SkillAgent Browsing Auditor
SkillBacklink Profile Analysis
SkillCMS Configuration Helper
SkillBacklink Comparison Tool
SkillWeb Vitals Auditor
SkillSEO Publishing LoopMore from indranilbanerjee
SkillA/B Test Planner
SkillAgency Client Dashboard
SkillAgent Readiness Audit
SkillMarketing Anomaly Detector
SkillAttribution Model Designer
SkillAttribution Model Comparison