skills/azure-developer-cli/SKILL.md
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.
npx skillsauth add williamlimasilva/.copilot azure-developer-cliInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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.
development
Anxiety-aware, evidence-driven collaboration for stalled or high-stakes work when a user says uncertainty, repeated setbacks, or lack of visible progress is causing significant anxiety or distress. Use immediately when explicitly invoked; when this fit is only inferred from the user's own account, ask permission before applying it. Preserve the user's ideal and turn grounded perspective-taking into persistent, bounded problem solving. Do not use to diagnose, provide therapy, manufacture certainty, or lower goals for reassurance.
development
Build, review, debug, package, and test Roslyn diagnostic analyzers, code fix providers, and incremental source generators. Use for DiagnosticAnalyzer, CodeFixProvider, IIncrementalGenerator, IOperation analysis, Microsoft.CodeAnalysis dependency pinning, Roslyn test harnesses, C#/VB tests, and analyzer NuGet packaging.
testing
Migrates a project that uses checked-in .designer.cs files behind .resx to using a source-generator instead
development
Polish any GitHub repository's surface — labels (emoji rating tiers, P0–P3 priority, impact severity), issue forms, PR template, CI workflows, CODEOWNERS, rulesets, docs. Repo meta & config only — no code logic touched. Use when creating a new repo or polishing an existing one.