Loading...
Loading...
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.
npx skill4agent add kinnekate-hub/azure-skills azure-deployAUTHORITATIVE GUIDANCE — MANDATORY COMPLIANCEPREREQUISITE: The azure-validate skill MUST be invoked and completed with statusBEFORE executing this skill.Validated
⛔ STOP — PREREQUISITE CHECK REQUIRED Before proceeding, verify BOTH prerequisites are met:
- azure-prepare was invoked and completed →
exists.azure/deployment-plan.md- azure-validate was invoked and passed → plan status =
ValidatedIf EITHER is missing, STOP IMMEDIATELY:
- No plan? → Invoke azure-prepare skill first
- Status not
? → Invoke azure-validate skill firstValidated⛔ DO NOT MANUALLY UPDATE THE PLAN STATUSYou are FORBIDDEN from changing the plan status toyourself. 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.ValidatedDO 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-validateazure-deploy
azd upazd deployaz deploymentScope: 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.
.azure/deployment-plan.mdValidatedask_userazd upazd deployterraform applyaz deployment| # | Action | Reference |
|---|---|---|
| 1 | Check Plan — Read | |
| 2 | Pre-Deploy Checklist — MUST complete ALL steps | Pre-Deploy Checklist |
| 3 | Load Recipe — Based on | recipes/README.md |
| 4 | Execute Deploy — Follow recipe steps | Recipe README |
| 5 | Post-Deploy — Configure SQL managed identity and apply EF migrations if applicable | Post-Deployment |
| 6 | Handle Errors — See recipe's | — |
| 7 | Verify Success — Confirm deployment completed and endpoints are accessible | Verification |
| 8 | Live Role Verification — Query Azure to confirm provisioned RBAC roles are correct and sufficient | live-role-verification.md |
| 9 | Report Results — Present deployed endpoint URLs to the user as fully-qualified | Verification |
⛔ URL FORMAT RULEWhen presenting endpoint URLs to the user, you MUST always use fully-qualified URLs with thescheme (e.g.https://, nothttps://myapp.azurewebsites.net). Many Azure CLI commands return bare hostnames without a scheme — always prependmyapp.azurewebsites.netbefore presenting them.https://
⛔ VALIDATION PROOF CHECKWhen 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.
| Tool | Purpose |
|---|---|
| List available subscriptions |
| List resource groups in subscription |
| Execute AZD commands |
| List role assignments for live RBAC verification (step 8) |