Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问许可证需确认审计通过

migrate-site迁移站点

Agent Skill

migrate-site 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

39,984

周安装

1,721

GitHub Stars

7

下载量

14,008
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:migrate-site(迁移站点)
来源仓库:https://github.com/calm-north/seojuice-skills
仓库路径:skills/migrate-site
安装命令:
npx skills add https://github.com/calm-north/seojuice-skills --skill migrate-site
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/calm-north/seojuice-skills --skill migrate-site

简介

通过重定向映射、飞行前审核和恢复监控安全地执行网站迁移。

  • 涵盖六种迁移类型(域更改、CMS 切换、URL 重组、协议升级、子域移动、重新设计),并针对每种类型进行风险评估和重定向策略
  • 包括五阶段工作流程:迁移前清单和高价值页面识别、具有冲突解决方案的重定向映射、技术设置清单、迁移后监控计划(每日第 1 周、每周第 2-4 周、每月第 2-3 个月)和回滚标准
  • 提供预期恢复时间表(流量下降 10-30%,2-3 个月恢复)和调查危险信号
  • 强调 301 重定向,避免重定向链,并将每个旧 URL 映射到最相关的新页面,而不是合并到主页

SKILL.md

Migrate Site

Guide a domain migration, CMS switch, or URL restructure without losing rankings — redirect mapping, monitoring plan, and rollback criteria.

Migration Types

TypeRisk LevelExample
Domain changeHigholddomain.com → newdomain.com
Protocol changeLowHTTP → HTTPS
CMS switchMedium-HighWordPress → Next.js, Shopify → custom
URL restructureMedium/blog/2024/post → /blog/post
Subdomain migrationMediumblog.example.com → example.com/blog
Design/template changeLow-MediumSame URLs, new templates

All migrations carry SEO risk. The goal is to minimize the traffic dip and speed up recovery.

Phase 1: Pre-Migration Audit

Inventory Everything

Before touching anything, document the current state:

Pages:

  • Full list of all indexed URLs (from sitemap + Search Console)
  • Each page's monthly traffic (Search Console, last 6 months)
  • Each page's top keywords and positions
  • Each page's backlink count (pages with external links need special attention)

Technical:

  • Current robots.txt
  • Current XML sitemap(s)
  • Current redirect rules
  • Current structured data
  • Current canonical tags
  • Current internal linking structure

Performance:

  • Total organic traffic baseline (weekly and monthly)
  • Top 50 pages by traffic
  • Core Web Vitals scores
  • Crawl stats from Search Console

Save everything. You need this data to compare against post-migration.

Identify High-Value Pages

Not all pages are equal. Flag these for extra attention:

  • Pages with the most organic traffic (top 20%)
  • Pages with external backlinks
  • Pages that rank for high-value keywords
  • Landing pages tied to conversions
  • Pages with featured snippets

These pages must have working redirects and should be verified individually after migration.

Phase 2: Redirect Mapping

The redirect map is the most critical artifact. Every old URL must map to the right new URL.

Mapping Rules

Old URLNew URLTypeNotes
/old-page/new-page301Content matches
/removed-page/closest-relevant-page301Consolidated into related page
/deleted-page/301No relevant page — send to homepage (last resort)

Rules:

  • Use 301 redirects for permanent moves (not 302)
  • Map each old URL to the most relevant new URL (not all to homepage)
  • Preserve URL structure where possible (fewer redirects = less risk)
  • Avoid redirect chains (old → intermediate → new). Every redirect should be direct.
  • Handle URL variations: with/without trailing slash, with/without www, HTTP/HTTPS

Common Pitfalls

  • Forgetting to redirect paginated URLs (/page/2, /page/3)
  • Missing query parameter URLs that have backlinks
  • Case sensitivity issues (some servers treat /Page and /page differently)
  • Redirecting everything to the homepage (kills page-level authority)

Phase 3: Technical Setup

Before the Switch

  • New site is fully crawlable (no staging robots.txt left behind)
  • All redirect rules are implemented and tested
  • New XML sitemap is ready (with new URLs)
  • Canonical tags on new pages point to new URLs (not old)
  • Internal links updated to new URLs (don't rely on redirect chains for internal links)
  • Structured data updated with new URLs
  • Hreflang tags updated (if multilingual)
  • Google Search Console property created for new domain (if domain change)
  • Analytics tracking updated on new site
  • CDN/caching configured for new site

The Switch

  • Deploy redirect rules
  • Deploy new site
  • Verify redirects are working (spot-check 20+ URLs)
  • Submit new sitemap to Search Console
  • If domain change: use Search Console's Change of Address tool
  • Force-crawl key pages using Search Console URL Inspection
  • Monitor server errors in real-time for the first 24 hours

Phase 4: Post-Migration Monitoring

Week 1 (daily checks)

  • Check Search Console for crawl errors (404s, 5xx errors)
  • Verify organic traffic hasn't dropped catastrophically
  • Check that redirects are still working
  • Look for pages returning 404 that should redirect
  • Monitor server response times (migration can reveal performance issues)

Weeks 2-4 (weekly checks)

  • Compare organic traffic to pre-migration baseline
  • Check indexation status in Search Console (indexed page count)
  • Verify key pages are indexed under new URLs
  • Check ranking positions for top keywords
  • Review crawl stats for anomalies

Months 2-3 (monthly checks)

  • Traffic should be recovering to pre-migration levels
  • All old URLs should show as redirected in Search Console
  • New URLs should be indexed and ranking
  • Core Web Vitals should be stable

Expected Timeline

  • Traffic dip: Normal. Expect 10-30% drop in the first 2-4 weeks.
  • Recovery: Most sites recover within 2-3 months if redirects are correct.
  • Full stabilization: 3-6 months for large sites.
  • Red flag: If traffic hasn't started recovering after 4 weeks, investigate.

Phase 5: Rollback Plan

Before migrating, define rollback criteria:

Rollback if:

  • Organic traffic drops > 50% for more than 7 days
  • More than 20% of redirects are broken
  • Critical conversion pages are not accessible
  • Server errors exceed acceptable threshold

Rollback steps:

  1. Revert DNS (if domain change) or redeploy old site
  2. Remove or reverse redirects
  3. Re-submit old sitemap
  4. Investigate what went wrong before attempting again

Output Format

Migration Plan: [old] → [new]

Migration Type: [domain change / CMS switch / URL restructure / etc.] Risk Level: [low / medium / high] Estimated Timeline: [preparation + execution + monitoring]

Pre-Migration Inventory

  • Total indexed pages: [count]
  • Pages with backlinks: [count]
  • Top traffic pages: [list top 10]
  • Current monthly organic traffic: [baseline]

Redirect Map [Table — full mapping of old → new URLs]

Technical Checklist [Checklist from Phase 3]

Monitoring Schedule [Checkpoints from Phase 4]

Rollback Criteria [Defined thresholds and steps]

Risk Areas

  • High-value pages that need extra attention
  • Known technical challenges for this migration type
  • External backlinks that must be preserved

Pro Tip: Use the free Broken Link Checker to verify redirects post-migration, and the Htaccess Generator to build redirect rules. SEOJuice MCP users can run /seojuice:site-health for a full page inventory with link data, /seojuice:keyword-analysis to identify high-value pages, and list_changes to detect content differences post-migration.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.48%
按下载量换算5,250

Claude

28.3%
按下载量换算3,964

Cursor

19.07%
按下载量换算2,671

Gemini CLI

10.07%
按下载量换算1,411

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills