跳到正文
Skillpedia
部署与云(DevOps)48k · #4653

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/framework-migration-code-migrate/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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

  1. Migration Analysis: Comprehensive analysis of source codebase
  2. Risk Assessment: Identified risks with mitigation strategies
  3. Migration Plan: Phased approach with timeline and milestones
  4. Code Examples: Automated migration scripts and transformations
  5. Testing Strategy: Comparison tests and validation approach
  6. Rollback Plan: Detailed procedures for safe rollback
  7. Progress Tracking: Real-time migration monitoring
  8. 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.md for 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

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#4653
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能