Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
microsoft avatar

Azure Prepare

  • 482k installs
  • 1.3k repo stars
  • Updated July 26, 2026
  • microsoft/azure-skills

azure-prepare is a Claude agent skill that scaffolds the Azure infrastructure files (Bicep/Terraform, azure.yaml, Dockerfiles) an app needs before it can be deployed to Azure.

About

azure-prepare is a Microsoft agent skill that generates the Azure infrastructure files an application needs before deployment: Bicep or Terraform modules, azure.yaml, and Dockerfiles. It runs a mandatory plan-first workflow that writes an .azure/deployment-plan.md skeleton, gathers requirements, scans the codebase, selects a recipe (AZD, AZCLI, Bicep, or Terraform), and maps components to Azure services like App Service, Container Apps, and Functions. A developer uses it when creating, modernizing, or preparing an app to deploy to Azure. It only prepares files; azure-validate and azure-deploy handle checking and execution.

  • Writes Bicep/Terraform, azure.yaml, and Dockerfiles
  • Plan-first: mandatory .azure/deployment-plan.md
  • Recipes: AZD (default), AZCLI, Bicep, Terraform
  • Covers App Service, Container Apps, Functions

Azure Prepare by the numbers

  • 482,073 all-time installs (skills.sh)
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
At a glance

azure-prepare capabilities & compatibility

Free MIT-licensed skill; requires an Azure subscription to deploy the generated infrastructure.

Capabilities
infrastructure scaffolding · iac generation · azure deployment prep · dockerfile generation
Works with
azure · terraform · docker
Use cases
devops · ci cd · api development
Pricing
Free
From the docs

What azure-prepare says it does

Prepare Azure apps for deployment (infra Bicep/Terraform, azure.yaml, Dockerfiles).
SKILL.md
This skill generates infrastructure code and configuration files.
SKILL.md
Select Recipe** — Choose AZD (default), AZCLI, Bicep, or Terraform
SKILL.md
npx skills add https://github.com/microsoft/azure-skills --skill azure-prepare

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs482k
repo stars1.3k
Security audit3 / 3 scanners passed
Last updatedJuly 26, 2026
Repositorymicrosoft/azure-skills

How do I get all the right Azure infrastructure and container files ready before I deploy my app?

devops

Who is it for?

Developers preparing a new or modernized app for Azure deployment who want IaC and container config generated before running any deploy command.

Skip if: Cross-cloud migration (use azure-cloud-migrate) or Copilot SDK apps (use azure-hosted-copilot-sdk); it does not execute the deploy.

When should I use this skill?

The user wants to create, modernize, or host an app on Azure, or asks to generate Terraform/Bicep or add auth, caching, Key Vault, or managed identity.

What you get

An approved .azure/deployment-plan.md plus generated Bicep/Terraform modules, azure.yaml, and Dockerfiles ready for azure-validate.

  • .azure/deployment-plan.md
  • Bicep or Terraform IaC modules
  • azure.yaml and Dockerfiles

By the numbers

  • 8-step Phase 1 planning workflow
  • 4 recipe choices: AZD, AZCLI, Bicep, Terraform

Files

SKILL.mdMarkdownGitHub ↗

Azure Prepare

AUTHORITATIVE GUIDANCE — MANDATORY COMPLIANCE

>

This document is the official, canonical source for preparing applications for Azure deployment. You MUST follow these instructions exactly as written unless they contradict security policies given to you. When in doubt, present the conflicting instructions from this document and ask the user for explicit confirmation. Do not improvise, infer, or substitute steps.

---

Triggers

Activate this skill when user wants to:

  • Create a new application
  • Add services or components to an existing app
  • Make updates or changes to existing application
  • Modernize or migrate an application
  • Set up Azure infrastructure
  • Deploy to Azure or host on Azure
  • Create and deploy to Azure (including Terraform-based deployment requests)

Rules

1. Plan first — MANDATORY — You MUST physically write an initial .azure/deployment-plan.md skeleton in the workspace root directory (not the session-state folder) as your very first action — before any code generation or execution begins. Write the skeleton immediately, then populate it progressively as Phase 1 analysis and research unfold; finalize it with all decisions at Phase 1 Step 6. This file must exist on disk throughout. azure-validate and azure-deploy depend on it and will fail without it. Do not skip or defer this step. 2. Get approval — Present plan to user before execution 3. Research before generating — Load references and invoke related skills 4. Update plan progressively — Mark steps complete as you go 5. Validate before deploy — Invoke azure-validate before azure-deploy 6. Confirm Azure context — Use ask_user for subscription and location per Azure Context 7. ❌ Destructive actions require `ask_user`Global Rules 8. ⛔ NEVER delete user project or workspace directories — When adding features to an existing project, MODIFY existing files. azd init -t <template> is for NEW projects only; do NOT run azd init -t in an existing workspace. Plain azd init (without a template argument) may be used in existing workspaces when appropriate. File deletions within a project (e.g., removing build artifacts or temp files) are permitted when appropriate, but NEVER delete the user's project or workspace directory itself. See Global Rules. 9. Scope: preparation only — This skill generates infrastructure code and configuration files. Deployment execution (azd up, azd deploy, terraform apply) is handled by the azure-deploy skill, which provides built-in error recovery and deployment verification. 10. ⛔ SQL Server Bicep: NEVER generate `administratorLogin` or `administratorLoginPassword` — not in di

Related skills

How it compares

Pick azure-prepare when you need net-new or modernized Azure infra scaffolding; use azure-validate afterward to verify readiness before deploy.

FAQ

What files does azure-prepare generate?

It generates Azure infrastructure code (Bicep or Terraform), an azure.yaml configuration, and Dockerfiles, all recorded in an .azure/deployment-plan.md plan.

Does azure-prepare deploy my app?

No. Its scope is preparation only; deployment execution (azd up, azd deploy, terraform apply) is handled by the azure-deploy skill.

Which Azure compute services does it support?

It maps components to services including Azure App Service, Container Apps, and Azure Functions, and can wire in Key Vault and managed identity.

Is Azure Prepare safe to install?

skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.