microsoft/azure-skills

azure-cloud-migratemicrosoft/azure-skills / skills/azure-cloud-migrate/SKILL.md

先出迁移评估,再转换代码,最后交接基础设施与部署

  • SKILL.md 已保存
  • 中文用法已整理
  • 安装与运行未实测
先判断是否解决你的问题

azure-cloud-migrate 是什么?

azure-cloud-migrate 先评估现有云工作负载,再按来源转换代码和配置:如 Lambda 到 Functions、Heroku/Beanstalk/App Engine 到 App Service,以及 Fargate、Kubernetes 或 Cloud Run 到 Container Apps。它把迁移结果放进独立目录,保留原工程。

中文说明由本站依据来源整理;英文原文保留在页面下方。

同名项目,请核对仓库和目录

按客户端选择安装入口

怎么接入你的 Agent?

  1. 定位完整 Skill 目录

    打开本项目来源,核对 SKILL.md 及其引用的脚本和资料。

  2. 交给你正在用的 Agent

    在下面选择客户端,展开并复制安装指令,让 Agent 读取来源后选择安装方式。

  3. 确认识别,再做具体任务

    让 Agent 回报安装目录和识别到的名称 azure-cloud-migrate,然后按本页使用示例提供材料。

展开并复制给 Codex 的安装指令
发送给 Codex

安装并检查 azure-cloud-migrate

请在 Codex 的当前工作环境中安装并检查 azure-cloud-migrate 这个 Skill。

项目身份:microsoft/azure-skills / azure-cloud-migrate
来源:https://github.com/microsoft/azure-skills/blob/65922d293cba61a40d5edf61a9eb4b6b0e799788/skills/azure-cloud-migrate/SKILL.md
已定位的源文件:skills/azure-cloud-migrate/SKILL.md

1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。
准备输入,再按步骤执行

装好以后,具体怎么用?

准备哪些材料

  • 提供完整源工程、原云平台及服务、目标需求和工作区根目录;Agent 需可读源码及对应 Azure 文档/最佳实践工具。迁移运行时应核对目标服务当前支持版本。

会得到什么

  • 独立迁移目录中的评估报告、转换后的工程/配置与 migration-status.md;实际测试和部署状态分别报告。

实际使用顺序

  1. 按真实来源选择场景参考,先生成评估报告,不能直接跳到替换 SDK 或部署。评估服务映射、依赖、运行时与配置。
  2. 在工作区根目录创建 <工作区根目录名>-azure/ 保存产物,不修改源目录;在 migration-status.md 记录阶段进展,再按场景转换代码和配置。
  3. Kubernetes 迁 Container Apps 时检查源码中的硬编码服务 DNS 和端口,将需要改变的地址列为环境变量注入问题;原集群内 order-service 这类名称不能默认继续解析。
  4. 代码迁移完成后让用户选择本地测试或部署,再交接 azure-prepare 处理基础设施、测试与发布;破坏性动作仍按具体场景确认。
使用示例

从一个具体任务开始

本站根据源文件编写的使用示例,未在本站实际运行。示例中的文件由你提供。

安装并识别 Skill 后发送

复制一个具体任务

教学任务:使用 azure-cloud-migrate,评估我提供的 Kubernetes Node.js 服务迁到 Azure Container Apps。先读 k8s-to-container-apps 场景,检查源码里的服务 DNS、端口和环境配置,在工作区根目录名加 -azure 的独立目录出评估,暂不改原工程、不部署。之后再由我确认代码迁移范围。
预期结果

预期得到可核对的迁移差异与阻碍,原目录保持原有文件;本站未执行实际云迁移。

使用前先看这些限制

使用条件与边界

  • 该技能负责评估与代码迁移,不应把转换完成写成基础设施已创建或线上已可用。
  • 没有匹配场景时应查对应官方文档和最佳实践,不能强套另一云服务的迁移步骤。
针对这个 Skill 的疑问

常见问题

会直接覆盖现有项目吗?

绑定版本明确要求所有产物放到工作区根目录内的 <根目录名>-azure/,不要修改源目录;迁移后再决定本地测试或交接部署。

需要核对时再展开原文

来源原文与资料状态

源文件
已保存 SKILL.md,抓取于 2026-11-17T10:53:18.239Z
中文使用说明
已针对下方源文件版本整理用途、用法和常见问题
安装与任务测试
本站未执行安装或任务测试
来源复核
本页中文用法已对照保存版本的完整 SKILL.md 阅读整理
展开 SKILL.md 原文、章节与历史收录资料

skills/azure-cloud-migrate/SKILL.md · 抓取时间 2026-11-17T10:53:18.239Z

以下保留源文件的 description、章节及摘录,供核对中文说明;完整文件通过上方链接打开。

抓取成功不代表已完成安装或任务测试。

来源 description(原文)

Assess and migrate cross-cloud workloads to Azure with reports and code conversion. Supports Lambda→Functions, Beanstalk/Heroku/App Engine→App Service, Fargate/Kubernetes/Cloud Run/Spring Boot→Container Apps. WHEN: migrate Lambda to Functions, AWS to Azure, migrate Beanstalk, migrate Heroku, migrate App Engine, Cloud Run migration, Fargate to ACA, ECS/Kubernetes/GKE/EKS to Container Apps, Spring Boot to Container Apps, cross-cloud migration.

查看源文件章节 / Source sections
  • 原文:Azure Cloud Migrate
  • 原文:Rules
  • 原文:Migration Scenarios
  • 原文:Output Directory
  • 原文:Steps
原文:Azure Cloud Migrate

> This skill handles **assessment and code migration** of existing cloud workloads to Azure.

原文:Rules

1. Follow phases sequentially — do not skip 2. Generate assessment before any code migration 3. Load the scenario reference and follow its rules 4. Use `mcp_azure_mcp_get_azure_bestpractices` and `mcp_azure_mcp_documentation` MCP tools 5. Use the latest supported runtime for the target service 6. Destructive actions require `ask_user` — [functions global-rules](references/services/functions/global-rules.md) | [app-service global-rules](references/services/app-service/global-rules.md) 7. **Report progress to user** — During long-running operations (deployments, image pushes), provide resource-level status updates so the user is never left waiting without feedback — see [workflow-details.md](references/workflow-details.md) 8. **Audit service discovery in app code** — Kubernetes DNS names (e.g., `http://order-service:3001`) do not resolve in Container Apps. During assessment, scan source code for hardcoded hostnames/ports in HTTP clients and flag them for env-var-driven URL injection

原文:Migration Scenarios

| Source | Target | Reference | |--------|--------|-----------| | AWS Lambda | Azure Functions | [lambda-to-functions.md](references/services/functions/lambda-to-functions.md) ([assessment](references/services/functions/assessment.md), [code-migration](references/services/functions/code-migration.md)) | | AWS Elastic Beanstalk | Azure App Service | [beanstalk-to-app-service.md](references/services/app-service/beanstalk-to-app-service.md) | | Heroku | Azure App Service | [heroku-to-app-service.md](references/services/app-service/heroku-to-app-service.md) | | Google App Engine | Azure App Service | [app-engine-to-app-service.md](references/services/app-service/app-engine-to-app-service.md) | | AWS Fargate (ECS) | Azure Container Apps | [fargate-to-container-apps.md](references/services/container-apps/fargate-to-container-apps.md) ([assessment](references/services/container-apps/fargate-assessment-guide.md), [deployment](references/services/container-apps/fargate-deployment-guide.md)) | | Kubernetes (GKE/EKS/Self-hosted) | Azure Container Apps | [k8s-to-container-apps.md](references/services/container-apps/k8s-to-container-apps.md) | | GCP Cloud Run | Azure Container Apps | [cloudrun-to-container-apps.md](references/services/container-apps/cloudrun-to-container-apps.md) | | Spring Boot (Azure Spring Apps/VMs) | Azure Container Apps | [spring-apps-to-aca.md](references/services/container-apps/spring-apps-to-aca.md) | > No matching scenario? Use `mcp_azure_mcp_documentation` and `mcp_azure_mcp_get_azure_bestpractices` tools.

原文:Output Directory

All output goes to `<workspace-root-basename>-azure/` at workspace root, where `<workspace-root-basename>` is the name of the top-level workspace directory itself (NOT a subdirectory within it). Never modify the source directory.

原文:Steps

1. **Create** `<workspace-root-basename>-azure/` at workspace root 2. **Assess** — Analyze source, map services, generate report using the scenario-specific assessment guide → [functions assessment](references/services/functions/assessment.md) | [app-service assessment](references/services/app-service/assessment.md) 3. **Migrate** — Convert code/config using the scenario-specific migration guide → [functions code-migration](references/services/functions/code-migration.md) | [app-service code-migration](references/services/app-service/code-migration.md) 4. **Ask User** — "Migration complete. Test locally or deploy to Azure?" 5. **Hand off** to azure-prepare for infrastructure, testing, and deployment Track progress in `migration-status.md` — see [workflow-details.md](references/workflow-details.md).

文件 SHA256:b945cd3c343395e4618ea818d5527e1c7bf6374aed3e9fd7056572aa28701191

仓库许可证记录:未提供;skill-declaration-captured-not-interpreted,查看来源。

Skills.sh收录简介 · 2026-07-28

Assess and migrate cross-cloud workloads to Azure with reports and code conversion. Supports Lambda→Functions, Beanstalk/Heroku/App Engine→App Service,…

查看历史简介来源

这份历史简介在采集时已截断;完整用途和触发条件需打开来源核对。

历史收录数据

Skill标识azure-cloud-migrate
来源仓库microsoft/azure-skills
榜单快照2026-07-28
榜单口径Skills.sh累计安装量
快照名次38
快照累计安装量415230

历史资料说明

  • 所保留的来源简介在采集时已截断;完整触发条件、依赖及排除项须阅读源文件,本站不补写缺失部分。
  • 安装量用于说明当时的收录次序,不是效果、可信度或当前可用性的证明。

此页用于识别项目与来源。安装入口可在该Skill的Skills.sh页面查看;当前目录是否仍存在、附带脚本和账户依赖尚需按具体版本确认。

返回 Skills 目录,按任务继续筛选 · MCP与Skills教程与资源