!bash "${CLAUDE_SKILL_DIR}/../../hooks/yaml-helper.sh" resolve_config --keys locale,review_mode,automation
Resolved above — use as-is; --review overrides review_mode for this run.
SEO Drift & Regression Monitor for SaaS
Locale & User Profile: Match
locale(pt-BR→ natural Brazilian Portuguese questions/options, overriding English examples;en→ English) anduser_profile(founder→ plain business language with(Recomendado)first, zero tech jargon;developer→ technical). Keep code/tests in English.
Provides automated regression protection for on-page SEO state across SaaS application builds and production deployments.
1. Commands
| Command | Action |
|---|---|
| /saas-seo-drift baseline <url> | Capture 'known-good' baseline snapshot in local SQLite DB |
| /saas-seo-drift compare <url> | Compare current live or staging page against latest baseline |
| /saas-seo-drift history <url> | List historical snapshots and drift diffs |
2. Elements Captured in Baseline Snapshot
- HTTP Status Code (200, 301, 404, 500)
- HTML Body SHA-256 Hash
- Title tag string
- Meta description string
- Canonical URL string
- Meta robots directives (
noindex,nofollow) - H1, H2, H3 heading arrays
- Schema.org JSON-LD content and SHA-256 hash
- OpenGraph & Twitter tags
- Core Web Vitals (LCP, CLS, INP, Performance score)
3. The 17 Automated Drift Rules
CRITICAL (Immediate Traffic / De-indexing Risk)
schema_removed: All structured data deleted.canonical_changed: Canonical URL modified unexpectedly.canonical_removed: Canonical tag completely missing.noindex_added: Accidentalnoindexinjected into production build.h1_removed: Primary H1 heading missing.h1_changed_significantly: H1 text altered >50%.title_removed: Title tag deleted.status_code_error: Page returning 4xx or 5xx.
WARNING (Potential Negative Search Impact)
title_changed: Title tag string altered.meta_description_changed: Meta description altered.cwv_regressed: Core Web Vitals metric degraded by >20%.perf_score_dropped: Overall performance score dropped by 10+ points.og_tags_removed: Social sharing previews stripped.schema_modified: Structured data hash altered.
INFO (Positive or Neutral Changes)
schema_added: New structured data blocks detected.h2_structure_changed: Subheading restructuring.html_changed: Routine template updates.
4. CLI Execution
python scripts/seo/drift_baseline.py <url>
python scripts/seo/drift_compare.py <url>