azure-deployment-preflight

Validate subscription-level ARM template deployments with what-if and permission checks.

267|40|Updated Apr 2, 2026
One-click install
npx skills add https://github.com/Azure/git-ape --skill azure-deployment-preflight-azure
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: azure-deployment-preflight
Source: https://github.com/Azure/git-ape/tree/main/.github/skills/azure-deployment-preflight
Command: npx skills add https://github.com/Azure/git-ape --skill azure-deployment-preflight-azure

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Validates ARM template deployments before execution by performing what-if analysis, permission checks, and generating a structured preflight report that highlights resource changes (create/modify/delete).

Core Features & Use Cases

  • What-if analysis to preview changes without deploying.
  • RBAC and permission validation to ensure deployment viability.
  • Structured preflight report detailing resource changes and gating decisions.
  • Supports subscription-level deployments and template-driven workflows.

Quick Start

Invoke the command /azure-deployment-preflight --deployment-id <deployment-id> to run a full preflight.

Frequently Asked Questions about azure-deployment-preflight

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate ARM template deployments before running them in Azure?

You can validate ARM template deployments by running a preflight analysis that executes what-if operations and permission checks to generate a structured report detailing resource changes before deployment.

Can I preview Azure subscription-level deployment changes without modifying resources?

Yes, running a preflight what-if analysis on subscription-level ARM template deployments allows you to preview resource changes like create, modify, and delete without actually deploying or modifying any resources.

Do I need Azure CLI access to check RBAC permissions for ARM template deployments?

Yes, Azure CLI access is required because the preflight validation directly invokes az deployment sub validate and az deployment sub what-if to check RBAC permissions and deployment viability.

What is the best way to generate a preflight report for Azure ARM templates?

The best way to generate a preflight report is to run a what-if analysis and permission check on your ARM templates, which outputs an availability, syntax, and change report saved under the .azure/deployments directory.

Does ARM template preflight validation work with template-driven workflows at the subscription level?

Yes, ARM template preflight validation supports subscription-level deployments and template-driven workflows by analyzing templates, checking permissions, and delivering structured what-if results before execution.

Why does my Azure ARM template deployment fail permission checks during what-if analysis?

ARM template deployments fail permission checks when the preflight analysis detects insufficient RBAC permissions required for deployment viability, which are flagged in the structured preflight report before execution.