SkillsReviewed · github

Azure Developer CLI best practices

Azure Developer CLI best practices is a coding assistant skill for developers deploying applications to Azure, but some deployment features it covers are described as beta. It guides work on azure.yaml, Bicep or Terraform infrastructure, environments, secrets, hooks and deployment pipelines. It supplies instructions and an example manifest; deployment success and assistant compatibility were not assessed.

Researched 16 Nov 2026

In short.

Azure Developer CLI best practices is an assistant skill for developers maintaining Azure applications, but its deployment advice requires current documentation and project-specific validation. Its instructions connect application services, infrastructure configuration, environment state, secrets and pipelines rather than treating deployment as one command. Useful details include distinguishing AZD environment state from Terraform state, preserving existing infrastructure choices and confirming cloud targets before changes. The references describe Terraform integration and pipeline configuration as beta and identify authentication restrictions. Nothing was executed, so generated changes, security outcomes and deployment success remain unassessed.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage includes all six files in skills/azure-developer-cli at revision dc0083dbe22133bfa7ce3500dee85e187e0cd47a, plus the repository-level LICENSE supplied as the related notice. Other repository skills, externally linked documentation and products are outside this scope. The example's referenced application, infrastructure and hook implementations are not included. Nothing was executed; assistant compatibility, command behavior, authentication, deployment, security outcomes, cleanup and costs remain untested or unknown.

The overview

Identity

This is the azure-developer-cli skill in GitHub's awesome-copilot repository. Its entry point is SKILL.md, accompanied by four reference documents and an example azure.yaml. It is guidance that a coding assistant loads, rather than the Azure Developer CLI executable or a complete application template.

The original resource location is [https://github.com/github/awesome-copilot/tree/main/skills/azure-developer-cli]. The supplied snapshot identifies revision dc0083dbe22133bfa7ce3500dee85e187e0cd47a.

Assessment

The skill offers a detailed starting point for assistant-led Azure project work. It tells the assistant to inspect the existing manifest before choosing paths, services or an infrastructure provider, and to preserve coherent repository conventions. This makes its recommendations more specific than a generic deployment checklist.

Its guardrails address consequential mistakes: committing local environment state, exposing secrets through infrastructure outputs, changing the wrong environment and replacing an established infrastructure provider. These are written instructions, not demonstrated enforcement. Their effectiveness depends on the assistant and the surrounding review and execution controls.

Users

The intended users are application developers, platform engineers and deployment maintainers creating, reviewing, migrating or troubleshooting projects managed with Azure Developer CLI, usually abbreviated azd. Teams using either Bicep or Terraform receive provider-specific guidance.

Beginners can use the repository layout and example manifest to understand how application code connects to Azure infrastructure. They will still need familiarity with Azure accounts and permissions before performing deployments. Experienced developers are more likely to benefit from the environment-state distinctions, output contracts, hook rules and pipeline authentication caveats.

Capabilities

The instructions cover service definitions in azure.yaml, modular infrastructure, environment-specific parameters, deployment outputs, local and shared environments, secret references and application-to-infrastructure dependencies. They favor managed identities and narrowly scoped permissions over distributing service keys.

Operational guidance covers Windows and POSIX hooks, separate packaging and deployment phases, CI/CD configuration, troubleshooting and cleanup. Troubleshooting starts by identifying the failing phase and rerunning the smallest relevant operation. Cleanup guidance explicitly recognizes that deleting an environment can remove resources containing data.

Using it

Requirements

The package is intended for a coding assistant that supports loading skills and accessing the relevant repository. The supplied files do not specify a compatible assistant version, required AI model or complete minimum tool-version matrix.

Carrying out its documented operations requires Azure Developer CLI and the project's application toolchain. Bicep validation uses Azure CLI's Bicep tooling; Terraform validation requires Terraform. Cloud operations also require authentication and suitable permissions for the intended tenant, subscription and deployment scope.

The Terraform reference describes separate Azure CLI authentication and offers azd config set auth.useAzCliAuth true with az login as a single-sign-in configuration. That behavior is documented in the snapshot and was not independently verified.

Mechanism

SKILL.md directs the assistant to discover the repository, identify the requested task and read the relevant reference before editing. Project-layout questions lead to the structure reference; infrastructure and environment questions lead to the infrastructure reference; secrets and operations lead to the security reference.

The assistant is then guided through application modeling, infrastructure, environments, hooks, pipelines and applicable validation. Expected output includes changed files, provider and environment assumptions, performed checks and any cloud-changing commands left unrun. The package supplies this decision structure as text; it contains no demonstrated mechanism that guarantees compliance.

Setup

Keep SKILL.md, references and examples together so the package's relative references remain available. The supplied files do not provide an installation command or prescribe an assistant-specific installation directory. They link to GitHub Copilot's skill setup documentation at [https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-cloud-agent/add-skills].

For project use, begin by locating azure.yaml, its configured infrastructure path, application projects, deployment scripts, ignore rules and pipeline files. Determine the existing infrastructure provider before applying defaults. Establish an environment and cloud target when an environment-specific operation is needed.

Example

The included azure.yaml describes sample-app with Bicep infrastructure under ./infra and an entry module named main. It defines a TypeScript API under ./src/api hosted on App Service and a TypeScript web application under ./src/web hosted on Static Web Apps, with dist as its build-output directory.

A preprovision hook selects a PowerShell validation script on Windows and a shell script on POSIX systems. Both variants are noninteractive and configured to stop on errors. The referenced application code, infrastructure implementation and validation scripts are not included in the selected folder, so this manifest is an illustration rather than a complete deployable project. It was not executed.

Assessment & evidence

Limitations

This is an instruction package with an illustrative manifest. It does not include a complete application, infrastructure implementation, executable hook scripts or evidence of a successful deployment. No commands, assistant sessions or cloud operations were run, and there are no supplied benchmarks or security test results.

The infrastructure reference describes AZD Terraform support as beta. The operations reference describes azd pipeline config as beta and says the Terraform pipeline flow does not support OIDC. It also warns that pipeline configuration can affect repositories, identities, variables, secrets, commits and pipelines. These statements require current verification before operational reliance.

The infrastructure reference additionally says AZD environment secrets are not supported with .bicepparam files. Compatibility across tool versions, operating systems, hosting options and assistant products remains unassessed.

Reasoning

Several recommendations address concrete deployment dependencies. Stable service names support resource discovery, while stable infrastructure output names connect provisioning to later application and pipeline configuration. Reading azure.yaml first gives the assistant the project's actual provider, paths and service definitions.

The distinction between two kinds of remote state is particularly useful: AZD remote environments synchronize environment configuration, while Terraform remote state tracks managed infrastructure. A collaborating Terraform project may need both. The skill also limits hooks to lifecycle gaps, keeping ordinary infrastructure behavior in declarative configuration rather than accumulating deployment scripts.

Alternatives

For direct human reference, the package points to Microsoft Learn's Azure Developer CLI documentation [https://learn.microsoft.com/en-us/azure/developer/azure-developer-cli/] and manifest schema reference [https://learn.microsoft.com/en-us/azure/developer/azure-developer-cli/azd-schema]. These are more direct sources for checking a particular field or command than relying on remembered skill guidance. Their current contents were not supplied.

For infrastructure choices, the skill favors Bicep for Azure-only projects and Terraform where existing practices or cross-provider requirements justify it. It explicitly advises preserving an established provider. Comparative performance, costs and coverage were not assessed.

Evidence

The supplied snapshot contains the complete selected skill folder: SKILL.md, examples/azure.yaml and the four reference files covering structure, infrastructure and environments, security and operations, and official documentation. A repository-level LICENSE is included as a related notice.

The source revision is dc0083dbe22133bfa7ce3500dee85e187e0cd47a, captured at 2026-11-16T14:13:29.864Z. The revision-specific folder is [https://github.com/github/awesome-copilot/tree/dc0083dbe22133bfa7ce3500dee85e187e0cd47a/skills/azure-developer-cli]. This evidence establishes the package's written content, not its runtime effectiveness or the current behavior of linked products.

Access & freshness

Costs

The supplied files provide no purchase price, assistant subscription rate, model usage rate or Azure deployment estimate. The MIT license does not impose a license payment requirement, but it does not establish the cost of using an assistant or operating Azure services.

The example names hosting services without specifying pricing tiers, region, capacity or traffic. Costs for deployed resources, secret storage, shared state and pipeline execution are unknown. The documentation checklist asks reusable projects to explain their cost-bearing resources, but this package supplies no numerical estimate.

Rights

SKILL.md declares MIT licensing, and the repository license names GitHub, Inc. as the copyright holder. The license permits use, copying, modification, publication, distribution, sublicensing and sale, provided the copyright and permission notice accompany copies or substantial portions.

The material is supplied without warranty. Redistribution should retain the license notice and preserve the package layout so its references remain usable. The supplied license does not establish usage rights or service terms for Azure, a coding assistant or externally linked documentation.

Freshness

The official-reference index says its links were reviewed on 2026-08-05. The snapshot was captured on 2026-11-16; that capture date does not establish when the skill was last changed. No standalone skill release number is specified.

Beta status, Terraform authentication, pipeline OIDC support, secret parameter handling and manifest fields are time-sensitive. The skill itself directs users to current Microsoft documentation when these details are uncertain. Their current accuracy is unknown from the supplied files.

Actions

Begin with a repository review and confirm the manifest, infrastructure provider, service paths and environment assumptions before requesting changes. Check current Microsoft guidance for any beta feature or authentication behavior the project depends on.

For proposed changes, request the file diff and applicable application, infrastructure, hook and packaging checks. Documented examples include az bicep build, Terraform formatting and validation, azd hooks run and azd package; paths and commands must match the actual repository.

Before provisioning, deployment, pipeline configuration or deletion, confirm the tenant, subscription, region, environment and intended scope. Review pipeline permission changes and identify resources containing data before cleanup. These are recommended next steps, not completed checks or deployment results.

Evidence for this report

LICENSEnotice · checked 2026-11-16
skills/azure-developer-cli/SKILL.mdselected · checked 2026-11-16