seo-drift
Snapshot a site's SEO state and detect ranking, indexation, metadata, canonical, robots, schema, and on-page regressions over time.
- License 许可
- MIT
- 最近更新
- 2026-10-22
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- seo-drift
- risk
- safe
- tags
- [ "seo", "monitoring", "search-console", "technical-seo", "regression-testing" ]
- tools
- [ "claude", "cursor", "gemini", "codex" ]
- author
- nowork-studio
- source
- https://github.com/nowork-studio/NotFair/tree/main/seo/seo-drift
- license
- MIT
- category
- marketing
- date_added
- 2026-07-22
- description
- Snapshot a site's SEO state and detect ranking, indexation, metadata, canonical, robots, schema, and on-page regressions over time.
- source_repo
- nowork-studio/NotFair
- source_type
- official
- license_source
- https://github.com/nowork-studio/NotFair/blob/main/LICENSE
03 SKILL.md 正文
SEO Drift Monitoring
Overview
Capture a known-good SEO baseline and compare later snapshots against it so regressions become visible. The skill combines search-performance data with live on-page checks to surface ranking drops, deindexation, overwritten metadata, directive changes, and missing schema before they quietly cost traffic.
This portable version is adapted from the official seo-drift skill in NotFair.
When to Use
Use this skill when the user asks to:
- baseline or monitor a site's SEO over time;
- check whether a migration, redesign, CMS change, or redeploy damaged SEO;
- compare current search performance and page metadata with a prior snapshot;
- investigate titles, descriptions, canonicals, robots directives, or schema that changed unexpectedly;
- identify rankings or indexed pages that disappeared.
For a one-time comprehensive SEO audit with no historical comparison, use a general SEO audit skill instead.
Prerequisites
Before capturing data:
- Confirm the site and the key URLs in scope. Prefer top organic landing pages, commercial pages, and any URLs affected by a recent release.
- Confirm baseline or compare mode. If no prior snapshot exists, use baseline mode and explain that there is nothing to compare yet.
- Ask where the snapshot should be stored. Use a local
seo-drift/directory alongside the user's other audit reports only after confirming the intended project or reports location. - Prefer a connected Google Search Console source for query, page, position, impression, click, and indexation signals.
- Use a browser or web-fetch capability for current on-page values. Respect robots directives and avoid high-volume crawling.
If Search Console is unavailable, continue only with the on-page comparison and state that ranking and indexation drift could not be measured. Never infer missing Search Console values from a live crawl.
How It Works
1. Choose the comparison boundary
Record:
- the site property and snapshot date supplied by the user or runtime;
- whether the snapshot is a baseline or comparison;
- the prior snapshot used for comparison, when applicable;
- the exact URL set and search-data window;
- any known migration, release, or CMS event that may explain expected changes.
Do not invent dates or silently compare mismatched date windows.
2. Capture the current snapshot
For the agreed URL set, collect:
- Search performance: query and page clicks, impressions, click-through rate, and average position for a stable window;
- Indexation: indexed status or coverage evidence for each key URL when the connected source exposes it;
- Metadata: title, meta description, and H1;
- Directives: canonical URL, robots header, and meta-robots value;
- Structured data: schema types present;
- Content shape: word count and another stable content fingerprint or summary useful for detecting large changes.
Persist both the values and their source. Keep unavailable fields as unknown; do not coerce them to zero or absent.
3. Diff against the previous baseline
Surface changes in five groups:
- Rankings: queries that dropped by the agreed threshold or disappeared from the observed window.
- Indexation: key pages that lost indexed status or a material drop in indexed-page count.
- Metadata: titles, descriptions, or H1s that changed, became blank, or fell back to a generic template.
- Directives: canonicals that changed or disappeared, and newly introduced
noindexdirectives. - Schema: structured-data types that disappeared from pages where they previously existed.
Separate expected content changes from unexplained regressions. A changed value is evidence of drift, not proof of causation.
4. Rank severity
Use these default levels:
- Critical: an important page is newly
noindex, deindexed, or canonicalized to an unintended URL. - Warning: a material ranking decline, lost query visibility, blank or generic metadata, or missing schema.
- Info: an expected content or metadata change with no observed search-performance harm.
Put directive and indexation failures first because they can suppress the entire page regardless of content quality.
5. Report and preserve evidence
For every reported change, include:
- URL and field or metric;
- before and after values;
- comparison dates and data window;
- severity and likely cause, clearly labeled as an inference;
- the next verification or repair action.
End by offering to create a new baseline only after the user confirms that intended changes and critical repairs are complete.
Example
User: Baseline SEO for https://example.com before Friday's redesign. Track /, /pricing, and /docs.
Agent: I will capture a dated baseline for those three URLs, using Search Console for
query/page performance and live fetches for metadata, directives, schema, and content
shape. I will save it under the confirmed reports directory and use the same URL set and
Search Console window for the post-redesign comparison.
Best Practices
- Keep the key URL set stable so comparisons remain interpretable.
- Compare equivalent Search Console windows and call out incomplete or delayed data.
- Preserve raw snapshot evidence separately from the narrative report.
- Treat missing data as unknown, not as a decline.
- Verify a critical directive or canonical change with a second live fetch before escalating it.
- Label likely causes as hypotheses until repository, CMS, deployment, or change-history evidence confirms them.
Limitations
- Search Console data can lag and may suppress low-volume queries.
- A live crawl cannot prove that Google has indexed a page or adopted its canonical.
- Position changes can reflect seasonality, SERP composition, location, device mix, or competitors rather than a site regression.
- The skill does not replace server-log analysis, full-crawl tooling, or manual review of a large migration.
- Comparisons are unreliable when URL sets, date windows, locales, or device filters differ without normalization.
Security & Safety Notes
- Write snapshots only inside the user-confirmed project or reports directory.
- Do not store authentication tokens, cookies, or raw credentials in snapshots.
- Use read-only Search Console access and non-mutating page fetches.
- Avoid aggressive crawling; honor access restrictions and keep requests bounded to the agreed scope.
- Do not change production metadata, canonicals, robots directives, or deployment settings without a separate, explicit implementation request.
04 同仓库更多 Skills
testing-best-practices
Laravel test design and review. Use when selecting coverage, naming or structuring tests, choosing assertions or test data, isolating dependencies, testing HTTP or security boundaries, improving suite performance, or reviewing test value. Use framework guidance or search-docs for Pest and PHPUnit syntax.
tailwindcss-development
Always invoke when the user's message includes 'tailwind' in any form. Also invoke for: building responsive grid layouts (multi-column card grids, product grids), flex/grid page structures (dashboards with sidebars, fixed topbars, mobile-toggle navs), styling UI components (cards, tables, navbars, pricing sections, forms, inputs, badges), adding dark mode variants, fixing spacing or typography, and Tailwind v3/v4 work. The core use case: writing or fixing Tailwind utility classes in HTML templates (Blade, JSX, Vue). Skip for backend PHP logic, database queries, API routes, JavaScript with no HTML/CSS component, CSS file audits, build tool configuration, and vanilla CSS.
laravel-best-practices
Apply this skill whenever writing, reviewing, or refactoring Laravel PHP code. This includes creating or modifying controllers, models, migrations, form requests, policies, jobs, scheduled commands, service classes, and Eloquent queries. Triggers for N+1 and query performance issues, caching strategies, authorization and security patterns, validation, error handling, queue and job configuration, route definitions, and architectural decisions. Also use for Laravel code reviews and refactoring existing Laravel code to follow best practices. Covers any task involving Laravel backend PHP code patterns.
infer-conventions
Use this skill to analyze how a Laravel application is actually written and record its conventions as shared rules. Trigger when the user wants to detect, infer, document, or standardize project conventions or coding style, set up or grow `.ai/rules`, resolve mixed or conflicting patterns (e.g. "are we using Form Requests or inline validation?"), or onboard agents and teammates to "how we do things here". Covers: a systematic sweep of ~49 Laravel convention dimensions (validation, models, architecture, testing, frontend, database, console), open-ended house-pattern discovery, conflict reporting, and recording rules scoped to the right paths via the Boost `record-rule` MCP tool. Only run this skill when the user explicitly asks for it; never start a sweep as part of another task. Do not use for one-off code review, enforcing formatting a linter already handles, or editing `.ai/rules` files by hand.
inertia-react-development
Develops Inertia.js v2 React client-side applications. Activates when creating React pages, forms, or navigation; using <Link>, <Form>, useForm, or router; working with deferred props, prefetching, or polling; or when user mentions React with Inertia, React pages, React forms, or React navigation.
deploying-to-cloud
Deploys and manages Laravel applications on Laravel Cloud using the `cloud` CLI. Use when the user wants to deploy an app, ship to Cloud, create or manage applications, environments, databases, caches, object storage, queues, domains, instances, background processes, secrets, compute, scheduled tasks, or Laravel Cloud infrastructure; or check billing, usage, or spend. Triggers on deployment, shipping, Cloud management, environment setup, database provisioning, billing or usage queries, the `cloud` CLI, and Laravel Cloud deployment troubleshooting.