Index of every page on this site: llms.txt
All skills
microsoft avatar

/azure-validate

@147c081 official
Run it yourself

Pre-deployment validation for Azure readiness. Run deep checks on configuration, infrastructure (Bicep or Terraform), RBAC role assignments, managed identity permissions, and prerequisites before deploying. WHEN: validate my app, check deployment readiness, run preflight checks, verify configuration, check if ready to deploy, validate azure.yaml, validate Bicep, test before deploying, troubleshoot deployment errors, validate Azure Functions, validate function app, validate serverless deployment, verify RBAC roles, check role assignments, review managed identity permissions, what-if analysis, validate Container Apps deployment.

Use this Skill: https://skilld.dev/gh/microsoft/github-copilot-for-azure/azure-validate

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈163 tokens for metadata: the name and description. ≈710 when used: this file. ≈10k more on demand in 17 files.

Description uses 8.1% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈651 characters, or 8.1%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

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-prepare → azure-validate → azure-deploy

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_user — global-rules

Steps

Run the workflow script and follow its instructions. It walks you through each validation step one at a time, recording progress in .azure/validate-status.json. Use references/scripts/workflow.ps1 on Windows or references/scripts/workflow.sh on macOS/Linux.

Start by calling the script without the completed-step argument:

pwsh references/scripts/workflow.ps1 -WorkspacePath <workspace-path>
# macOS/Linux: bash references/scripts/workflow.sh --workspace-path <workspace-path>

Each run prints the next action and the value to pass next. Perform the action, then re-run with that value (-CompletedStep <value> for pwsh, --completed-step <value> for bash). Repeat until it reports the azure-validate workflow is complete.

Read references/recipes/README.md and apply its Node.js runtime check for every recipe before provisioning or deployment. The steps also reference role checks.

⛔ VALIDATION AUTHORITY

This skill is the officially verified way to set plan status to Validated. You MUST follow the script's instructions to completion before setting status to Validated. Do NOT set status to Validated without doing so.


⚠️ NEXT STEP — DEPENDS ON USER INTENT

After ALL validations pass, check whether the user asked to deploy:

  • If the user explicitly requested deployment, you MUST invoke azure-deploy to execute it. Do NOT run azd up, azd deploy, or any deployment commands directly — let azure-deploy handle execution.
  • If the user only asked to validate or prepare (not deploy), STOP after recording proof and setting status to Validated. Report the validation results and do NOT invoke azure-deploy.

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

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts25d4 checks · Risk SAFE
  • Gen Agent Trust Hub25d

    This skill provides a comprehensive framework for validating Azure infrastructure and application readiness prior to deployment. It automates technical checks for Bicep, Terraform, and .NET Aspire configurations while strictly adhering to safety protocols, such as requiring user confirmation for destructive actions and implementing least-privilege access reviews.

  • Socket25d

    No alerts

  • Snyk25d

    Risk: LOW · No issues

  • Runlayer8mo

    3/14 files flagged

Signed by skilld at 147c081. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 4 days ago.

Activeupdated 3 weeks ago
metadata
{
  "author": "Microsoft",
  "version": "0.0.0-placeholder"
}
  • azure
  • bicep
  • terraform
  • rbac
  • managed-identity
  • preflight-checks
  • deployment
  • validation
  • azure-functions
  • container-apps

README badge

README badge for microsoft/github-copilot-for-azure/azure-validate

Runs deep pre-deployment validation checks on Azure configuration, Bicep, Terraform, RBAC roles, and managed identities before proceeding to deployment. Part of the azure-prepare → azure-validate → azure-deploy workflow; requires a deployment plan file and must record validation proof before advancing.

Generated from the current SKILL.md.

What must be completed before running this skill?
The azure-prepare skill must be invoked first and produce a `.azure/deployment-plan.md` file with status 'Approved' or later. This skill will stop immediately if that file is missing.
What does this skill validate?
It runs recipe-specific validation commands, builds the project, verifies RBAC role assignments in Bicep or Terraform code, and checks managed identity permissions and prerequisites before deployment.
What happens if validation checks fail?
The skill will not update the plan status to 'Validated'. You must fix the failures using the recipe's error guidance and re-run azure-validate before proceeding to deployment.
Can I deploy directly after validation passes?
No. You must invoke the azure-deploy skill to execute the deployment. Do not run azd up, azd deploy, or other deployment commands directly.

Generated from the current SKILL.md. These answers refresh after source changes.