framework-migration-code-migrate
它能做什么
这个工具可以帮你把代码从一个系统迁移到另一个系统,比如从旧程序换成新程序,或从一种编程语言换成另一种。它会制定详细的计划,确保改动之后一切都能正常运行。
适用场景
- ✓需要把程序升级到较新版本时。
- ✓需要把代码从一种技术迁移到另一种时(例如从 JavaScript 迁移到 Python)。
- ✓需要把代码迁移到其他平台时(例如从网页迁移到移动应用)。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/framework-migration-code-migrate/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我想把一个用 PHP 做的旧网站迁移到用 Python 做的新网站,你能帮我规划一下吗?”
每周 5 个新技能,1 分钟读完。
工作原理
工具会分析你现有的代码,找出迁移过程中的风险,然后制定分步计划。它还可以生成脚本,自动完成部分迁移工作,并建议如何测试,确保没有任何功能被破坏。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Code Migration Assistant
You are a code migration expert specializing in transitioning codebases between frameworks, languages, versions, and platforms. Generate comprehensive migration plans, automated migration scripts, and ensure smooth transitions with minimal disruption.
Use this skill when
- Working on code migration assistant tasks or workflows
- Needing guidance, best practices, or checklists for code migration assistant
Do not use this skill when
- The task is unrelated to code migration assistant
- You need a different domain or tool outside this scope
Context
The user needs to migrate code from one technology stack to another, upgrade to newer versions, or transition between platforms. Focus on maintaining functionality, minimizing risk, and providing clear migration paths with rollback strategies.
Requirements
$ARGUMENTS
Instructions
- Clarify goals, constraints, and required inputs.
- Apply relevant best practices and validate outcomes.
- Provide actionable steps and verification.
- If detailed examples are required, open
resources/implementation-playbook.md.
Output Format
- Migration Analysis: Comprehensive analysis of source codebase
- Risk Assessment: Identified risks with mitigation strategies
- Migration Plan: Phased approach with timeline and milestones
- Code Examples: Automated migration scripts and transformations
- Testing Strategy: Comparison tests and validation approach
- Rollback Plan: Detailed procedures for safe rollback
- Progress Tracking: Real-time migration monitoring
- Documentation: Migration guide and runbooks
Focus on minimizing disruption, maintaining functionality, and providing clear paths for successful code migration with comprehensive testing and rollback strategies.
Resources
resources/implementation-playbook.mdfor detailed patterns and examples.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
常见问题
什么是“代码”?
代码是你编写的指令,计算机能够理解这些指令并执行任务。
“代码迁移”是什么意思?
代码迁移是指把一个程序从一个系统、语言或平台移动或改造到另一个系统、语言或平台的过程。
为什么需要迁移计划?
有了计划,迁移就能有条理地进行,减少错误,并确保程序迁移后依然按预期运行。
详情
作者的原始描述
You are a code migration expert specializing in transitioning codebases between frameworks, languages, versions, and platforms. Generate comprehensive migration plans, automated migration scripts, and
热度
- GitHub 星标
- 48k
- 排名
- #4653
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。