github avatar

Azure Deployment Preflight

The azure-deployment-preflight skill validates Bicep infrastructure templates before deployment to Azure by checking syntax, running what-if analysis, and verifying user permissions across both Azure CLI and Azure Developer CLI workflows. It's designed for developers and DevOps engineers preparing infrastructure code for Azure to catch deployment errors, preview infrastructure changes, and confirm sufficient permissions before execution. The skill solves the problem of failed or unexpected deployments by providing comprehensive preflight validation that identifies issues early in the deployment process.

skills.sh installs
9.6K
GitHub stars
41K
last updated
Aug 21, 2026

Install

$ npx -y skills add github/awesome-copilot --skill azure-deployment-preflight --agent claude-code

Installs into .claude/skills of the current project.

Files

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)

Sponsors

Details

Repository
github.com/github/awesome-copilot
Categories
Git & Pull Requests, AI & Agent Building, Cloud & Infrastructure

More from github/awesome-copilot

All 318
1github avatarwrite-coding-standards-from-filegithub/awesome-copilotWrite a coding standards document for a project using the coding styles from the file(s) and/or folder(s) passed as arguments in the prompt.9.6Kskills.sh installs
2github avatarmy-issuesgithub/awesome-copilotList my issues in the current repository9.6Kskills.sh installs
3github avatarcreate-spring-boot-java-projectgithub/awesome-copilotCreate Spring Boot Java Project Skeleton9.6Kskills.sh installs
4github avatarappinsights-instrumentationgithub/awesome-copilotInstrument a webapp to send useful telemetry data to Azure App Insights9.5Kskills.sh installs
5github avataropenapi-to-application-codegithub/awesome-copilotGenerate a complete, production-ready application from an OpenAPI specification9.5Kskills.sh installs
6github avatarfolder-structure-blueprint-generatorgithub/awesome-copilotComprehensive technology-agnostic prompt for analyzing and documenting project folder structures. Auto-detects project types (.NET, Java, React, Angular, Python9.5Kskills.sh installs