Skill

Analyze and Generate SEO Sitemaps

A skill for validating existing XML sitemaps and generating new ones with quality gates against thin location-page scaling.


88
Spark score
out of 100
Updated last month
Version 13.1.1

Add to Favorites

Why it matters

Optimize your website's search engine visibility by analyzing existing XML sitemaps for quality and issues, or generate a new, compliant sitemap tailored to your business needs.

Outcomes

What it gets done

01

Validate XML sitemap format and URL status codes.

02

Identify and suggest fixes for common sitemap errors (e.g., URL limits, noindexed URLs).

03

Generate a new sitemap structure based on industry templates and user input.

04

Create sitemap index files for large sites and STRUCTURE.md documentation.

Install

Add it to your toolbox

Run in your project directory:

curl -fsSL https://spark.entire.vc/get/ag-seo-sitemap | bash

Overview

Sitemap Analysis & Generation

A skill for validating existing XML sitemaps or generating new ones, applying location-page quality gates to prevent thin-content scaling. Use it for sitemap validation or generation specifically, applying the same location-page quality gates as programmatic SEO planning.

What it does

This skill operates in two modes. Analyzing an existing sitemap, it validates XML format, checks the 50,000-URL-per-file protocol limit, confirms all listed URLs return HTTP 200, checks that <lastmod> dates are accurate rather than all identical, notes that <priority> and <changefreq> tags are ignored by Google and can be removed, verifies the sitemap is referenced in robots.txt, and compares crawled pages against sitemap entries to flag missing pages. It checks quality signals like a sitemap index for over 50k URLs, content-type splitting, exclusion of non-canonical/noindexed/redirected URLs, and HTTPS-only URLs, ranking issues by severity (over 50k URLs in one file is Critical; non-200 or noindexed URLs are High; identical lastmod dates are Low). Generating a new sitemap, it detects or asks for business type, loads an industry template, interactively plans the site structure with the user, and applies the same quality gates used in programmatic SEO planning - a warning at 30+ location pages requiring 60%+ unique content, and a hard stop at 50+ location pages requiring explicit justification - before producing valid XML output (split into a sitemap index if needed) and a STRUCTURE.md documenting the site architecture. It reiterates safe-at-scale page types (integration pages with real docs, glossary pages, unique product pages) versus penalty-risk patterns (city-name-swapped location pages, unsupported "best X for Y" pages, unreviewed AI-generated pages).

When to use - and when NOT to

Use it when analyzing an existing XML sitemap or generating a new one, or when sitemap issues, generation, or validation are raised specifically. On an unreachable URL it reports the HTTP status code; if no sitemap is found it checks common locations (/sitemap.xml, /sitemap_index.xml, the robots.txt reference) before concluding it's missing; on invalid XML it reports specific parsing errors with line numbers; on rate limiting it backs off and reports partial results with retry guidance.

Inputs and outputs

Inputs: an existing sitemap URL to validate, or a business type/site structure to generate a new sitemap for.
Outputs: for analysis, a VALIDATION-REPORT.md with a severity-ranked issues list and recommendations; for generation, a sitemap.xml (or split files with a sitemap index), a STRUCTURE.md architecture document, and a URL count/organization summary.

<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://example.com/page</loc>
    <lastmod>2026-02-07</lastmod>
  </url>
</urlset>

Who it's for

SEO practitioners and developers who need to validate an existing sitemap's health or generate a new, correctly structured one - with the same location-page quality gates used in programmatic SEO to avoid thin-content risk.

FAQ

Common questions

Discussion

Questions & comments · 0

Sign In Sign in to leave a comment.