Skip to content

Universal SEO skill for Claude Code. 26 sub-skills + 19 sub-agents covering technical SEO, E-E-A-T, schema, GEO/AEO, agent readiness (Lighthouse Agentic Browsing, WebMCP, llms.txt), backlinks, local SEO, e-commerce, international SEO, Google APIs, and PDF/Excel reporting. 9 optional extensions for live SEO data.

fix(sitemap): keep the 50,000 URL limit when news tags are present

Rudy Celekli410d14063545
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 648be42..43811dc 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
+### Fixed
+
+- **News sitemap validation keeps the 50,000 URL limit (#335).** The skill
+ told the model to replace that check with a 1,000 cap whenever the `news:`
+ namespace was present. Google caps `<news:news>` tags at 1,000 and still
+ applies the general sitemap limits
+ (https://developers.google.com/search/docs/crawling-indexing/sitemaps/news-sitemap).
+
## [2.5.0] - 2026-10-22
Security and accuracy fixes from a full audit, and Claude Desktop installs again.
diff --git a/skills/seo-sitemap/SKILL.md b/skills/seo-sitemap/SKILL.md
index d437c02..8716efc 100644
--- a/skills/seo-sitemap/SKILL.md
+++ b/skills/seo-sitemap/SKILL.md
@@ -73,12 +73,13 @@ Google documents three subtypes with their own rules, validate per-subtype:
`<video:player_loc>`; mRSS also supported. Flag deprecated/removed tags
(`<video:category>`, `<video:gallery_loc>`, `<video:price>`, `<video:tvshow>`,
player autoplay/allow_embed) as info-level removable; recheck Google docs before citing a removal date.
-- **News**: max **1,000** `<news:news>` per file (not 50,000); include only
- articles from the **last 2 days**; required `<news:publication>`/`<news:name>`/
- `<news:language>`/`<news:publication_date>`/`<news:title>`; submit/discover through
- Search Console or robots.txt/sitemap index; use Publisher Center only for
- publication management where relevant. When the `news:` namespace is detected, override the generic
- 50k check with the 1,000 cap.
+- **News**: max **1,000** `<news:news>` tags per file. Keep the 50,000 URL and
+ 50 MB checks; do not replace them when the `news:` namespace is present
+ (https://developers.google.com/search/docs/crawling-indexing/sitemaps/news-sitemap).
+ Include `<news:news>` only on articles from the **last 2 days**; required
+ `<news:publication>`/`<news:name>`/`<news:language>`/`<news:publication_date>`/
+ `<news:title>`; submit/discover through Search Console or robots.txt/sitemap
+ index; use Publisher Center only for publication management where relevant.
## Mode 2: Generate New Sitemap
diff --git a/tests/test_sitemap_news_limit.py b/tests/test_sitemap_news_limit.py
new file mode 100644
index 0000000..3024e3e
--- /dev/null
+++ b/tests/test_sitemap_news_limit.py
@@ -0,0 +1,19 @@
+"""News sitemap limit: the 1,000 cap counts news:news tags, not every URL (#335).
+
+Google: a sitemap may have up to 1,000 news:news tags, and general sitemap
+limits still apply, including when news tags extend an existing sitemap.
+https://developers.google.com/search/docs/crawling-indexing/sitemaps/news-sitemap
+"""
+
+from pathlib import Path
+
+ROOT = Path(__file__).resolve().parents[1]
+SKILL = ROOT / "skills" / "seo-sitemap" / "SKILL.md"
+
+
+def test_news_cap_does_not_replace_the_url_limit() -> None:
+ folded = " ".join(SKILL.read_text(encoding="utf-8").split())
+ assert "override the generic 50k check with the 1,000 cap" not in folded
+ assert "do not replace them when the `news:` namespace is present" in folded
+ assert "max **1,000** `<news:news>` tags per file" in folded
+ assert "50,000 URL and 50 MB checks" in folded