azure-validate

Pre-deployment validation for Azure readiness with configuration, infrastructure, RBAC, and identity checks. Runs recipe-specific validation commands including Bicep builds, Terraform validation, and Azure CLI preflight checks Verifies RBAC role assignments in infrastructure code and managed identity permissions before deployment Requires .azure/deployment-plan.md from azure-prepare skill; records validation proof and updates plan status to Validated only after all checks pass Integrates into the three-step workflow: azure-prepare → azure-validate → azure-deploy

INSTALLATION
npx skills add https://github.com/microsoft/azure-skills --skill azure-validate
Run in your project or agent environment. Adjust flags if your CLI version differs.

SKILL.md

Azure Validate

AUTHORITATIVE GUIDANCE — Follow these instructions exactly unless they contradict security policies given to you.

⛔ STOP — PREREQUISITE CHECK REQUIRED

Before proceeding, verify this prerequisite is met:

azure-prepare was invoked and completed → .azure/deployment-plan.md exists with status Approved or later

If the plan is missing, STOP IMMEDIATELY and invoke azure-prepare first.

The complete workflow ensures success:

azure-prepareazure-validateazure-deploy

Triggers

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

Rules

  • Run after azure-prepare, before azure-deploy
  • All checks must pass—do not deploy with failures
  • ⛔ **Destructive actions require ask_user** — global-rules

Steps

#ActionReference
1Load Plan — Read .azure/deployment-plan.md for recipe and configuration. If missing → run azure-prepare first.azure/deployment-plan.md
2Add Validation Steps — Copy recipe "Validation Steps" to .azure/deployment-plan.md as children of "All validation checks pass"recipes/README.md, .azure/deployment-plan.md
3Run Validation — Execute recipe-specific validation commandsrecipes/README.md
4Build Verification — Build the project and fix any errors before proceedingSee recipe
5Static Role Verification — Review Bicep/Terraform for correct RBAC role assignments in coderole-verification.md
6Record Proof — Populate Section 7: Validation Proof with commands run and results.azure/deployment-plan.md
7Resolve Errors — Fix failures before proceedingSee recipe's errors.md
8Update Status — Only after ALL checks pass, set status to Validated.azure/deployment-plan.md
9Deploy — Invoke azure-deploy skill

⛔ VALIDATION AUTHORITY

This skill is the officially verified way to set plan status to Validated. You MUST follow these steps to make sure every prerequisite is fulfilled before setting status to Validated:

  • Run actual validation commands (azd provision --preview, bicep build, terraform validate, etc.)
  • Populate Section 7: Validation Proof with the commands you ran and their results
  • Only then set status to Validated

Do NOT set status to Validated without running checks and recording proof.

⚠️ MANDATORY NEXT STEP — DO NOT SKIP

After ALL validations pass, you MUST invoke azure-deploy to execute the deployment. Do NOT attempt to run azd up, azd deploy, or any deployment commands directly. Let azure-deploy handle execution.

If any validation failed, fix the issues and re-run azure-validate before proceeding.

BrowserAct

Let your agent run on any real-world website

Bypass CAPTCHA & anti-bot for free. Start local, scale to cloud.

Explore BrowserAct Skills →

Stop writing automation&scrapers

Install the CLI. Run your first Skill in 30 seconds. Scale when you're ready.

Start free
free · no credit card