Official agent skill

Azure Deployment Preflight

by github in github/awesome-copilot

Performs comprehensive preflight validation of Bicep deployments to Azure, including template syntax validation, what-if analysis, and permission checks.

OfficialMITAuto-check passedDevOps & Cloud

Install Azure Deployment Preflight

skills CLI
$ npx skills add github/awesome-copilot --skill azure-deployment-preflight -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install github/awesome-copilot azure-deployment-preflight --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/github/awesome-copilot.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/azure-deployment-preflight .claude/skills/azure-deployment-preflight && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
azure-deployment-preflight
GitHub stars
40k
Used in
1 other repo
Token cost
~1.9k tokens
SKILL.md length
712 words
Files
4 (incl. references)
Skills in repo
417
Repo updated
First seen
Licence
MIT

At a glance

Performs comprehensive preflight validation of Bicep deployments to Azure, including template syntax validation, what-if analysis, and permission checks.

  • Works in 5 steps: Detect Project Type → Validate Bicep Syntax → Run Preflight Validation → …
  • S mention deploying to Azure
  • SKILL.md covers When to Use This Skill, Validation Process, Required Information and Error Handling, plus 3 more sections
  • Calls az

What it does

Azure Deployment Preflight is an agent skill from github/awesome-copilot, published by the product's own GitHub organization. Performs comprehensive preflight validation of Bicep deployments to Azure, including template syntax validation, what-if analysis, and permission checks. Use this skill before any deployment to Azure to preview changes, identify potential issues, and ensure the deployment will succeed. Activate when users mention deploying to Azure, validating Bicep files, checking deployment permissions, previewing infrastructure changes, running what-if, or preparing for azd provision.

Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `references/ERROR-HANDLING.md`, `references/REPORT-TEMPLATE.md` and `references/VALIDATION-COMMANDS.md`).

It sits in DevOps & Cloud, covering Deployment and Infrastructure as code. It works with Microsoft Azure and Bicep. The repository describes itself as: Community-contributed instructions, agents, skills, and configurations to help you make the most of GitHub Copilot. The licence is MIT.

When your agent uses it

  • S mention deploying to Azure
  • Validating Bicep files
  • Checking deployment permissions
  • Previewing infrastructure changes

Example prompts

  • “Use the azure-deployment-preflight skill to perform comprehensive preflight validation of Bicep deployments to Azure, including template syntax…”
  • “/azure-deployment-preflight”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Detect Project Type
  2. Validate Bicep Syntax
  3. Run Preflight Validation
  4. Capture What-If Results
  5. Generate Report

What it can do on your machine

Read from SKILL.md and the folder at commit 727ff2e. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • az

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use az, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Azure Deployment Preflight loads about 1.9k tokens when it runs, and up to ~8.1k if it reads all its reference files. Until then it costs about 126 tokens; SKILL.md has 712 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~126
When it runs · the whole SKILL.md, loaded when a task matches
~1.9k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~8.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from github/awesome-copilot at commit 727ff2e, republished under its MIT licence (© github). 712 words, ~1,870 tokens.

Download SKILL.mdSave it as .claude/skills/azure-deployment-preflight/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
azure-deployment-preflight
description
Performs comprehensive preflight validation of Bicep deployments to Azure, including template syntax validation, what-if analysis, and permission checks. Use this skill before any deployment to Azure to preview changes, identify potential issues, and ensure the deployment will succeed. Activate when users mention deploying to Azure, validating Bicep files, checking deployment permissions, previewing infrastructure changes, running what-if, or preparing for azd provision.

Azure Deployment Preflight Validation

This skill validates Bicep deployments before execution, supporting both Azure CLI (az) and Azure Developer CLI (azd) workflows.

When to Use This Skill

  • Before deploying infrastructure to Azure
  • When preparing or reviewing Bicep files
  • To preview what changes a deployment will make
  • To verify permissions are sufficient for deployment
  • Before running azd up, azd provision, or az deployment commands

Validation Process

Follow these steps in order. Continue to the next step even if a previous step fails—capture all issues in the final report.

Step 1: Detect Project Type

Determine the deployment workflow by checking for project indicators:

  1. Check for azd project: Look for azure.yaml in the project root

    • If found → Use azd workflow
    • If not found → Use az CLI workflow
  2. Locate Bicep files: Find all .bicep files to validate

    • For azd projects: Check infra/ directory first, then project root
    • For standalone: Use the file specified by the user or search common locations (infra/, deploy/, project root)
  3. Auto-detect parameter files: For each Bicep file, look for matching parameter files:

    • <filename>.bicepparam (Bicep parameters - preferred)
    • <filename>.parameters.json (JSON parameters)
    • parameters.json or parameters/<env>.json in same directory
Step 2: Validate Bicep Syntax

Run Bicep CLI to check template syntax before attempting deployment validation:

bash
bicep build <bicep-file> --stdout

What to capture:

  • Syntax errors with line/column numbers
  • Warning messages
  • Build success/failure status

If Bicep CLI is not installed:

  • Note the issue in the report
  • Continue to Step 3 (Azure will validate syntax during what-if)
Step 3: Run Preflight Validation

Choose the appropriate validation based on project type detected in Step 1.

For azd Projects (azure.yaml exists)

Use azd provision --preview to validate the deployment:

bash
azd provision --preview

If an environment is specified or multiple environments exist:

bash
azd provision --preview --environment <env-name>
For Standalone Bicep (no azure.yaml)

Determine the deployment scope from the Bicep file's targetScope declaration:

Target ScopeCommand
resourceGroup (default)az deployment group what-if
subscriptionaz deployment sub what-if
managementGroupaz deployment mg what-if
tenantaz deployment tenant what-if

Run with Provider validation level first:

bash
# Resource Group scope (most common)
az deployment group what-if \
  --resource-group <rg-name> \
  --template-file <bicep-file> \
  --parameters <param-file> \
  --validation-level Provider

# Subscription scope
az deployment sub what-if \
  --location <location> \
  --template-file <bicep-file> \
  --parameters <param-file> \
  --validation-level Provider

# Management Group scope
az deployment mg what-if \
  --location <location> \
  --management-group-id <mg-id> \
  --template-file <bicep-file> \
  --parameters <param-file> \
  --validation-level Provider

# Tenant scope
az deployment tenant what-if \
  --location <location> \
  --template-file <bicep-file> \
  --parameters <param-file> \
  --validation-level Provider

Fallback Strategy:

If --validation-level Provider fails with permission errors (RBAC), retry with ProviderNoRbac:

bash
az deployment group what-if \
  --resource-group <rg-name> \
  --template-file <bicep-file> \
  --validation-level ProviderNoRbac

Note the fallback in the report—the user may lack full deployment permissions.

Step 4: Capture What-If Results

Parse the what-if output to categorize resource changes:

Change TypeSymbolMeaning
Create+New resource will be created
Delete-Resource will be deleted
Modify~Resource properties will change
NoChange=Resource unchanged
Ignore*Resource not analyzed (limits reached)
Deploy!Resource will be deployed (changes unknown)

For modified resources, capture the specific property changes.

Show full SKILL.md (307 more words)Show less
Step 5: Generate Report

Create a Markdown report file in the project root named:

  • preflight-report.md

Use the template structure from references/REPORT-TEMPLATE.md.

Report sections:

  1. Summary - Overall status, timestamp, files validated, target scope
  2. Tools Executed - Commands run, versions, validation levels used
  3. Issues - All errors and warnings with severity and remediation
  4. What-If Results - Resources to create/modify/delete/unchanged
  5. Recommendations - Actionable next steps

Required Information

Before running validation, gather:

InformationRequired ForHow to Obtain
Resource Groupaz deployment groupAsk user or check existing .azure/ config
SubscriptionAll deploymentsaz account show or ask user
LocationSub/MG/Tenant scopeAsk user or use default from config
Environmentazd projectsazd env list or ask user

If required information is missing, prompt the user before proceeding.

Error Handling

See references/ERROR-HANDLING.md for detailed error handling guidance.

Key principle: Continue validation even when errors occur. Capture all issues in the final report.

Error TypeAction
Not logged inNote in report, suggest az login or azd auth login
Permission deniedFall back to ProviderNoRbac, note in report
Bicep syntax errorInclude all errors, continue to other files
Tool not installedNote in report, skip that validation step
Resource group not foundNote in report, suggest creating it

Tool Requirements

This skill uses the following tools:

  • Azure CLI (az) - Version 2.76.0+ recommended for --validation-level
  • Azure Developer CLI (azd) - For projects with azure.yaml
  • Bicep CLI (bicep) - For syntax validation
  • Azure MCP Tools - For documentation lookups and best practices

Check tool availability before starting:

bash
az --version
azd version
bicep --version

Example Workflow

  1. User: "Validate my Bicep deployment before I run it"
  2. Agent detects azure.yaml → azd project
  3. Agent finds infra/main.bicep and infra/main.bicepparam
  4. Agent runs bicep build infra/main.bicep --stdout
  5. Agent runs azd provision --preview
  6. Agent generates preflight-report.md in project root
  7. Agent summarizes findings to user

Reference Documentation

© github, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (references) in skills/azure-deployment-preflight of github/awesome-copilot.

  • SKILL.md
  • references/ERROR-HANDLING.md
  • references/REPORT-TEMPLATE.md
  • references/VALIDATION-COMMANDS.md

Open the folder on GitHubat commit 727ff2e

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in github/awesome-copilot, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Azure Deployment Preflight next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Azure Deployment Preflight compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Azure Deployment Preflight this skillgithub/awesome-copilot40k1 repos~1.9kAutomated safety check: PassMIT
Azure Bicep Skilltimothywarner-org/claude-code224—~2.9kAutomated safety check: PassMIT
Azsdk Common Live And Recorded TestsAzure/azure-sdk-tools134—~1.5kAutomated safety check: NotesMIT
Apex Azure Deployjonathan-vella/apex217—~2.3kAutomated safety check: PassMIT
Azure Deploymicrosoft/GitHub-Copilot-for-Azure2551 repos~1.6kAutomated safety check: PassMIT
Azure Preparemicrosoft/GitHub-Copilot-for-Azure2551 repos~3.2kAutomated safety check: PassMIT

Similar skills

  • Azure Bicep Skill

    timothywarner-org/claude-code

    A skill your agent uses when authoring, reviewing, or refactoring Azure Bicep code.

    224 GitHub stars~2.9k tokensUpdated 2 mo ago
    DevOps & CloudAuto-check passed
  • Official

    Deploy test resources and run Azure SDK tests in live, record, or playback mode.

    134 GitHub stars~1.5k tokensUpdated today
    DevOps & CloudAuto-check: notes
  • Apex Azure Deploy

    jonathan-vella/apex

    WORKFLOW SKILL — Execute Azure deployments (azd up, azd deploy, terraform apply) for already-prepared apps with built-in error recovery.

    217 GitHub stars~2.3k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Azure Deploy

    microsoft/GitHub-Copilot-for-Azure

    Official

    Execute Azure deployments for ALREADY-PREPARED applications that have existing .azure/deployment-plan.md and infrastructure files.

    255 GitHub starsUsed in 1 repo~1.6k tokens
    DevOps & CloudAuto-check passed
  • Azure Prepare

    microsoft/GitHub-Copilot-for-Azure

    Official

    Prepare azd-based Azure projects for deployment: generates azure.yaml, infrastructure (Bicep/Terraform), and Dockerfiles for the Azure Developer CLI (azd) workflow.

    255 GitHub starsUsed in 1 repo~3.2k tokens
    DevOps & CloudAuto-check passed
  • Azure Validate

    microsoft/GitHub-Copilot-for-Azure

    Official

    Pre-deployment validation for Azure readiness. An agent skill from microsoft/GitHub-Copilot-for-Azure.

    255 GitHub starsUsed in 1 repo~880 tokens
    DevOps & CloudAuto-check passed

More from github/awesome-copilot

All 417 skills in this repo
  • Acquire Codebase Knowledge

    github/awesome-copilot

    Official

    Maps an unfamiliar codebase into seven evidence-backed documents in docs/codebase/, using a scan script and templates, for onboarding or architecture write-ups.

    40k GitHub starsUsed in 1 repo~2.3k tokens
    Auto-check passed
  • Azure Architecture Autopilot

    github/awesome-copilot

    Official

    Designs Azure infrastructure from a natural-language description, or diagrams an existing resource group, then refines the design through conversation and deploys it with Bicep.

    40k GitHub starsUsed in 1 repo~1.9k tokens
    Auto-check passed
  • Draw.io Diagram Generator

    github/awesome-copilot

    Official

    Generates, edits and validates draw.io files with correct mxGraph XML, covering flowcharts, architecture, sequence, ER and UML class diagrams.

    40k GitHub starsUsed in 1 repo~4.9k tokens
    Auto-check passed
  • Credit Risk Data Cleaning

    github/awesome-copilot

    Official

    Cleans raw credit data and screens variables before loan modeling, dropping unstable, noisy or redundant features and writing an Excel report of every step.

    40k GitHub starsUsed in 1 repo~1.5k tokens
    Auto-check passed
  • Daily Focus Board

    github/awesome-copilot

    Official

    Builds a warm, browser-based daily focus board the user updates by talking to their agent, with Eisenhower priorities, a brain-dump box and kind not-today carryover.

    40k GitHub stars~3k tokensUpdated today
    Auto-check passed
  • Python Pypi Package Builder

    github/awesome-copilot

    Official

    End-to-end skill for building, testing, linting, versioning, and publishing a production-grade Python library to PyPI.

    40k GitHub starsUsed in 1 repo~4.6k tokens
    Auto-check passed

Categories

Questions about Azure Deployment Preflight

What does Azure Deployment Preflight do?

Performs comprehensive preflight validation of Bicep deployments to Azure, including template syntax validation, what-if analysis, and permission checks. Azure Deployment Preflight is an agent skill from github/awesome-copilot, published by the product's own GitHub organization. Performs comprehensive preflight validation of Bicep deployments to Azure, including template syntax validation, what-if analysis, and permission checks.

When should I use Azure Deployment Preflight?

Azure Deployment Preflight fits situations like: S mention deploying to Azure; validating Bicep files; checking deployment permissions; previewing infrastructure changes.

How do I install Azure Deployment Preflight in Claude Code?

Run `npx skills add github/awesome-copilot --skill azure-deployment-preflight -a claude-code`. Or copy the skill folder (skills/azure-deployment-preflight in github/awesome-copilot) into .claude/skills/azure-deployment-preflight in your project. Claude Code loads it when a task matches its description.

How do I install Azure Deployment Preflight in Codex?

Run `npx skills add github/awesome-copilot --skill azure-deployment-preflight -a codex`. Or copy the skill folder (skills/azure-deployment-preflight in github/awesome-copilot) into .agents/skills/azure-deployment-preflight in your project. Codex loads it when a task matches its description.

Can I use Azure Deployment Preflight in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add github/awesome-copilot --skill azure-deployment-preflight -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/azure-deployment-preflight, .gemini/skills/azure-deployment-preflight, .github/skills/azure-deployment-preflight and .opencode/skills/azure-deployment-preflight in your project.

What does Azure Deployment Preflight need to run?

Going by SKILL.md and its folder, Azure Deployment Preflight needs the command-line tools its instructions call (az).

Does Azure Deployment Preflight access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Azure Deployment Preflight safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Azure Deployment Preflight use?

Azure Deployment Preflight is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Azure Deployment Preflight use?

About 1.9k tokens (SKILL.md is roughly 7.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 6.2k tokens, read only when the agent opens those files.

What are the alternatives to Azure Deployment Preflight?

Skills that share tags, products or a category with Azure Deployment Preflight: Azure Bicep Skill (timothywarner-org/claude-code, 224 stars), Azsdk Common Live And Recorded Tests (Azure/azure-sdk-tools, 134 stars), Apex Azure Deploy (jonathan-vella/apex, 217 stars) and Azure Deploy (microsoft/GitHub-Copilot-for-Azure, 255 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Azure Deployment Preflight?

github (a GitHub organization, an official publisher) maintains it in github/awesome-copilot, which has 39,748 GitHub stars. The repository holds 417 skills in this directory. The repository was last updated on October 7, 2026.

Source: github/awesome-copilot on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.