Saas seo drift

From Basinfy/Basinfy-SaaS-Studio · View interactive version

Saas seo drift is an AI agent skill from the GitHub repository Basinfy/Basinfy-SaaS-Studio. Capture SQLite SEO baselines and detect deployment regressions across 17 CI rules.

How to use this skill

Skill file

!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) and user_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


3. The 17 Automated Drift Rules

CRITICAL (Immediate Traffic / De-indexing Risk)

  1. schema_removed: All structured data deleted.
  2. canonical_changed: Canonical URL modified unexpectedly.
  3. canonical_removed: Canonical tag completely missing.
  4. noindex_added: Accidental noindex injected into production build.
  5. h1_removed: Primary H1 heading missing.
  6. h1_changed_significantly: H1 text altered >50%.
  7. title_removed: Title tag deleted.
  8. status_code_error: Page returning 4xx or 5xx.

WARNING (Potential Negative Search Impact)

  1. title_changed: Title tag string altered.
  2. meta_description_changed: Meta description altered.
  3. cwv_regressed: Core Web Vitals metric degraded by >20%.
  4. perf_score_dropped: Overall performance score dropped by 10+ points.
  5. og_tags_removed: Social sharing previews stripped.
  6. schema_modified: Structured data hash altered.

INFO (Positive or Neutral Changes)

  1. schema_added: New structured data blocks detected.
  2. h2_structure_changed: Subheading restructuring.
  3. html_changed: Routine template updates.

4. CLI Execution

python scripts/seo/drift_baseline.py <url>
python scripts/seo/drift_compare.py <url>
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.