Design, create, review, migrate, or troubleshoot Azure Developer CLI (azd) projects using current Microsoft guidance. Use for azd, azure.yaml, AZD templates, Bicep or Terraform under infra, AZD environments and secrets, hooks, deployment workflows, and azd-managed CI/CD.
Use this skill to produce maintainable, secure, environment-aware azd projects. Prefer repository conventions when they are already coherent, and make the smallest complete change that improves the project.
Before editing:
azure.yaml, the configured infra.path, source projects, deployment scripts, .gitignore, and pipeline definitions.azure.yaml before inferring services or the IaC provider.azure.yaml: references/project-structure.mdDo not assume the default infra path, the default Bicep provider, or a single service when azure.yaml says otherwise.
.azure, environment .env files, credentials, deployment outputs containing secrets, local Terraform state, or generated deployment artifacts.azure.yaml, IaC parameter files, hooks, source control, command arguments that will be logged, or IaC outputs.azd env set-secret when a secret is unavoidable.azd up, azd provision, azd deploy, azd down, or azd pipeline config.azd project.| Concern | Preferred default |
| --- | --- |
| Project manifest | One azure.yaml at the repository root |
| Application code | src/<service-name> per independently deployable service |
| Infrastructure | infra with a thin entry point and reusable modules |
| IaC provider | Bicep unless the repository or user chooses Terraform |
| Deployment environments | Separate named environments for dev, test, staging, and production |
| Local AZD state | .azure/<environment-name> and excluded from source control |
| Shared environment state | AZD remote environments backed by Azure Blob Storage |
| Secrets | Managed identity/RBAC first, then Key Vault references |
| Automation scripts | Short, idempotent scripts under scripts/azd |
| CI authentication | Workload identity federation/OIDC where supported |
| Routine development | azd up for simple workflows; separate phases for controlled workflows |
services entry for each independently deployable component.project, language, and host.azure.yaml fields instead of relying on file order.main.bicep or main.tf as the orchestration entry point.<project>-dev for shared environments and <alias>-dev for personal environments.azd env set, azd env unset, and azd env set-secret rather than editing .env directly.-e or --environment in scripts and automation so the target is explicit.azd env refresh to synchronize deployment outputs after another actor changes an environment.scripts/azd.shell explicitly. Provide windows and posix variants when necessary.azd hooks run <hook-name>.azd pipeline config.--no-prompt in automation.Run only checks applicable to the repository:
Application: existing formatter, linter, type-check, build, and tests
Bicep: az bicep build --file infra/main.bicep
Terraform: terraform fmt -check -recursive
terraform init -backend=false
terraform validate
AZD hooks: azd hooks run <hook-name>
Packaging: azd package
For a Bicep what-if or Terraform plan, choose the correct deployment scope and environment. These checks can authenticate to Azure or read remote state, so follow the safety guardrails.
Verify that:
azure.yaml paths exist and service settings match the source projects.azure.yaml..gitignore excludes .azure, secrets, local state, and generated artifacts.State:
Do not claim deployment success unless the target environment was actually deployed and verified.
Copy a source-pinned command for your client. You run it yourself.
Destination: .claude/skills/azure-developer-cli · pinned to the source commit
# Run from your project root
git clone https://github.com/github/awesome-copilot.git .skillboard-tmp
git -C .skillboard-tmp checkout f11a4e441c5ff061b4f8ae37952be8c602e4034e
mkdir -p ".claude/skills"
cp -r ".skillboard-tmp/skills/azure-developer-cli" ".claude/skills/"
rm -rf .skillboard-tmpReview the source before running. This copies files into your project; it is not a one-click install and does not verify runtime safety.
sudo apt update && sudo apt install -y gitnpm install -g @anthropic-ai/claude-code# Run from your project root
git clone https://github.com/github/awesome-copilot.git .skillboard-tmp
git -C .skillboard-tmp checkout f11a4e441c5ff061b4f8ae37952be8c602e4034e
mkdir -p ".claude/skills"
cp -r ".skillboard-tmp/skills/azure-developer-cli" ".claude/skills/"
rm -rf .skillboard-tmpDestination: .claude/skills/azure-developer-cli
Scanner static-checks@0.1.0 · commit f11a4e441c5f. Static checks cannot prove runtime safety – review the source and the exact diff before installing. How checks work.
References credentials, tokens or secret files that a skill should not need.
Evidence: [redacted]· fingerprint e9cbb0224c4a3d23