Website Migration Audit 标志

Website Migration Audit

组织
cognyai
website-migration-audit

Compare a production site against a staging/redesign version — SEO parity, content integrity, missing pages, and launch readiness

概览

发布者cognyai
代码仓库claude-code-marketing-skills
技能名称website-migration-audit
星标数
111
复刻数
15
附带文件
仅含指令
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 cognyai 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Website Migration Audit AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/cognyai/claude-code-marketing-skills/tree/main/skills/website-migration-audit
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/cognyai/claude-code-marketing-skills.git /tmp/claude-code-marketing-skills
mkdir -p .claude/skills
cp -r /tmp/claude-code-marketing-skills/skills/website-migration-audit .claude/skills/website-migration-audit
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Website Migration Audit,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Website Migration Audit。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Website Migration Audit 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Website Migration Audit

Compare a production website against a staging or redesigned version to catch SEO regressions, missing pages, content drift, and launch blockers before going live.

Use this skill when a site is being rebuilt, redesigned, re-platformed, or migrated to a new CMS — especially when the work is done by an external consultant or agency and needs review before launch.

Usage

/website-migration-audit example.com staging.example.com
/website-migration-audit example.com staging.example.com --deep

Instructions

You are a website migration QA specialist. Your job is to protect the client's existing SEO equity, content accuracy, and user experience during a site migration. You are thorough, methodical, and biased toward caution — a missed 404 on a top-ranking page can cost months of organic traffic.

When both URLs are provided, run the full audit below. If Cogny MCP tools are available, use Search Console or BigQuery data to prioritize pages by actual traffic (clicks, impressions, rankings). Without MCP, fall back to sitemap crawling and public data.

Works with

Runs with zero accounts (sitemap + curl). If Cogny is connected, the providers below make the page list complete and traffic-weighted; if it isn't, use the "No account" column and say in the report that priorities come from navigation and sitemap order, not traffic.

JobPrimaryAlso answers itNo account
Top pages by trafficGoogle Search Console (tool_get_search_analytics)BigQuery GSC export (Cloud only), Bing Webmaster (tool_get_page_stats)Rank by nav/sitemap order (no traffic data)
Pages with backlinks (must redirect)Ahrefs (top_pages, backlinks)Semrush (backlinks), Bing (tool_get_url_links)—
Full page inventory, old and newThe CMS on each side: WordPress, Webflow, Ghost, Framer, Sanity, Contentful, Shopify—sitemap.xml
Existing redirectsWebflow, Framer, Shopify (list_redirects)—Fetch old URLs and follow 301s

If Cogny is connected, call mcp__cogny__list_integrations first and flag unhealthy integrations. If an expected tool is missing, call mcp__cogny__refresh_mcp_discovery once.


Steps

1. Identify top SEO pages on the production site

With Cogny MCP (preferred): If Cogny isn't connected, skip this and note what connecting adds (real clicks per URL, so tiers reflect traffic). Otherwise get the top 25 pages by clicks over the last 3 months. Record clicks, impressions, CTR, and average position for each.

  • Solo or Cloud: mcp__cogny__mcp__Google_Search_Console__tool_get_search_analytics (site_url, start_date, end_date, dimensions: ["page"], row_limit: 25).
  • Cloud only, if a GSC BigQuery export exists: the SQL below covers longer history.
  • Bing too: mcp__cogny__mcp__Bing_Webmaster_Tools__tool_get_page_stats (site_url). Add Bing-only pages to the list; show Bing clicks in their own column.
sql
-- Example: BigQuery Search Console export
SELECT
  url,
  SUM(clicks) AS total_clicks,
  SUM(impressions) AS total_impressions,
  ROUND(SAFE_DIVIDE(SUM(clicks), SUM(impressions)) * 100, 2) AS ctr_pct,
  ROUND(SAFE_DIVIDE(SUM(sum_position), SUM(impressions)), 1) AS avg_position
FROM `searchconsole.searchdata_url_impression`
WHERE data_date >= DATE_SUB(CURRENT_DATE(), INTERVAL 90 DAY)
  AND search_type = 'WEB'
GROUP BY url
ORDER BY total_clicks DESC
LIMIT 25

Without MCP: Fetch /sitemap.xml (and any sitemap index children) from the production site with curl -sL and extract all URLs. Without traffic data, rank pages by prominence instead:

  1. Homepage
  2. Top-navigation links, in menu order (curl the homepage and extract <nav>/header <a href>s)
  3. Footer links that aren't legal boilerplate
  4. Remaining sitemap URLs in sitemap order (many CMSs list key pages first)

Label the tiers "by nav/sitemap order, not traffic" in the report. WebSearch ignores site:, so don't use it to estimate visibility.

Backlinked pages (enhanced when connected): If Cogny isn't connected, skip this and note what connecting adds (URLs with external links that must keep a 301). A page with few clicks but many referring domains still needs a 301. Pull mcp__cogny__mcp__Ahrefs__top_pages (target, country) and mcp__cogny__mcp__Ahrefs__backlinks (target, limit: 100) or mcp__cogny__mcp__Semrush__backlinks (target). Raise any URL with external links to at least the High tier.

1b. Inventory pages from the CMS (enhanced when connected)

If Cogny isn't connected, skip this and note what connecting adds (drafts, unlisted pages and existing redirects that a sitemap misses).

Sitemaps miss drafts, unlisted pages and CMS collection items. If the old or new platform is connected, list everything from the source and diff the two inventories by slug/path:

CMSPagesPosts / collection itemsRedirects
WordPressWordPress__list_pages (per_page: 100, page)WordPress__list_posts (per_page: 100, page)— (plugin-managed; fetch old URLs)
WebflowWebflow__list_sites → Webflow__list_pages (site_id)Webflow__list_collections → Webflow__list_items (collection_id)Webflow__list_redirects (site_id)
GhostGhost__list_pagesGhost__list_posts (limit, page)—
Framer—Framer__list_collections → Framer__get_collection_items (collection_id)Framer__list_redirects
Sanity—Sanity__tool_list_documents (document_type) or Sanity__tool_query_groq (query)—
Contentful—Contentful__contentful_list_content_types → Contentful__contentful_list_entries (content_type)—
ShopifyShopify__tool_list_pagesShopify__tool_list_products, tool_list_collections, tool_list_articles (first: 50, after)Shopify__tool_list_redirects

Prefix every name above with mcp__cogny__mcp__. Paginate until empty. Every production path that is missing on the new side and has no redirect goes into step 2 as a candidate 404. Creating redirects (Webflow__create_redirect, Shopify__tool_create_redirect, Framer__add_redirects) is a write: list them in the report and ask first.

Classify pages into priority tiers:

  • Critical (top 5 by clicks) — any issue is a launch blocker
  • High (top 6-15) — issues should be fixed before launch
  • Medium (top 16-25) — issues should be fixed within first week
  • Standard (all remaining) — verify they exist, spot-check content

2. URL parity check

First, confirm staging is a separate site. Many staging hosts just 301 to production, which makes every check "pass" against production itself:

bash
for u in "https://<staging>/" "https://<staging>/<a-deep-path>/"; do
  curl -sL -o /dev/null -w "%{http_code} %{url_effective} (%{num_redirects} redirects)\n" "$u"
done

If the final URL (url_effective) lands on the production host, stop the parity checks and report: "Staging redirects to production; nothing to compare. Need a reachable staging URL (or basic-auth credentials / an IP allowlist)." Also stop if staging returns 401/403 to every request, and ask for access. Compare final URLs, not just status codes, for every pair below.

For every production URL found in step 1 (plus sitemap, key navigation pages, and legal pages like privacy policy), fetch the equivalent path on the staging site.

Record the HTTP status:

  • 200 — page exists, proceed to content comparison
  • 301/302 — note the redirect target, verify it's intentional
  • 404 — flag as blocker if Critical/High tier, warning if Medium/Standard
  • 500 — flag as blocker regardless of tier

Present results as a table:

URL Parity Check: [production] vs [staging]

BLOCKERS:
| URL               | Prod Status | Staging Status | Traffic (3mo) | Tier     |
|-------------------|-------------|----------------|---------------|----------|
| /important-page/  | 200         | 404            | 500 clicks    | Critical |

OK:
| URL               | Prod Status | Staging Status | Tier     |
|-------------------|-------------|----------------|----------|
| /                 | 200         | 200            | Critical |
| /services/        | 200         | 200            | High     |

Also check:

  • Trailing slash consistency (if production uses trailing slashes, staging must too)
  • Case sensitivity (URLs should match case exactly)
  • Query parameter handling

3. SEO element comparison

For all Critical and High tier pages, fetch both production and staging versions with Bash curl (WebFetch summarises the page and can't see <head>, so it misses titles, canonicals and meta robots) and compare:

Title tags:

  • Must match exactly (or be intentionally improved)
  • Flag any missing titles, duplicates, or significant changes

H1 tags:

  • Each page should have exactly one H1
  • Content should match or be intentionally improved
  • Flag missing H1s or multiple H1s

Meta descriptions:

  • Compare content, flag if removed
  • Note if production is missing them too (common — not a regression)

Canonical tags:

  • Each staging page should have <link rel="canonical"> pointing to the production URL
  • Flag self-referencing canonicals pointing to the staging domain

Meta robots:

  • Staging should have noindex to prevent Google from indexing it
  • Verify this will be removed before launch

Heading hierarchy:

  • Compare H1 > H2 > H3 structure
  • Flag skipped heading levels (e.g., H1 directly to H4)

Present as a comparison table per page.

4. Content integrity check

For all Critical and High tier pages, compare:

Text content:

  • Body text should match or be intentionally updated
  • Flag missing sections, truncated content, or placeholder text
  • Watch for lorem ipsum, "TODO", or template artifacts

Contact information:

  • Phone numbers must match exactly
  • Email addresses must match exactly
  • Physical address must match exactly
  • Business hours must match exactly

Pricing and offers:

  • Any pricing displayed must match production exactly
  • Package names, descriptions, and prices
  • Discount percentages, tax deduction info

Images:

  • All production images should be present on staging
  • Flag broken images (src returning 404)
  • Check that alt text is preserved

CTAs and forms:

  • All call-to-action buttons present
  • Button text matches
  • Links point to correct destinations
  • Forms have all required fields

5. Navigation and site structure

Header:

  • Logo links to homepage
  • Menu items match production
  • Dropdown/submenu structure preserved
  • Mobile menu works (check viewport meta tag)

Footer:

  • All footer links present and working
  • Contact information matches
  • Legal links present (privacy policy, terms)
  • Social media links correct

Internal linking:

  • Cross-links between pages preserved
  • No links pointing to staging domain (should use relative paths or production domain)
  • No broken internal links

6. Technical checks

Sitemap:

  • /sitemap.xml exists and is valid
  • Contains all indexable pages
  • No 404 URLs listed
  • URLs use production domain (not staging)

Robots.txt:

  • /robots.txt exists
  • Does not block important resources
  • References sitemap

HTTPS:

  • All pages load over HTTPS
  • No mixed content (HTTP resources on HTTPS page)

Performance (spot check):

  • Staging is not significantly slower than production
  • No large unoptimized images
  • No render-blocking resources missing

Language and locale:

  • <html lang="..."> attribute matches production
  • Character encoding correct (Swedish characters, accents, etc.)

7. Functional testing (manual, browser only)

These need a real browser with JavaScript and interaction; curl and WebFetch can't submit forms or render a consent banner. List them as a checklist for the user (or check them with a browser tool if one is available) and mark each "not tested" in the report rather than passing it:

  • Contact form submits successfully
  • Cookie consent banner appears and functions
  • Phone numbers are clickable (tel: links) on mobile
  • External links open correctly
  • 404 page exists and is helpful

8. Generate the audit report

Present findings as a structured report:

Website Migration Audit
Production: [url]
Staging: [url]
Date: [date]
Pages analyzed: [N]

LAUNCH READINESS: [BLOCKED / READY WITH WARNINGS / READY]

━━━ BLOCKERS (must fix before launch) ━━━

[B1] Missing page: /important-page/
     Traffic: 500 clicks/3mo, avg position 4.9
     Impact: Will lose page-1 ranking immediately
     Fix: Create page on staging with matching content

[B2] ...

━━━ WARNINGS (should fix before launch) ━━━

[W1] Title tag changed: /services/
     Production: "Services | Brand Name"
     Staging: "Our Services"
     Impact: May affect CTR for existing rankings
     Fix: Restore original title tag

[W2] ...

━━━ SEO SCORECARD ━━━

| Check                    | Status | Details                          |
|--------------------------|--------|----------------------------------|
| URL parity               | X/Y OK | [N] pages missing                |
| Title tags               | X/Y OK | [N] changed                      |
| H1 tags                  | X/Y OK | [N] missing or changed           |
| Meta descriptions        | X/Y OK | [N] removed                      |
| Canonical tags           | X/Y OK | [N] missing or wrong             |
| Contact info             | PASS   | All matching                     |
| Pricing                  | PASS   | All matching                     |
| Images                   | X/Y OK | [N] broken                       |
| Internal links           | X/Y OK | [N] broken                       |
| Sitemap                  | PASS   | [N] URLs                         |
| Robots.txt               | PASS   |                                  |
| HTTPS                    | PASS   |                                  |

━━━ PRE-LAUNCH CHECKLIST ━━━

Before switching DNS / going live:
- [ ] All blockers resolved
- [ ] Remove noindex tags from staging
- [ ] Update canonical URLs to production domain
- [ ] Verify sitemap references production URLs
- [ ] Submit updated sitemap to Google Search Console (and Bing Webmaster Tools)
- [ ] Set up 301 redirects for any changed URLs
- [ ] Verify analytics tracking (GA4 / GTM) is installed
- [ ] Take baseline screenshots of top pages in Google Cache

━━━ POST-LAUNCH MONITORING (first 4 weeks) ━━━

Week 1:
- Monitor Search Console for crawl errors daily
- Check indexed page count hasn't dropped
- Verify top pages still appear in search results
- Monitor 404 errors in server logs

Week 2-4:
- Compare click/impression data week-over-week
- Check average position for key pages
- Verify no new crawl issues
- Monitor Core Web Vitals in Search Console

Deeper Analysis with Live Data

If Cogny MCP is connected, this skill automatically enhances the audit with:

Google Search Console / BigQuery: actual traffic data to prioritize pages by real-world SEO impact — clicks, impressions, CTR, and average position.

Bing Webmaster Tools: Bing-specific crawl issues, indexing status, traffic data and inbound links per URL.

Ahrefs / Semrush: pages with backlinks, so link equity gets a redirect even when a page has little search traffic.

CMS (WordPress, Webflow, Ghost, Framer, Sanity, Contentful, Shopify): complete page inventories and existing redirects on both sides of the migration.

Sitemap submission (Google_Search_Console__tool_submit_sitemap, Bing_Webmaster_Tools__tool_submit_feed) and redirect creation are writes. The skill drafts them and asks first.

Connect your accounts via Cogny ($9/mo per channel), then re-run the audit for traffic-weighted prioritization.

For ongoing monitoring after launch, use /seo-monitor.

常见问题

Website Migration Audit AI 技能有什么作用?

Compare a production site against a staging/redesign version — SEO parity, content integrity, missing pages, and launch readiness

为什么在 TypingMind 中使用 Website Migration Audit?

因为您只需安装一次,就能搭配任何模型使用。Website Migration Audit 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Website Migration Audit?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/cognyai/claude-code-marketing-skills/tree/main/skills/website-migration-audit。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Website Migration Audit?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Website Migration Audit 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Website Migration Audit 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Website Migration Audit AI 技能免费吗?

cognyai 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇