agentleFS
jonathan-vellajonathan-vella/apex/.github/skills/apex-azure-cloud-migrate/SKILL.md

apex-azure-cloud-migrate

Skill216 starsChanged 2 months agoMITView on GitHub

**WORKFLOW SKILL** — Assess and migrate cross-cloud workloads to Azure: assessments and code conversion from AWS, GCP, Heroku, Kubernetes or Spring. WHEN: "migrate Lambda to Azure Functions", "migrate AWS to Azure", "migrate Heroku to App Service", "migrate GKE to Container Apps", "migration readiness report". DO NOT USE FOR: greenfield deployment or Azure-only refactor (apex-azure-prepare).

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Follow phases sequentially — do not skip

    line 27
  2. Very specific:

    Use mcp_azure-mcp_get_azure_bestpractices (command get_bestpractices) and mcp_azure-mcp_documentation MCP tools

    line 30
  3. Distinctive:

    Use the latest supported runtime for the target service

    line 31
  4. Very specific:

    All output goes to <source-folder>-azure/ at workspace root.

    line 63

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Azure Cloud Migrate

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

Workflow Routing

Resolve workflow identity and requested action first, per apex-azure-validate. This skill assesses and converts application code only. For an APEX project, return infrastructure work to the current step owner through 01-Orchestrator; do not create .azure/plan.md or generate IaC here. Assessment-only requests stop after the report.

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 (command get_bestpractices) and mcp_azure-mcp_documentation MCP tools
  5. Use the latest supported runtime for the target service
  6. Destructive actions require ask_user — global-rules
  7. Audit service discovery in app code — Kubernetes DNS names (for example http://order-service:3001) don't resolve in Container Apps; flag hard-coded hostnames and ports for environment-variable URL injection

Migration Scenarios

The scenarios documented today are listed below. For other source platforms (GCP, on-premises, etc.), call mcp_azure-mcp_documentation with command: "microsoft_docs_search" to research the target Azure service and adapt the AWS-Lambda assessment workflow as a template.

SourceTargetReference
AWS LambdaAzure Functionslambda-to-functions.md
AWS Elastic BeanstalkAzure App Servicebeanstalk-to-app-service.md
HerokuAzure App Serviceheroku-to-app-service.md
Google App EngineAzure App Serviceapp-engine-to-app-service.md
AWS Fargate (ECS)Azure Container Appsfargate-to-container-apps.md
Kubernetes (GKE, EKS, self-hosted)Azure Container Appsk8s-to-container-apps.md
GCP Cloud RunAzure Container Appscloudrun-to-container-apps.md
Spring Boot (Azure Spring Apps, VMs)Azure Container Appsspring-apps-to-aca.md

App Service scenarios share assessment, code migration and global rules; Container Apps scenarios share the assessment guide.

No matching scenario? Use mcp_azure-mcp_documentation and mcp_azure-mcp_get_azure_bestpractices tools.

Output Directory

All output goes to <source-folder>-azure/ at workspace root. Never modify the source directory.

Steps

  1. Create <source-folder>-azure/ at workspace root
  2. Assess — Analyze source, map services, generate report → assessment.md
  3. Migrate — Convert code using target programming model → code-migration.md
  4. Ask User — "Migration complete. Test locally or deploy to Azure?"
  5. Hand off to apex-azure-prepare for infrastructure, testing, and deployment

Track progress in migration-status.md — see workflow-details.md.

Reference Index

Load these on demand — do NOT read all at once:

ReferenceWhen to Load
references/workflow-details.mdWorkflow Details

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.