Seo sitemap

From Infrasity-Labs/dev-gtm-claude-skills · View interactive version

Seo sitemap is an AI agent skill from the GitHub repository Infrasity-Labs/dev-gtm-claude-skills. Analyze existing XML sitemaps or generate new ones with industry templates. Validates format, URLs, and structure. Use when user says "sitemap", "generate sitemap", "sitemap issues", or "XML sitemap".

How to use this skill

Skill file

Sitemap Analysis & Generation

Mode 1: Analyze Existing Sitemap

Validation Checks

Quality Signals

Common Issues

| Issue | Severity | Fix |

|-------|----------|-----|

| >50k URLs in single file | Critical | Split with sitemap index |

| Non-200 URLs | High | Remove or fix broken URLs |

| Noindexed URLs included | High | Remove from sitemap |

| Redirected URLs included | Medium | Update to final URLs |

| All identical lastmod | Low | Use actual modification dates |

| Priority/changefreq used | Info | Can remove (ignored by Google) |

Mode 2: Generate New Sitemap

Process

  1. Ask for business type (or auto-detect from existing site)
  2. Load industry template from ../seo-plan/assets/ directory
  3. Interactive structure planning with user
  4. Apply quality gates:
  1. Generate valid XML output
  2. Split at 50k URLs with sitemap index
  3. Generate STRUCTURE.md documentation

Safe Programmatic Pages (OK at scale)

✅ Integration pages (with real setup docs)

✅ Template/tool pages (with downloadable content)

✅ Glossary pages (200+ word definitions)

✅ Product pages (unique specs, reviews)

✅ User profile pages (user-generated content)

Penalty Risk (avoid at scale)

❌ Location pages with only city name swapped

❌ "Best [tool] for [industry]" without industry-specific value

❌ "[Competitor] alternative" without real comparison data

❌ AI-generated pages without human review and unique value

Sitemap Format

Standard Sitemap

<?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-02-07</lastmod>
  </url>
</urlset>

Sitemap Index (for >50k URLs)

<?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-02-07</lastmod>
  </sitemap>
  <sitemap>
    <loc>https://example.com/sitemap-posts.xml</loc>
    <lastmod>2026-02-07</lastmod>
  </sitemap>
</sitemapindex>

Error Handling

Output

For Analysis

For Generation

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.