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(audit): align FAQ hook policy, harden firecrawl.ps1, make CI compile dynamic

Daniel0e2131addad5
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index df799aa..272ba50 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -23,54 +23,9 @@ jobs:
- name: Check Python syntax
run: |
- python3 -m py_compile scripts/url_safety.py
- python3 -m py_compile scripts/render_page.py
- python3 -m py_compile scripts/fetch_page.py
- python3 -m py_compile scripts/parse_html.py
- python3 -m py_compile scripts/analyze_visual.py
- python3 -m py_compile scripts/capture_screenshot.py
- python3 -m py_compile scripts/google_auth.py
- python3 -m py_compile scripts/pagespeed_check.py
- python3 -m py_compile scripts/crux_history.py
- python3 -m py_compile scripts/gsc_query.py
- python3 -m py_compile scripts/gsc_inspect.py
- python3 -m py_compile scripts/indexing_notify.py
- python3 -m py_compile scripts/ga4_report.py
- python3 -m py_compile scripts/google_report.py
- python3 -m py_compile scripts/youtube_search.py
- python3 -m py_compile scripts/nlp_analyze.py
- python3 -m py_compile scripts/keyword_planner.py
- python3 -m py_compile scripts/backlinks_auth.py
- python3 -m py_compile scripts/moz_api.py
- python3 -m py_compile scripts/bing_webmaster.py
- python3 -m py_compile scripts/commoncrawl_graph.py
- python3 -m py_compile scripts/verify_backlinks.py
- python3 -m py_compile scripts/validate_backlink_report.py
- python3 -m py_compile scripts/dataforseo_costs.py
- python3 -m py_compile scripts/dataforseo_merchant.py
- python3 -m py_compile scripts/dataforseo_normalize.py
- python3 -m py_compile scripts/drift_baseline.py
- python3 -m py_compile scripts/drift_compare.py
- python3 -m py_compile scripts/drift_report.py
- python3 -m py_compile scripts/drift_history.py
- python3 -m py_compile scripts/sync_flow.py
- python3 -m py_compile scripts/release_sign.py
- python3 -m py_compile scripts/verify_release.py
- python3 -m py_compile scripts/content_quality.py
- python3 -m py_compile scripts/content_humanize.py
- python3 -m py_compile scripts/content_verify.py
- python3 -m py_compile scripts/domain_history.py
- python3 -m py_compile scripts/seo_updates.py
- python3 -m py_compile scripts/preload_check.py
- python3 -m py_compile scripts/indexnow_submit.py
- python3 -m py_compile scripts/lcp_subparts.py
- python3 -m py_compile scripts/unlighthouse_run.py
- python3 -m py_compile scripts/schema_generate.py
- python3 -m py_compile scripts/schema_ecommerce_validate.py
- python3 -m py_compile scripts/parasite_risk.py
- python3 -m py_compile scripts/gbp_deprecation_lint.py
- python3 -m py_compile scripts/portability_check.py
- echo "All 48 scripts passed syntax check"
+ mapfile -t PYFILES < <(git ls-files 'scripts/*.py')
+ python3 -m py_compile "${PYFILES[@]}"
+ echo "All ${#PYFILES[@]} scripts passed syntax check"
test:
name: Test suite (manifests + sync_flow)
diff --git a/extensions/firecrawl/install.ps1 b/extensions/firecrawl/install.ps1
index 75569c8..a80c29b 100644
--- a/extensions/firecrawl/install.ps1
+++ b/extensions/firecrawl/install.ps1
@@ -70,15 +70,21 @@ $settingsContent = if (Test-Path $SettingsFile) { Get-Content $SettingsFile -Raw
if (-not $settingsContent.mcpServers) { $settingsContent | Add-Member -NotePropertyName mcpServers -NotePropertyValue @{} -Force }
$settingsContent.mcpServers | Add-Member -NotePropertyName 'firecrawl-mcp' -NotePropertyValue @{
command = 'npx'
- args = @('-y', 'firecrawl-mcp')
+ args = @('-y', '[email protected]')
env = @{ FIRECRAWL_API_KEY = $apiKeyPlain }
} -Force
$settingsContent | ConvertTo-Json -Depth 10 | Set-Content $SettingsFile -Encoding UTF8
+# Restrict the credential-bearing settings file to the current user only.
+try {
+ icacls $SettingsFile /inheritance:r /grant:r "${env:USERNAME}:F" | Out-Null
+} catch {
+ Write-Host " Note: could not restrict settings.json ACL; review manually." -ForegroundColor Yellow
+}
Write-Host " v MCP server configured" -ForegroundColor Green
# Pre-warm
Write-Host "=> Pre-downloading firecrawl-mcp..." -ForegroundColor Yellow
-npx -y firecrawl-mcp --help 2>$null | Out-Null
+npx -y [email protected] --help 2>$null | Out-Null
Write-Host ""
Write-Host "v Firecrawl extension installed!" -ForegroundColor Green
diff --git a/hooks/validate-schema.py b/hooks/validate-schema.py
index caaa112..b6accf4 100755
--- a/hooks/validate-schema.py
+++ b/hooks/validate-schema.py
@@ -110,8 +110,11 @@ def _validate_schema_object(obj: dict, block_num: int) -> List[str]:
if schema_type in deprecated:
errors.append(f"{prefix}: @type '{schema_type}' is {deprecated[schema_type]}")
- # Check for restricted types used incorrectly
- restricted = {"FAQPage": "restricted to government and healthcare sites only (Aug 2023)"}
+ # Check for restricted types used incorrectly.
+ # FAQPage is intentionally NOT flagged: Google retired FAQ rich results for
+ # all sites (May 7, 2026), but the markup still aids AI Mode / AI Overviews
+ # entity resolution, so it is valid to ship. See skills/seo-schema/SKILL.md.
+ restricted: dict = {}
if schema_type in restricted:
errors.append(f"{prefix}: @type '{schema_type}' is {restricted[schema_type]}; verify site qualifies")
diff --git a/tests/test_schema_hook_policy.py b/tests/test_schema_hook_policy.py
new file mode 100644
index 0000000..34b83f1
--- /dev/null
+++ b/tests/test_schema_hook_policy.py
@@ -0,0 +1,34 @@
+"""Policy regression for the JSON-LD validation hook.
+
+FAQPage must NOT block (FAQ rich results were retired May 2026 but the
+markup still aids AI Mode), while genuinely deprecated types must still
+block the edit (exit 2).
+"""
+
+from __future__ import annotations
+
+import subprocess
+import sys
+from pathlib import Path
+
+ROOT = Path(__file__).resolve().parents[1]
+HOOK = ROOT / "hooks" / "validate-schema.py"
+
+
+def _run(tmp_path: Path, schema_type: str, extra: str = "") -> int:
+ html = tmp_path / "page.html"
+ html.write_text(
+ '<html><head><script type="application/ld+json">\n'
+ f'{{"@context":"https://schema.org","@type":"{schema_type}"{extra}}}\n'
+ "</script></head></html>",
+ encoding="utf-8",
+ )
+ return subprocess.run([sys.executable, str(HOOK), str(html)]).returncode
+
+
+def test_faqpage_not_blocked(tmp_path):
+ assert _run(tmp_path, "FAQPage") == 0
+
+
+def test_deprecated_type_still_blocks(tmp_path):
+ assert _run(tmp_path, "ClaimReview") == 2