🎯

azure-deploy

🎯Skill

azure-deploy puts your app on Azure after the azure-prepare and azure-validate skills have prepared and checked it. It runs the deployment, recovers from errors, and gives you the live web addresses.

microsoft/azure-skills699,170 InstallsAdded Mar 4, 2026

Installation

$npx skills add microsoft/azure-skills --skill azure-deploy

Run it in a terminal; it asks which AI coding tools to install it for (Claude Code, Codex, Cursor and more).

Uses skills.sh Β· Node.js 22.20+

After installing

Ask for related work and the agent uses it on its own, or call it yourself.

Run it (Claude Code)/azure-deploy
Install by hand

Copy the whole skill folder from GitHub to the place below. Copying only SKILL.md can leave out files the skill uses.

Open the skill folder β†’
  • This project .claude/skills/azure-deploy/
  • All projects ~/.claude/skills/azure-deploy/

These paths are for Claude Code. For other tools, the command above puts it in the right place.

What this skill does

Overview

azure-deploy is the last step after azure-prepare and azure-validate. It reads .azure/deployment-plan.md and stops if the plan is missing or its status is not Validated. It then runs commands such as azd up, azd deploy, terraform apply, or az deployment.

Key Features

  • Checks that validation really ran, then goes through a required pre-deploy checklist.
  • Runs the deployment steps that match the method chosen in your plan.
  • Checks access permissions (RBAC, Azure's role-based access rules) before and after deployment.
  • When your app needs it, connects the app to SQL with a managed identity (an account Azure gives the app itself) and applies EF migrations (database structure updates).
  • Confirms the app is reachable and shows each address as a full https:// link.

Who is this for?

It is for developers whose Azure project is already prepared and validated and who want to ship it or push an update. To create a new app or infrastructure files, use azure-prepare instead.

Summarized by AI from this skill's SKILL.md. Suggest a better one

Execute Azure deployments for ALREADY-PREPARED applications that have existing .azure/deployment-plan.md and infrastructure files. DO NOT use this skill when the user asks to CREATE a new application β€” use azure-prepare instead. This skill runs azd up, azd deploy, terraform apply, and az deployment commands with built-in error recovery. Requires .azure/deployment-plan.md from azure-prepare and validated status from azure-validate. WHEN: \"run azd up\", \"run azd deploy\", \"execute deployment\", \"push to production\", \"push to cloud\", \"go live\", \"ship it\", \"bicep deploy\", \"terraform apply\", \"publish to Azure\", \"launch on Azure\". DO NOT USE WHEN: \"create and deploy\", \"build and deploy\", \"create a new app\", \"set up infrastructure\", \"create and deploy to Azure using Terraform\" β€” use azure-prepare for these.

Azure Deploy

AUTHORITATIVE GUIDANCE β€” MANDATORY COMPLIANCE

PREREQUISITE: The azure-validate skill MUST be invoked and completed with status Validated BEFORE executing this skill.

β›” STOP β€” PREREQUISITE CHECK REQUIRED Before proceeding, verify BOTH prerequisites are met:

  1. azure-prepare was invoked and completed β†’ .azure/deployment-plan.md exists
  2. azure-validate was invoked and passed β†’ plan status = Validated

If EITHER is missing, STOP IMMEDIATELY:

  • No plan? β†’ Invoke azure-prepare skill first
  • Status not Validated? β†’ Invoke azure-validate skill first

β›” DO NOT MANUALLY UPDATE THE PLAN STATUS

You are FORBIDDEN from changing the plan status to Validated yourself. Only the azure-validate skill is authorized to set this status after running actual validation checks. If you update the status without running validation, deployments will fail.

DO NOT ASSUME the app is ready. DO NOT SKIP validation to save time. Skipping steps causes deployment failures. The complete workflow ensures success:

azure-prepare β†’ azure-validate β†’ azure-deploy

Triggers

Activate this skill when user wants to:

  • Execute deployment of an already-prepared application (azure.yaml and infra/ exist)
  • Push updates to an existing Azure deployment
  • Run azd up, azd deploy, or az deployment on a prepared project
  • Ship already-built code to production
  • Deploy an application that already includes API Management (APIM) gateway infrastructure

Scope: This skill executes deployments. It does not create applications, generate infrastructure code, or scaffold projects. For those tasks, use azure-prepare.

APIM / AI Gateway: Use this skill to deploy applications whose APIM/AI gateway infrastructure was already created during azure-prepare. For creating or changing APIM resources, see APIM deployment guide. For AI governance policies, invoke azure-aigateway skill.

Rules

  1. Run after azure-prepare and azure-validate
  2. .azure/deployment-plan.md must exist with status Validated
  3. Pre-deploy checklist required β€” Pre-Deploy Checklist
  4. β›” Destructive actions require ask_user β€” global-rules
  5. Scope: deployment execution only β€” This skill owns execution of azd up, azd deploy, terraform apply, and az deployment commands. These commands are run through this skill's error recovery and verification pipeline.

Steps

#ActionReference
1Check Plan β€” Read .azure/deployment-plan.md, verify status = Validated AND Validation Proof section is populated.azure/deployment-plan.md
2Pre-Deploy Checklist β€” MUST complete ALL stepsPre-Deploy Checklist
3Load Recipe β€” Based on recipe.type in .azure/deployment-plan.mdrecipes/README.md
4RBAC Health Check β€” For Container Apps + ACR with managed identity: run azd provision --no-prompt, then verify AcrPull role has propagated before proceeding (see checklist)Pre-Deploy Checklist β€” Container Apps RBAC
5Execute Deploy β€” Follow recipe stepsRecipe README
6Post-Deploy β€” Configure SQL managed identity and apply EF migrations if applicablePost-Deployment
7Handle Errors β€” See recipe's errors.mdβ€”
8Verify Success β€” Confirm deployment completed and endpoints are accessibleVerification
9Live Role Verification β€” Query Azure to confirm provisioned RBAC roles are correct and sufficientlive-role-verification.md
10Report Results β€” Present deployed endpoint URLs to the user as fully-qualified https:// linksVerification

β›” URL FORMAT RULE

When presenting endpoint URLs to the user, you MUST always use fully-qualified URLs with the https:// scheme (e.g. https://myapp.azurewebsites.net, not myapp.azurewebsites.net). Many Azure CLI commands return bare hostnames without a scheme β€” always prepend https:// before presenting them.

β›” VALIDATION PROOF CHECK

When checking the plan, verify the Validation Proof section (Section 7) contains actual validation results with commands run and timestamps. If this section is empty, validation was bypassed β€” invoke azure-validate skill first.

SDK Quick References

MCP Tools

ToolPurpose
mcp_azure_mcp_subscription_listList available subscriptions
mcp_azure_mcp_group_listList resource groups in subscription
mcp_azure_mcp_azdExecute AZD commands
azure__roleList role assignments for live RBAC verification (step 9)

References

More from this repository10

🎯
microsoft-foundry🎯Skill

Helps you build, deploy, test, and manage AI agents and models on Microsoft Foundry, Microsoft's Azure service for AI. It guides the AI through each task with fixed steps.

🎯
azure-diagnostics🎯Skill

Helps you find and fix problems in apps running on Azure, such as crashes, slow responses, or connection failures. It checks things in a set order and can work only from logs you provide.

🎯
azure-prepare🎯Skill

azure-prepare gets a new or existing app ready to deploy to Azure with azd, Microsoft's command-line tool for Azure. It first writes a plan for your approval, then creates the setup files.

🎯
azure-validate🎯Skill

azure-validate checks your Azure app before you deploy it, so you can catch setup and permission problems early. It runs after azure-prepare and before azure-deploy.

🎯
azure-resource-lookup🎯Skill

azure-resource-lookup finds and lists your Azure resources, such as web apps, virtual machines, and storage accounts, across your subscriptions. It only reads data and never changes anything.

🎯
azure-resource-visualizer🎯Skill

azure-resource-visualizer draws a diagram of an Azure resource group that shows how each resource connects to the others. It saves the diagram and notes in a markdown file.

🎯
azure-kusto🎯Skill

Lets Claude search and summarize large amounts of logs and app data stored in Azure Data Explorer. You ask what you want to know, and it writes and runs the queries for you.

🎯
azure-aigateway🎯Skill

Helps you send all requests to your AI models and tools through Azure API Management, so you can control cost, block harmful content and limit traffic. It includes Azure command-line steps for setup and testing.

🎯
azure-messaging🎯Skill

Helps you find and fix errors in apps that send and receive messages through Azure Event Hubs or Service Bus. It checks service health and Microsoft docs to suggest a fix.

🎯
azure-compute🎯Skill

A helper that sends your Azure virtual machine requests to the right step-by-step guide. It helps you choose, price, create and reserve cloud servers in Azure.