In short.
Azure Deployment Preflight is an AI assistant skill for developers preparing Azure Bicep deployments, but reduced validation can leave deployment permissions unchecked. It combines project detection, template compilation, Azure change previews and a structured report. Its useful detail is the treatment of failures and validation levels; its main weaknesses are fallback examples that omit parameters, incomplete reporting of uncertain outcomes and no demonstrated command execution. Runtime behavior, version compatibility and deployment success are not assessed.
Researched and written by an AI model and checked by a second AI model. How it works
The supplied capture covers the complete selected skills/azure-deployment-preflight folder: SKILL.md, references/ERROR-HANDLING.md, references/REPORT-TEMPLATE.md and references/VALIDATION-COMMANDS.md, plus the repository-root LICENSE notice. The source revision is dc0083dbe22133bfa7ce3500dee85e187e0cd47a and the supplied content checksum is 58a621e774b959ca7d69651f81311d5a88115007a2c01de83b5f4a95e6bf7733. Other repository content, external documentation, assistant hosts, CLI implementations and Azure environments are outside this evidence. Nothing was executed; installation, command behavior, cloud permissions, generated reports, costs and deployment outcomes remain untested.
The overview
Identity
Azure Deployment Preflight is a folder of assistant instructions and reference documents in GitHub's awesome-copilot repository. It addresses deployments described in Bicep files, which specify Azure infrastructure. It is an instruction package that coordinates existing command-line tools, rather than a separate deployment engine.
The original source is [https://github.com/github/awesome-copilot/tree/main/skills/azure-deployment-preflight]. The supplied snapshot contains SKILL.md and three reference files at revision dc0083dbe22133bfa7ce3500dee85e187e0cd47a, together with the repository-root LICENSE.
Assessment
The skill is a practical fit for developers who want an assistant to follow a repeatable preparation checklist and explain proposed infrastructure changes. It specifies both the commands to consider and the diagnostic information to retain, including syntax locations, validation levels, tool versions and resource property changes.
Treat its output as preparation evidence rather than a guarantee. The description promises to ensure deployment success, and the template associates a pass with being safe to deploy, but the same documents acknowledge skipped checks, incomplete previews and reduced permission validation. No execution results establish reliability.
Users
The intended users are developers and infrastructure engineers working with standalone Bicep templates or Azure Developer CLI projects. Beginners get an ordered process and suggested remedies; experienced users get commands for resource-group, subscription, management-group and tenant deployment scopes.
Users still need to identify the intended Azure account, deployment target and environment, and understand the consequences of proposed changes. The selected files do not describe workflows for Terraform or other infrastructure formats.
Capabilities
The instructions cover finding Bicep files, detecting matching .bicepparam or JSON parameter files, compiling templates for syntax diagnostics and choosing the preview workflow. An azure.yaml file selects the Azure Developer CLI path; otherwise, the Bicep targetScope determines the Azure CLI command.
The skill calls for classifying preview results as Create, Delete, Modify, NoChange, Ignore or Deploy, with property-level details for modifications. Ignore means resources were not analyzed, while Deploy means deployment is expected but the changes are unknown.
Its report template records targets, checks, commands, exit codes, durations, tool versions, issues and recommendations. Error guidance covers authentication, permissions, missing tools or modules, parameter problems, preview limits and network failures.
Using it
Requirements
An assistant needs access to the project files and a way to invoke the relevant tools. The skill names Azure CLI, Bicep CLI, Azure Developer CLI for azure.yaml projects, and Azure MCP tools for documentation lookups. Its error guide also suggests trying az bicep build when a separate Bicep executable is unavailable.
Cloud previews require authentication and the intended subscription context. Resource-group deployments need a resource-group name; subscription, management-group and tenant deployments need a location; management-group deployments also need the management-group identifier. Azure Developer CLI projects may require an explicit environment.
The skill recommends Azure CLI 2.76.0 or later for --validation-level. The command reference separately lists general minimums of Azure CLI 2.14.0, Azure Developer CLI 1.0.0 and Bicep CLI 0.4.0, without demonstrating that these versions support every documented option. Exact host compatibility and minimum required Azure permissions are not established.
Mechanism
The process starts with project and parameter discovery, then uses bicep build with --stdout to compile the template and collect diagnostics. Azure Developer CLI projects use azd provision --preview. Standalone templates use az deployment group, sub, mg or tenant what-if according to targetScope.
For the standalone path, Provider is the initial validation level. Permission failures trigger a ProviderNoRbac retry, which the documents describe as omitting the deployment write-permission check. The error guide adds Template as a further fallback for static validation. These levels provide different evidence and should remain distinguishable in the result.
The assistant is directed to collect failures and continue with checks that remain possible. Authentication failures, unavailable tools or a missing target can cause particular operations to be skipped, while report generation is still expected.
Setup
Keep SKILL.md together with the references directory so the relative document references remain available to the assistant. The selected files do not provide a host-specific installation command, supported assistant versions or evidence of automatic activation.
Preparation includes checking tool versions, authenticating with the appropriate Azure CLI, confirming the subscription and target, and selecting the intended parameter file and environment. The expected output is preflight-report.md in the project root, so the assistant also needs permission to write that file.
Example
In an illustrative project containing azure.yaml, infra/main.bicep and infra/main.bicepparam, the documented path is to compile the template with bicep build infra/main.bicep --stdout, then preview the selected environment with azd provision --preview --environment dev. The intended report would distinguish compilation results, preview results and permission coverage.
For an illustrative standalone resource-group deployment, the reference gives az deployment group what-if --resource-group my-rg --template-file main.bicep --parameters main.bicepparam --validation-level Provider. These are examples, not executed commands or observed results. The sample report's resource counts, durations and pass statements are illustrative.
Assessment & evidence
Limitations
Preview coverage can be incomplete. The error guide describes resources ignored because of nested-template limits, linked templates that are not visible in what-if and expressions whose values are evaluated during deployment. ProviderNoRbac does not establish full deployment permissions, and Template fallback does not establish provider-level validity.
The ProviderNoRbac examples omit the --parameters argument shown in the corresponding full-validation example and illustrate only resource-group scope. Copying them unchanged may fail or change the effective inputs being checked. A retry needs to preserve the original parameters, target and scope.
The reporting documents have gaps: SKILL.md includes the Deploy change type, but the report's summary table omits it. Individual checks can be marked skipped, yet overall statuses offer no explicit incomplete or unknown state. The Azure Developer CLI path also does not document an explicit validation level or demonstrate equivalent permission coverage.
The report template includes subsequent deployment commands as next steps. Its reassuring pass language does not resolve unknown changes or skipped checks, and the presence of those commands should not be confused with evidence that deployment succeeded.
Reasoning
The expected benefit is more consistent preparation: syntax, deployment scope, parameters, permissions and proposed changes are addressed in a single process. Recording commands and tool versions should also make a result easier to interpret. These are conclusions from the documented design, not measured improvements in speed or reliability.
The skill fits best where a developer can inspect the commands and unresolved findings. It is a weaker fit for unattended decisions that reduce every outcome to pass or fail, because its fallback paths deliberately reduce validation and its template does not fully represent incomplete coverage.
Alternatives
Developers can use the same underlying tools directly: bicep build for compilation diagnostics, Azure CLI what-if for scope-specific previews, or azd provision --preview for Azure Developer CLI projects. The skill adds assistant guidance, error handling and report structure around these tools.
For syntax-only work, compilation is the narrower option, but it does not provide the documented cloud preview or deployment permission checks. Teams needing deterministic automation would need additional scripting or pipeline integration; no such implementation is included in the selected folder.
Evidence
SKILL.md defines the intended process. VALIDATION-COMMANDS.md supplies command syntax, parameter patterns and version claims. ERROR-HANDLING.md supplies failure and fallback guidance. REPORT-TEMPLATE.md defines the expected output and includes an illustrative report. The root LICENSE supplies the reuse terms.
The supplied material contains no actual execution logs, completed validation results or deployment outcomes. Command correctness, fallback behavior, generated report quality, performance and compatibility are not assessed. Example timestamps, tool versions, durations and resource counts are not observed measurements.
Access & freshness
Costs
Total operating cost is unknown. The supplied files do not establish assistant subscription costs, model usage charges, Azure operation charges or prices for the resources being previewed.
The report template describes infrastructure changes without pricing them. Resource counts and a successful preview therefore do not establish affordability or a deployment budget.
Rights
The captured repository-root LICENSE is the MIT License and names GitHub, Inc. as the copyright holder. It permits use, copying, modification, distribution, sublicensing and sale, provided the copyright and permission notice are retained in copies or substantial portions.
The licence provides the material without warranty. It supports redistribution of the captured skill files with the notice; it does not establish the terms or pricing of an assistant host, Azure account or other external service.
Freshness
The supplied capture is dated 2026-11-16T13:38:34.979Z and pins revision dc0083dbe22133bfa7ce3500dee85e187e0cd47a. These findings apply to that snapshot. The main-branch source address can change independently.
The capture date does not establish an authorship or release date. Later upstream changes and compatibility with current installed CLI versions are unknown; the example report's versions do not constitute a tested compatibility matrix.
Actions
Before use, confirm that the assistant can load the complete folder and that the installed tools support the required options. Identify the deployment entry point, parameters, subscription, scope and environment explicitly.
When reviewing a result, retain the validation level and every failed or skipped check. Preserve parameters and target context across retries, review proposed deletions and property changes, and resolve Ignore or Deploy entries rather than interpreting them as unchanged resources. Confirm deployment permissions separately if full validation was unavailable.
