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(scripts): include core+spam in kind filters, EEA effective date, PSI Lighthouse version
Agrici Daniel2b3a66672fc9
diff --git a/scripts/pagespeed_check.py b/scripts/pagespeed_check.pyindex 837390c..8639615 100644--- a/scripts/pagespeed_check.py+++ b/scripts/pagespeed_check.py@@ -99,6 +99,7 @@ def run_pagespeed(result = {"url": url,"strategy": strategy,+ "lighthouse_version": None,"lighthouse_scores": {},"lab_metrics": {},"field_metrics": {},@@ -154,6 +155,9 @@ def run_pagespeed(# Lighthouse scoreslr = data.get("lighthouseResult", {})+ # Record which Lighthouse build PSI ran, so reports can cite it instead of+ # assuming the latest stable release.+ result["lighthouse_version"] = lr.get("lighthouseVersion")for cat_key, cat_data in lr.get("categories", {}).items():# Lighthouse emits score: null for categories it could not evaluate# (scoreDisplayMode "error"/"notApplicable"). Skip them rather thandiff --git a/scripts/parasite_risk.py b/scripts/parasite_risk.pyindex 13b2410..3c2e204 100755--- a/scripts/parasite_risk.py+++ b/scripts/parasite_risk.py@@ -21,7 +21,8 @@ the topic diverges from the site's primary corpus. Three signals:The output is **advisory**: the scanner cannot determine the actualcontractual relationship between the site and the content producer.-Enforcement differs by searcher region since 2026-08-28: outside the EEA a+Enforcement differs by searcher region (announced 2026-08-28, effective+2026-08-30): outside the EEA aviolation may draw a manual action; for users within the EEA the section may becategorized as separate from the main domain instead. The scanner reports therisk regardless of region.diff --git a/scripts/seo_updates.py b/scripts/seo_updates.pyindex b949b42..8f446bd 100644--- a/scripts/seo_updates.py+++ b/scripts/seo_updates.py@@ -87,7 +87,12 @@ def _filter(since_date = date.fromisoformat(since)out = [u for u in out if date.fromisoformat(u["date"]) >= since_date]if kinds:- out = [u for u in out if u.get("kind") in kinds]+ # A combined "core+spam" rollout is both a core and a spam update, so+ # asking for either one must include it (e.g. March 2024).+ wanted = set(kinds)+ if wanted & {"core", "spam"}:+ wanted.add("core+spam")+ out = [u for u in out if u.get("kind") in wanted]out.sort(key=lambda u: u["date"], reverse=True)return outdiff --git a/tests/test_content_quality.py b/tests/test_content_quality.pyindex 9216e48..93bb706 100644--- a/tests/test_content_quality.py+++ b/tests/test_content_quality.py@@ -412,10 +412,20 @@ def test_seo_updates_unverified_entries_call_out_status() -> None:def test_seo_updates_filter_by_kind() -> None:data = seo_updates._load()cores = seo_updates._filter(data["updates"], kinds={"core"})- assert all(u["kind"] == "core" for u in cores)+ assert all(u["kind"] in {"core", "core+spam"} for u in cores)assert any("December 2025 Core Update" in u["name"] for u in cores)+def test_seo_updates_spam_filter_includes_combined_rollouts() -> None:+ """`--kind spam` used to skip the combined March 2024 core+spam rollout."""+ data = seo_updates._load()+ spam = seo_updates._filter(data["updates"], kinds={"spam"})+ assert all(u["kind"] in {"spam", "core+spam"} for u in spam)+ assert any(u["kind"] == "core+spam" for u in spam)+ policy = seo_updates._filter(data["updates"], kinds={"policy"})+ assert all(u["kind"] == "policy" for u in policy)++def test_seo_updates_filter_by_year() -> None:data = seo_updates._load()since_2025 = seo_updates._filter(data["updates"], since="2025")diff --git a/tests/test_pagespeed_null_category_score.py b/tests/test_pagespeed_null_category_score.pyindex 2fd4401..4789204 100644--- a/tests/test_pagespeed_null_category_score.py+++ b/tests/test_pagespeed_null_category_score.py@@ -37,6 +37,7 @@ def _psi_payload():return {"analysisUTCTimestamp": "2026-08-29T00:00:00.000Z","lighthouseResult": {+ "lighthouseVersion": "13.5.0","categories": {"performance": {"score": 0.91},"accessibility": {"score": None}, # not evaluated@@ -66,3 +67,12 @@ def test_unscored_category_is_omitted_not_reported_as_zero():# A category Lighthouse refused to score is absent, not a 0/100 failure.assert "accessibility" not in result["lighthouse_scores"], result["lighthouse_scores"]+++def test_lighthouse_version_is_reported():+ with mock.patch.object(+ pagespeed_check.requests, "get", return_value=_Response(_psi_payload())+ ):+ result = pagespeed_check.run_pagespeed("https://example.com")++ assert result["lighthouse_version"] == "13.5.0"