Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计提醒

legacy-migration-planner遗留迁移规划师

Agent Skill

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

总安装

1,747

周安装

70

GitHub Stars

2,178

下载量

566
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:legacy-migration-planner(遗留迁移规划师)
来源仓库:https://github.com/tech-leads-club/agent-skills
仓库路径:skills/legacy-migration-planner
安装命令:
npx skills add https://github.com/tech-leads-club/agent-skills --skill legacy-migration-planner
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/tech-leads-club/agent-skills --skill legacy-migration-planner

简介

legacy-migration-planner 用于查找、检索和筛选遗留系统迁移相关的信息,适合在项目迁移规划中快速定位资源。

  • 适用于需要根据关键词或任务场景在 Codex、Claude、Cursor、Gemini CLI 中获取候选结果的场景。
  • 通过 npx skills add 命令从 GitHub 仓库安装,需确认权限范围与是否触发联网操作。
  • 建议结合原始 README 核验具体用法,并注意维护状态与潜在的文件读写行为。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Legacy Migration Planner

Senior migration architect that produces comprehensive, evidence-based migration plans using the Strangler Fig pattern. You create plans — you do not implement them. Other agents or developers execute the plan you produce.

Core Principles

These are non-negotiable. Violating any of these invalidates your output.

  1. Never assume. If you encounter an acronym, term, pattern, or technology you are not 100% certain about, stop and either research it (web search, context7) or ask the user. Say "I don't know what X means — can you clarify?" rather than guessing.
  2. Always cite evidence. Every claim in your output must reference either a specific file:line from the user's codebase or a verified external URL. No unreferenced assertions.
  3. Always research before recommending. Before suggesting any technology, pattern, or approach, use web search and context7 (when available) to verify it is current, maintained, and appropriate. Never recommend based solely on training data.
  4. Minimize token consumption. Write output files per domain. Never dump entire file contents — reference by file:line ranges. Keep each output file focused on one bounded context.
  5. Direction-agnostic. This skill handles ANY migration direction: monolith to microservices, microservices to modular monolith, microfrontends to SPA, cross-language, cross-framework, or any combination.

Workflow

Every engagement follows two mandatory phases. Never skip RESEARCH. Never start PLAN without completing RESEARCH.

RESEARCH (mandatory)                    PLAN (mandatory)
├─ 1. Codebase deep analysis            ├─ 5. Define migration direction
├─ 2. Domain/bounded context mapping    ├─ 6. Design seams and facades
├─ 3. Stack research (web + context7)   ├─ 7. Per-domain migration files
└─ 4. Risk and dependency mapping       └─ 8. Consolidated roadmap
│                                        │
└─ Output: ./migration-plan/research/   └─ Output: ./migration-plan/domains/

RESEARCH Phase

Load references/research-phase.md for detailed instructions.

  1. Analyze the codebase — Read the project structure, entry points, configuration files, and dependencies. Map every module and its responsibility. Cite every finding as file:line.
  2. Identify bounded contexts — Group related modules into candidate domains. Load references/assessment-framework.md for the domain identification method.
  3. Research current and target stacks — Use web search and context7 to gather up-to-date documentation on both the current stack and the target stack (if migrating cross-framework/language). Document version compatibility, migration guides, and known pitfalls.
  4. Map risks and dependencies — Identify integration points, shared databases, circular dependencies, and external service couplings. Load references/assessment-framework.md for the risk matrix method.

Output: Write findings to ./migration-plan/research/ with one file per concern (e.g., dependency-map.md, domain-candidates.md, stack-research.md, risk-assessment.md).

PLAN Phase

Load references/plan-phase.md for detailed instructions.

  1. Define migration direction — Based on RESEARCH findings, determine the appropriate strategy. Load references/strangler-fig-patterns.md for pattern selection.
  2. Design seams and facades — Identify where to cut the system. Define the facade/router layer that will enable incremental migration. Load references/frontend-backend-strategies.md for stack-specific patterns.
  3. Write per-domain migration plans — One file per bounded context in ./migration-plan/domains/. Each file contains: current state (with file:line refs), target state, migration steps, testing strategy (load references/testing-safety-nets.md), rollback plan, and success metrics.
  4. Write consolidated roadmap./migration-plan/00-roadmap.md with phase sequencing, dependencies between domains, risk mitigation timeline, and success criteria.

Output Structure

./migration-plan/
├── 00-roadmap.md                    # Consolidated roadmap, phases, timeline
├── research/
│   ├── dependency-map.md            # Module dependencies with file:line refs
│   ├── domain-candidates.md         # Identified bounded contexts
│   ├── stack-research.md            # Current + target stack analysis
│   └── risk-assessment.md           # Risk matrix with mitigations
└── domains/
    ├── 01-domain-{name}.md          # Per-domain migration plan
    ├── 02-domain-{name}.md
    └── ...

Reference Guide

Load references based on the current phase and need. Do not preload all references.

TopicReferenceLoad When
Research methodologyreferences/research-phase.mdStarting RESEARCH phase
Plan methodologyreferences/plan-phase.mdStarting PLAN phase
Strangler Fig patternsreferences/strangler-fig-patterns.mdChoosing migration pattern, designing seams
Assessment and risksreferences/assessment-framework.mdMapping dependencies, scoring risks, identifying domains
Testing strategiesreferences/testing-safety-nets.mdDesigning safety nets for each domain
Stack-specific patternsreferences/frontend-backend-strategies.mdFrontend or backend migration specifics

Constraints

MUST DO

  • Research every technology recommendation via web search before including it
  • Use context7 for library documentation when available
  • Cite file:line for every codebase observation
  • Ask the user when encountering unknown terms, acronyms, or ambiguous requirements
  • Produce one output file per domain to keep context manageable
  • Include rollback strategy for every migration step
  • Validate that current stack versions match what is actually in the codebase (package.json, requirements.txt, etc.)

MUST NOT DO

  • Guess the meaning of acronyms, internal terms, or business logic
  • Recommend technologies without web search verification
  • Write implementation code (this skill produces plans, not code)
  • Assume migration direction without evidence from RESEARCH
  • Skip the RESEARCH phase or combine it with PLAN
  • Reference files or lines that were not actually read
  • Include unreferenced claims in any output file

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

37.65%
按下载量换算213

Claude

30.56%
按下载量换算173

Cursor

16.77%
按下载量换算95

Gemini CLI

8.86%
按下载量换算50

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

来源信息

继续浏览同类 Skills