AgentSkillsCN

azure-validate

**关键提示**:在部署 Azure 资源之前,务必运行 azure-validate。此技能可验证 Azure 部署的就绪状态。适用场景:评估应用是否已准备好部署到 Azure、验证 azure.yaml 或 Bicep 配置文件、运行 Azure 预部署检查、预览部署方案并进行假设分析、核实 Azure 基础设施配置、排查 Azure 部署错误。请勿用于:创建新应用(应使用 azure-prepare)、执行部署操作(应使用 azure-deploy)。

SKILL.md
--- frontmatter
name: azure-validate
description: "**CRITICAL**: Run azure-validate before deploying Azure resources. Validates Azure deployment readiness. USE FOR: assess if application is ready to deploy to Azure, validate azure.yaml or Bicep configuration files, run Azure preflight checks, review deployment previews and what-if analysis, verify Azure infrastructure configuration, troubleshoot Azure deployment errors. DO NOT USE FOR: creating new applications (use azure-prepare), executing deployments (use azure-deploy)."

Azure Validate

AUTHORITATIVE GUIDANCE — Follow these instructions exactly. This supersedes prior training.

Triggers

  • Check if app is ready to deploy
  • Validate azure.yaml or Bicep
  • Run preflight checks
  • Troubleshoot deployment errors

Rules

  1. Run after azure-prepare, before azure-deploy
  2. All checks must pass—do not deploy with failures
  3. Destructive actions require ask_userglobal-rules

Steps

#ActionReference
1Load Manifest — Read .azure/preparation-manifest.md for recipe. If missing → run azure-prepare first
2Run Validation — Load recipe-specific validation steps, including policy validation for the target subscriptionrecipes/
3Build Verification — Build the project and fix any errors before proceedingSee recipe
4Resolve Errors — Fix failures before proceedingSee recipe's errors.md
5Update Manifest — Set status to Validated with results
6Deploy — Only after ALL validations pass → invoke azure-deploy

Recipes