Back to Skills

azure-prepare

Prepare Azure apps for deployment (infra Bicep/Terraform, azure.yaml, Dockerfiles). Use for create/modernize or create+deploy; not cross-cloud migration (use azure-cloud-migrate). WHEN: "create app", "build web app", "create API", "create serverless HTTP API", "create frontend", "create back end", "build a service", "modernize application", "update application", "add authentication", "add caching", "host on Azure", "create and deploy", "deploy to Azure", "deploy to Azure using Terraform", "deplo

181stars119forksUpdated 4/8/2026

Security Assessment

Critical Risk(0/100)

Detected risks:

Destructive Operations([references/global-rules.md] rm -rf, [references/services/functions/templates/mcp.md] rm -rf)
Persistence([references/services/functions/templates/recipes/timer/README.md] crontab)
Remote Code Execution([references/sdk/azd-deployment.md] curl -fsSL https://aka.ms/install-azd.sh | bash)
Secret Exposure([references/recipes/azcli/README.md] Token =, [references/runtimes/nodejs.md] SECRET=, [references/recipes/bicep/patterns.md] Token =)
Sensitive File Access([references/auth-best-practices.md] .env, [references/recipes/azd/terraform.md] .env, [references/runtimes/nodejs.md] .env)
Security Score0/100

About azure-prepare

The `azure-prepare` skill is designed to streamline the preparation of applications for deployment on Microsoft Azure. It focuses on generating the necessary infrastructure code and configuration files, including Bicep and Terraform templates, `azure.yaml`, and Dockerfiles, to set up and configure Azure resources correctly. By guiding users through a structured plan-first workflow, the skill ensures that Azure applications are prepared accurately and safely, reducing the risk of errors during deployment. This skill does not handle cross-cloud migrations, focusing exclusively on Azure environments and preparation tasks rather than deployment execution, which is delegated to the complementary `azure-deploy` skill.

Key features of `azure-prepare` include a structured, plan-first workflow that enforces mandatory planning and approval before any code generation. The skill supports creating new applications, adding or modifying services, and modernizing existing apps. It emphasizes validation and context confirmation, requiring user input for subscription and location, and strictly prohibits destructive actions like deleting project directories. Users can generate infrastructure code for various Azure resources, including function apps, containerized Node.js apps, and serverless APIs, with support for managed identities and integration with Key Vault.

`azure-prepare` is particularly useful for developers, DevOps engineers, and cloud architects who need to set up Azure environments systematically and safely. It is ideal for scenarios such as building web apps, APIs, or front-end and back-end applications that require deployment to Azure App Service or Azure Container Apps. The skill is also suitable for teams modernizing applications, adding authentication, caching, or event-driven functionality, or preparing projects for secure, production-ready deployment with Terraform or Bicep templates.

FAQ

When should I use the `azure-prepare` skill?

Use this skill when creating new applications, modernizing existing ones, adding services, or preparing apps for deployment on Azure. It is intended for preparation tasks, not for executing deployments or cross-cloud migrations.

Does `azure-prepare` handle actual deployment to Azure?

No, `azure-prepare` only generates the infrastructure and configuration files required for deployment. Actual deployment should be performed using the `azure-deploy` skill.

Can I use `azure-prepare` for cross-cloud migrations?

No, this skill is specifically designed for Azure environments. For cross-cloud migration scenarios, use the `azure-cloud-migrate` skill instead.

What precautions does `azure-prepare` enforce?

The skill requires a plan-first workflow, validation before deployment, user confirmation for destructive actions, and prevents deletion of project or workspace directories. These rules ensure safe and controlled preparation of Azure applications.

Which types of applications and resources does `azure-prepare` support?

It supports web apps, APIs, serverless HTTP functions, front-end and back-end applications, containerized Node.js apps, function apps with triggers, and integration with Azure Key Vault and managed identities.

All Files

197 files
references/services/functions/templates/recipes/blob-eventgrid/terraform/blob.tf6.8 KB
View
references/services/functions/templates/recipes/common/nodejs-entry-point.md4.0 KB
View
references/services/functions/templates/recipes/cosmosdb/bicep/cosmos-network.bicep2.5 KB
View
references/services/storage/bicep.md1.8 KB
View
references/services/functions/templates/recipes/cosmosdb/eval/summary.md0.7 KB
View
references/services/functions/templates/recipes/cosmosdb/terraform/cosmos.tf7.5 KB
View
references/services/functions/templates/recipes/durable/README.md7.2 KB
View
references/services/functions/templates/recipes/mcp/eval/summary.md0.6 KB
View
references/analyze.md4.1 KB
View
references/auth-best-practices.md6.0 KB
View
references/recipes/azcli/scripts.md2.3 KB
View
SKILL.md10.8 KB
View
references/apim.md5.7 KB
View
references/architecture.md6.3 KB
View
references/aspire.md15.6 KB
View
references/azure-context.md5.8 KB
View
references/functional-verification.md3.1 KB
View
references/generate.md4.0 KB
View
references/plan-template.md10.0 KB
View
references/recipe-selection.md3.2 KB
View
references/recipes/azcli/README.md1.9 KB
View
references/recipes/azd/README.md3.9 KB
View
references/recipes/azd/aspire.md12.0 KB
View
references/recipes/azd/iac-rules.md5.8 KB
View
references/recipes/azd/terraform.md11.8 KB
View
references/global-rules.md2.0 KB
View
references/recipes/azcli/commands.md1.7 KB
View
references/recipes/azd/azure-yaml.md7.0 KB
View
references/recipes/bicep/README.md1.4 KB
View
references/region-availability.md1.7 KB
View
references/runtimes/nodejs.md5.9 KB
View
references/services/functions/templates/recipes/mcp/source/typescript.md4.4 KB
View
references/recipes/azd/docker.md2.1 KB
View
references/recipes/bicep/patterns.md3.1 KB
View
references/requirements.md2.6 KB
View
references/scan.md3.4 KB
View
references/sdk/azure-appconfiguration-ts.md1.2 KB
View
references/sdk/azure-identity-ts.md1.1 KB
View
references/services/cosmos-db/bicep.md2.0 KB
View
references/services/durable-task-scheduler/bicep.md4.8 KB
View
references/recipes/terraform/README.md2.6 KB
View
references/research.md8.7 KB
View
references/sdk/azd-deployment.md0.8 KB
View
references/sdk/azure-identity-dotnet.md0.9 KB
View
references/security.md8.3 KB
View
references/services/aks/manifests.md1.4 KB
View
references/services/app-service/deployment-slots.md4.6 KB
View
references/services/container-apps/environment.md1.3 KB
View
references/recipes/terraform/patterns.md2.6 KB
View
references/resources-limits-quotas.md13.0 KB
View
references/sdk/azure-appconfiguration-java.md1.5 KB
View
references/sdk/azure-identity-java.md1.2 KB
View
references/services/aks/README.md1.1 KB
View
references/services/app-insights/README.md0.9 KB
View
references/services/durable-task-scheduler/python.md6.4 KB
View
references/sdk/azure-appconfiguration-py.md1.1 KB
View
references/sdk/azure-identity-py.md1.1 KB
View
references/services/aks/addons.md1.0 KB
View
references/services/app-service/README.md1.7 KB
View
references/services/container-apps/README.md1.2 KB
View
references/services/functions/aspire-containerapps.md3.3 KB
View
references/services/aks/bicep.md1.7 KB
View
references/services/app-service/bicep.md1.2 KB
View
references/services/container-apps/bicep.md4.2 KB
View
references/services/cosmos-db/README.md1.5 KB
View
references/services/durable-task-scheduler/README.md4.9 KB
View
references/services/durable-task-scheduler/javascript.md5.6 KB
View
references/services/event-grid/subscriptions.md1.7 KB
View
references/services/app-service/scaling.md1.5 KB
View
references/services/container-apps/health-probes.md1.2 KB
View
references/services/cosmos-db/partitioning.md1.1 KB
View
references/services/durable-task-scheduler/dotnet.md6.1 KB
View
references/services/event-grid/README.md1.1 KB
View
references/services/foundry/region-availability.md0.8 KB
View
references/services/functions/templates/SPEC-composable-templates.md24.2 KB
View
references/services/functions/templates/recipes/README.md5.3 KB
View
references/services/container-apps/scaling.md1.4 KB
View
references/services/cosmos-db/sdk.md1.6 KB
View
references/services/durable-task-scheduler/java.md7.7 KB
View
references/services/event-grid/bicep.md1.7 KB
View
references/services/functions/README.md3.8 KB
View
references/services/functions/bicep.md12.0 KB
View
references/services/functions/templates/recipes/blob-eventgrid/README.md3.9 KB
View
references/services/functions/templates/recipes/servicebus/eval/summary.md0.6 KB
View
references/services/functions/templates/recipes/servicebus/terraform/servicebus.tf3.4 KB
View
references/services/foundry/README.md1.4 KB
View
references/services/functions/templates/base/eval/python.md0.7 KB
View
references/services/functions/templates/http.md0.9 KB
View
references/services/functions/templates/recipes/blob-eventgrid/eval/summary.md1.7 KB
View
references/services/functions/templates/recipes/blob-eventgrid/source/powershell.md2.7 KB
View
references/services/key-vault/bicep.md1.8 KB
View
references/services/functions/durable.md2.2 KB
View
references/services/functions/templates/integrations.md1.8 KB
View
references/services/functions/templates/recipes/blob-eventgrid/bicep/blob.bicep5.6 KB
View
references/services/functions/templates/recipes/blob-eventgrid/source/java.md3.2 KB
View
references/services/functions/templates/recipes/blob-eventgrid/source/typescript.md3.3 KB
View
references/services/functions/templates/recipes/common/health-check.md2.7 KB
View
references/services/functions/templates/recipes/cosmosdb/README.md5.7 KB
View
references/services/functions/templates/README.md2.6 KB
View
references/services/functions/templates/base/eval/summary.md0.7 KB
View
references/services/functions/templates/mcp.md2.5 KB
View
references/services/functions/templates/recipes/blob-eventgrid/eval/python.md1.1 KB
View
references/services/functions/templates/recipes/blob-eventgrid/source/javascript.md2.7 KB
View
references/services/functions/templates/recipes/blob-eventgrid/source/dotnet.md3.0 KB
View
references/services/functions/templates/recipes/blob-eventgrid/source/python.md2.7 KB
View
references/services/functions/templates/recipes/common/error-handling.md2.2 KB
View
references/services/functions/templates/recipes/composition.md18.2 KB
View
references/services/functions/templates/recipes/cosmosdb/eval/python.md1.0 KB
View
references/services/functions/templates/recipes/cosmosdb/source/javascript.md1.8 KB
View
references/services/functions/templates/recipes/common/dotnet-entry-point.md1.9 KB
View
references/services/functions/templates/recipes/common/uami-bindings.md4.8 KB
View
references/services/functions/templates/recipes/cosmosdb/bicep/cosmos.bicep6.4 KB
View
references/services/functions/templates/recipes/cosmosdb/source/java.md2.0 KB
View
references/services/functions/templates/recipes/cosmosdb/source/typescript.md1.9 KB
View
references/services/functions/templates/recipes/durable/bicep/durable-task-scheduler.bicep4.8 KB
View
references/services/functions/templates/recipes/durable/source/java.md2.9 KB
View
references/services/functions/templates/recipes/eventhubs/bicep/eventhubs-network.bicep2.3 KB
View
references/services/functions/templates/recipes/cosmosdb/source/dotnet.md2.1 KB
View
references/services/functions/templates/recipes/cosmosdb/source/python.md1.6 KB
View
references/services/functions/templates/recipes/durable/source/dotnet.md3.9 KB
View
references/services/functions/templates/recipes/durable/source/python.md3.7 KB
View
references/services/functions/templates/recipes/eventhubs/README.md5.5 KB
View
references/services/functions/templates/recipes/eventhubs/eval/summary.md0.6 KB
View
references/services/functions/templates/recipes/eventhubs/source/powershell.md3.0 KB
View
references/services/functions/templates/recipes/mcp/README.md2.7 KB
View
references/services/functions/templates/recipes/mcp/source/java.md5.1 KB
View
references/services/functions/templates/recipes/cosmosdb/source/powershell.md1.5 KB
View
references/services/functions/templates/recipes/durable/eval/summary.md0.7 KB
View
references/services/functions/templates/recipes/durable/source/powershell.md2.5 KB
View
references/services/functions/templates/recipes/durable/source/typescript.md3.3 KB
View
references/services/functions/templates/recipes/eventhubs/eval/python.md1.0 KB
View
references/services/functions/templates/recipes/eventhubs/source/javascript.md1.9 KB
View
references/services/functions/templates/recipes/eventhubs/terraform/eventhubs.tf6.1 KB
View
references/services/functions/templates/recipes/durable/eval/python.md1.9 KB
View
references/services/functions/templates/recipes/durable/source/javascript.md2.6 KB
View
references/services/functions/templates/recipes/eventhubs/bicep/eventhubs.bicep3.9 KB
View
references/services/functions/templates/recipes/eventhubs/source/java.md3.3 KB
View
references/services/functions/templates/recipes/eventhubs/source/typescript.md3.0 KB
View
references/services/functions/templates/recipes/eventhubs/source/dotnet.md3.0 KB
View
references/services/functions/templates/recipes/eventhubs/source/python.md2.6 KB
View
references/services/functions/templates/recipes/mcp/eval/python.md1.5 KB
View
references/services/functions/templates/recipes/mcp/source/javascript.md2.6 KB
View
references/services/functions/templates/recipes/servicebus/README.md4.6 KB
View
references/services/functions/templates/recipes/servicebus/source/dotnet.md5.0 KB
View
references/services/functions/templates/recipes/mcp/source/dotnet.md3.8 KB
View
references/services/functions/templates/recipes/mcp/source/python.md4.7 KB
View
references/services/functions/templates/recipes/servicebus/eval/python.md1.0 KB
View
references/services/functions/templates/recipes/servicebus/source/javascript.md3.0 KB
View
references/services/functions/templates/recipes/servicebus/source/typescript.md3.4 KB
View
references/services/functions/templates/recipes/sql/eval/python.md1.0 KB
View
references/services/functions/templates/recipes/mcp/source/powershell.md3.7 KB
View
references/services/functions/templates/recipes/servicebus/bicep/servicebus.bicep3.0 KB
View
references/services/functions/templates/recipes/servicebus/source/java.md4.0 KB
View
references/services/functions/templates/recipes/servicebus/source/python.md3.1 KB
View
references/services/functions/templates/recipes/sql/bicep/sql.bicep4.8 KB
View
references/services/functions/templates/recipes/sql/source/java.md3.9 KB
View
references/services/functions/templates/recipes/sql/source/typescript.md3.2 KB
View
references/services/functions/templates/recipes/timer/eval/summary.md0.6 KB
View
references/services/functions/templates/recipes/servicebus/source/powershell.md3.6 KB
View
references/services/functions/templates/recipes/sql/README.md3.7 KB
View
references/services/functions/templates/recipes/sql/source/dotnet.md3.2 KB
View
references/services/functions/templates/recipes/sql/source/python.md4.2 KB
View
references/services/functions/templates/recipes/timer/eval/python.md1.0 KB
View
references/services/functions/templates/recipes/timer/source/javascript.md2.0 KB
View
references/services/functions/templates/selection.md4.2 KB
View
references/services/functions/templates/recipes/sql/eval/summary.md1.9 KB
View
references/services/functions/templates/recipes/sql/source/powershell.md3.0 KB
View
references/services/functions/templates/recipes/timer/README.md2.5 KB
View
references/services/functions/templates/recipes/timer/source/java.md2.6 KB
View
references/services/logic-apps/triggers.md1.8 KB
View
references/services/functions/templates/recipes/sql/source/javascript.md2.7 KB
View
references/services/functions/templates/recipes/sql/terraform/sql.tf6.2 KB
View
references/services/functions/templates/recipes/timer/source/dotnet.md3.1 KB
View
references/services/functions/templates/recipes/timer/source/python.md1.9 KB
View
references/services/functions/triggers.md3.3 KB
View
references/services/logic-apps/README.md1.1 KB
View
references/services/static-web-apps/region-availability.md0.7 KB
View
references/services/functions/templates/recipes/timer/source/powershell.md2.0 KB
View
references/services/functions/terraform.md13.1 KB
View
references/services/key-vault/sdk.md2.0 KB
View
references/services/service-bus/README.md1.5 KB
View
references/services/sql-database/auth.md2.9 KB
View
references/services/static-web-apps/bicep.md1.1 KB
View
references/services/functions/templates/recipes/timer/source/typescript.md2.3 KB
View
references/services/key-vault/README.md1.4 KB
View
references/services/logic-apps/bicep.md1.9 KB
View
references/services/service-bus/patterns.md4.4 KB
View
references/services/sql-database/sdk.md1.9 KB
View
references/services/service-bus/bicep.md3.8 KB
View
references/services/sql-database/bicep.md3.0 KB
View
references/services/static-web-apps/deployment.md1.2 KB
View
references/services/storage/access.md3.7 KB
View
references/services/sql-database/README.md1.9 KB
View
references/services/static-web-apps/README.md1.3 KB
View
references/services/static-web-apps/routing.md1.3 KB
View
references/services/storage/README.md1.5 KB
View
references/specialized-routing.md3.4 KB
View

Install azure-prepare

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill