AgentSkillsCN

azure-deploy

在完成准备工作与验证后,执行 Azure 部署。适用场景:azd up、azd deploy、推送到 Azure、发布到 Azure、上线生产环境、在 Azure 上启动应用、正式上线、向 Azure 发布、部署 Web 应用、部署容器应用、部署静态站点、部署 Azure Functions、azd provision、基础设施部署、bicep 部署、terraform apply。请勿用于:新建应用的准备工作(应使用 azure-prepare)、部署前的验证工作(应使用 azure-validate)。

SKILL.md
--- frontmatter
name: azure-deploy
description: "Execute Azure deployments after preparation and validation are complete. USE FOR: azd up, azd deploy, push to Azure, publish to Azure, ship to production, launch on Azure, go live, release to Azure, deploy web app, deploy container app, deploy static site, deploy Azure Functions, azd provision, infrastructure deployment, bicep deploy, terraform apply. DO NOT USE FOR: preparing new apps (use azure-prepare), validating before deploy (use azure-validate)."

Azure Deploy

AUTHORITATIVE GUIDANCE — MANDATORY COMPLIANCE

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

Triggers

Activate this skill when user wants to:

  • Deploy their application to Azure
  • Publish, host, or launch their app
  • Push updates to existing deployment
  • Run azd up or az deployment
  • Ship code to production
  • Deploy Azure Functions to the cloud

Rules

  1. Run after azure-prepare and azure-validate
  2. Manifest must exist with status Validated
  3. Pre-deploy checklist requiredpre-deploy-checklist
  4. Destructive actions require ask_userglobal-rules

Steps

⚠️ Deployment commands (especially azd up) can take 5-15 min. Stream output visibly to the user — do NOT run silently.

#ActionReference
1Check Manifest — Verify status = Validated
2Pre-Deploy Checklist — MUST complete ALL stepspre-deploy-checklist
3Load Recipe — Based on recipe.type in manifestrecipes/
4Execute Deploy — Follow recipe stepsRecipe README
5Handle Errors — See recipe's errors.md
6Verify Success — Confirm deployment completed and endpoints are accessible

Recipes

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