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/
3Resolve Errors — Fix failures before proceedingSee recipe's errors.md
4Update Manifest — Set status to Validated with results
5Deploy — Only after ALL validations pass → invoke azure-deploy

Recipes