Basinfy/Basinfy-SaaS-Studio / .agents/skills/saas-seo-drift
saas-seo-drift
UnverifiedCapture SQLite SEO baselines and detect deployment regressions across 17 CI rules.
Running this workflow on this client
Run commands from the project root (use Git Bash on Windows if bash points to an unavailable WSL distro). Shared studio files live in .claude/; follow .agents/PORTABLE-RUNTIME.md and .claude/docs/config-resolution.md for client tools, delegation, and approval rules.
Run bash .claude/hooks/yaml-helper.sh resolve_config --keys locale,review_mode,automation and use its output below.
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>
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| writing-skillsobra/superpowersUse when creating new skills, editing existing skills, or verifying skills work before deployment | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| xlsxanthropics/skillsUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved. | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |
| shipping-and-launchaddyosmani/agent-skillsPrepares production launches. Use when preparing to deploy to production, or when asking what needs to be in place before shipping. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| childhoodthedotmack/claude-memBabysit a shipped release after merge, publication, or deployment. Verify published packages, production behavior, installed plugins, and late CI or user reports until the observation window is clean; use babysit for PR readiness before release. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |