/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
- Unlimited sitemap files in a sitemap index
- 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)
Source: hashgraph-online/awesome-codex-plugins → plugins/indranilbanerjee/digital-marketing-pro/skills/sitemap-manager/SKILL.md
1---2name: sitemap-manager3description: Manage XML sitemaps. Use when: auditing sitemap health, generating sitemaps, or planning sitemap architecture.4---567# /digital-marketing-pro:sitemap-manager89## Purpose1011Analyze existing XML sitemaps for issues and opportunities, or generate new sitemaps with industry-specific templates and best practices.1213## Modes1415### Mode 1: Analyze Existing Sitemap (`/digital-marketing-pro:sitemap-manager [URL]`)1617Provide a sitemap URL (e.g., `https://example.com/sitemap.xml`) to audit:18191. **Fetch and parse**: Download sitemap XML, detect sitemap index vs single sitemap202. **URL count**: Total URLs, URLs per sitemap file (flag if approaching 50K protocol limit)213. **lastmod audit**: Check for presence, format (W3C datetime), staleness (>6 months without update), fake lastmod (all same date)224. **Priority and changefreq**: Check for deprecated/ignored signals (Google ignores both — flag if present, recommend removal to reduce file size)235. **URL health**: Sample 20-50 URLs and check HTTP status codes — flag 404s, 301s, 302s, 5xx errors246. **Indexation alignment**: Cross-reference with robots.txt and meta robots — flag noindexed URLs in sitemap, flag sitemap URLs blocked by robots.txt257. **Missing URLs**: Compare sitemap against site crawl or provided URL list — identify pages missing from sitemap268. **Image/video/news sitemaps**: Check for specialized sitemap extensions279. **Compression**: Check if sitemap is gzip compressed (recommended for large sitemaps)2810. **robots.txt registration**: Verify sitemap is declared in robots.txt2930### Mode 2: Generate New Sitemap (`/digital-marketing-pro:sitemap-manager generate`)3132Generate a sitemap plan or actual XML:33341. **Discover site structure**: Crawl from homepage or use provided URL list352. **Categorize pages**: Group by type (homepage, category, product, blog, landing, legal)363. **Apply industry template**: Use appropriate structure based on business model (SaaS, ecommerce, local, publisher, agency)374. **Set lastmod**: Use actual page modification dates, not generation date385. **Split strategy**: Plan sitemap index structure if >50K URLs or >50MB uncompressed396. **Exclude rules**: Noindexed pages, paginated results, faceted URLs, utility pages (login, cart, search results)407. **Generate XML**: Produce valid XML sitemap following the sitemap protocol (sitemaps.org)4142## Industry Templates4344### SaaS45- Homepage, features, pricing, integrations, docs, blog, changelog, about, legal46- Integration pages as separate sitemap (if 50+)47- Blog with high update frequency4849### eCommerce50- Homepage, categories, products, brands, collections, blog, about, legal51- Product sitemap (largest — split if needed)52- Image sitemap for product photos53- Category pages with canonical handling for filtered views5455### Local Business56- Homepage, services, locations, about, contact, blog, reviews, legal57- Location pages as separate sitemap (if multi-location)58- Service area pages5960### Publisher/Media61- Homepage, sections, articles, authors, topics, about, legal62- News sitemap (for Google News inclusion)63- Video sitemap (if video content)64- High-frequency article sitemap updates6566### Agency67- Homepage, services, case studies, blog, team, about, contact, legal68- Case study sitemap69- Industry/vertical landing pages7071## Sitemap Protocol Reference7273```xml74<?xml version="1.0" encoding="UTF-8"?>75<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">76 <url>77 <loc>https://example.com/page</loc>78 <lastmod>2026-03-15</lastmod>79 </url>80</urlset>81```8283### Sitemap Index (for multiple sitemaps)84```xml85<?xml version="1.0" encoding="UTF-8"?>86<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">87 <sitemap>88 <loc>https://example.com/sitemap-pages.xml</loc>89 <lastmod>2026-03-15</lastmod>90 </sitemap>91 <sitemap>92 <loc>https://example.com/sitemap-blog.xml</loc>93 <lastmod>2026-03-28</lastmod>94 </sitemap>95</sitemapindex>96```9798### Protocol Limits99- 50,000 URLs per sitemap file100- 50MB uncompressed per sitemap file101- Unlimited sitemap files in a sitemap index102- Must use absolute URLs103- UTF-8 encoding required104- Entity escaping for special characters (& ' " > <)105106## Output107108### Sitemap Analysis Report109- Total URLs indexed, health status breakdown110- Issues found with severity (critical/high/medium/low)111- Missing pages that should be in the sitemap112- Recommendations sorted by impact113114### Sitemap Generation Output115- Complete XML sitemap(s) or sitemap plan116- Sitemap index if multiple files needed117- robots.txt sitemap declaration line118- Submission instructions for Google Search Console119120## Agents Used121122- **seo-specialist** — Sitemap analysis, URL health checks, architecture recommendations123124## Scripts Used125126- **tech-seo-auditor.py** — URL health checking (status codes, redirects)127128---129130**Source:** [`hashgraph-online/awesome-codex-plugins`](https://github.com/hashgraph-online/awesome-codex-plugins) → `plugins/indranilbanerjee/digital-marketing-pro/skills/sitemap-manager/SKILL.md`