Design, create, review, migrate, or troubleshoot Azure Developer CLI (azd) projects using Bicep, Terraform, and azure.yaml configurations.
- Estrellas en GitHub
- 41.038
- Archivos
- 6
- Último commit
- 11 nov 2026
- Licencia
- MIT
- Herramientas permitidas
- —
¿Qué hace la skill azure-developer-cli?
azure-developer-cli es una agent skill. Design, create, review, migrate, or troubleshoot Azure Developer CLI (azd) projects using Bicep, Terraform, and azure.yaml configurations.
Resumen generado a partir del SKILL.md de la skill.
Sobre la skill azure-developer-cli
Designing, creating, and troubleshooting Azure Developer CLI projects is what this skill enables for developers working with Microsoft cloud infrastructure. It assists in managing azd projects by interacting with azure.yaml manifests, Bicep templates, and Terraform configurations. An agent should load this skill when a user needs to migrate infrastructure, review deployment workflows, or configure environment-specific secrets and hooks.
The skill focuses on maintaining secure and environment-aware projects by following specific repository conventions. It relies on tools like azd up, azd provision, and azd deploy to manage the lifecycle of services. It emphasizes safety by preventing the commitment of credentials or local state files and encourages the use of managed identities and Key Vault references. Users can utilize it to model application services, organize infrastructure modules, and build deliberate CI/CD pipelines using workload identity federation.
Lo que un agente puede hacer con ella
- 1Configure project manifestsDefine service entries and mapping for independently deployable components within an azure.yaml file.
- 2Manage environment secretsSet sensitive values for specific environments using secure command-line methods instead of editing files directly.
- 3Implement infrastructure as codeOrganize Bicep or Terraform files into reusable modules with a central orchestration entry point.
- 4Automate deployment lifecyclesCreate idempotent scripts for project-wide or service-specific hooks to fill lifecycle gaps.
Escrito a partir del SKILL.md de la skill. Cada caso de uso se verifica con una cita del mismo.
Cómo instalar la skill azure-developer-cli
Cada comando copia la carpeta de la skill al directorio de skills del cliente. Reinicia el cliente o inicia una nueva sesión para cargarla.Instalar la skill azure-developer-cli en Claude Code
~/.claude/skills/azure-developer-cli/SKILL.md
$ npx degit github/awesome-copilot/skills/azure-developer-cli ~/.claude/skills/azure-developer-cliInstalar la skill azure-developer-cli en Claude Code (project)
.claude/skills/azure-developer-cli/SKILL.md
$ npx degit github/awesome-copilot/skills/azure-developer-cli .claude/skills/azure-developer-cliInstalar la skill azure-developer-cli en Codex
~/.agents/skills/azure-developer-cli/SKILL.md
$ npx degit github/awesome-copilot/skills/azure-developer-cli ~/.agents/skills/azure-developer-cliInstalar la skill azure-developer-cli en Gemini CLI
~/.gemini/skills/azure-developer-cli/SKILL.md
$ npx degit github/awesome-copilot/skills/azure-developer-cli ~/.gemini/skills/azure-developer-cliInstalar la skill azure-developer-cli en Claude.ai
npx degit github/awesome-copilot/skills/azure-developer-cli azure-developer-cli && zip -r azure-developer-cli.zip azure-developer-cli # claude.ai → Customize → Skills → + → Create skill → Upload a skill → azure-developer-cli.zip
Verificaciones automáticas
Ejecutado 15 nov 2026Informe completo →Superó nuestras comprobaciones automáticas. No es una auditoría de seguridad: lee los scripts antes de dejar que un agente los ejecute. Cómo funcionan las verificaciones
- Repositorio de origen vinculado y accesiblegithub/awesome-copilot/skills/azure-developer-cli is public and reachablegithub.com/github/awesome-copilot/tree/HEAD/skills/azure-dev ↗Aprobado
- Licencia de código abierto (OSI)MITspdx.org/licenses/MIT.html ↗Aprobado
- Commit o lanzamiento en el último añoLast commit 2026-11-11github.com/github/awesome-copilot/commits ↗Aprobado
- Sin descargar y ejecutar ni robo de credenciales en los scriptsNo scripts in the skill folderAprobado
- Sin instrucciones ocultas en SKILL.mdNo override phrases, safeguard switches, credential requests or hidden charactersgithub.com/github/awesome-copilot/blob/HEAD/skills/azure-dev ↗Aprobado
- Las herramientas preaprobadas están acotadasNo pre-approved tools; the agent asks before using onegithub.com/github/awesome-copilot/blob/HEAD/skills/azure-dev ↗Aprobado
- SKILL.md sigue el formato de Agent SkillsValid name and description; says when to use it; 135 linesgithub.com/github/awesome-copilot/blob/HEAD/skills/azure-dev ↗Aprobado
SKILL.md
Ver en GitHubAzure Developer CLI best practices
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.
Start with repository discovery
Before editing:
- Find
azure.yaml, the configuredinfra.path, source projects, deployment scripts,.gitignore, and pipeline definitions. - Read
azure.yamlbefore inferring services or the IaC provider. - Identify whether the task is to create, migrate, review, deploy, or troubleshoot.
- Identify the active environment only when an environment-specific operation is required.
- Read the relevant reference:
- Repository layout or
azure.yaml: references/project-structure.md - Bicep, Terraform, parameters, outputs, or environments: references/iac-and-environments.md
- Secrets, hooks, CI/CD, deployment, or troubleshooting: references/security-cicd-operations.md
- Product details that may have changed: references/official-docs.md
- Repository layout or
Do not assume the default infra path, the default Bicep provider, or a single service when azure.yaml says otherwise.
Apply safety guardrails
- Never commit
.azure, environment.envfiles, credentials, deployment outputs containing secrets, local Terraform state, or generated deployment artifacts. - Never put literal secrets in
azure.yaml, IaC parameter files, hooks, source control, command arguments that will be logged, or IaC outputs. - Prefer managed identities and RBAC. Use Key Vault references and
azd env set-secretwhen a secret is unavoidable. - Before a command that can create, modify, or delete Azure resources, confirm the target environment, subscription, tenant, region, and expected scope.
- Treat an explicit user request to deploy, provision, destroy, or configure a pipeline as approval for that named action. Otherwise, ask before running
azd up,azd provision,azd deploy,azd down, orazd pipeline config. - Do not replace Bicep with Terraform, Terraform with Bicep, or an established hosting service unless the user requests that architectural change.
- Preserve resources and state owned outside the current
azdproject.
Use these defaults
| 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 |
Implementation workflow
1. Model the application
- Define one
servicesentry for each independently deployable component. - Keep service keys stable because they participate in resource discovery and deployment.
- Map each service to its actual
project,language, andhost. - Keep shared infrastructure in IaC rather than inventing a fake deployable service.
- Declare dependencies with supported
azure.yamlfields instead of relying on file order.
2. Model infrastructure
- Keep
main.bicepormain.tfas the orchestration entry point. - Split reusable or independently understandable infrastructure into modules.
- Parameterize environment-specific values; do not fork the IaC tree per environment.
- Output only stable, nonsecret values required by deployment or application configuration.
- Use deterministic naming and consistent tags that include the project and environment.
- Add role assignments to identities rather than distributing service keys.
- Use infrastructure layers only when separate scopes or lifecycle dependencies justify them.
3. Model environments
- Use predictable names such as
<project>-devfor shared environments and<alias>-devfor personal environments. - Use
azd env set,azd env unset, andazd env set-secretrather than editing.envdirectly. - Use
-eor--environmentin scripts and automation so the target is explicit. - Use
azd env refreshto synchronize deployment outputs after another actor changes an environment. - Configure AZD remote state when a team shares environment state.
4. Add hooks only for lifecycle gaps
- Prefer declarative IaC and native service configuration over hooks.
- Use root hooks for project-wide behavior and service hooks for service-specific behavior.
- Keep nontrivial hook logic in versioned scripts under
scripts/azd. - Set
shellexplicitly. Providewindowsandposixvariants when necessary. - Make hooks idempotent, noninteractive in CI, and fail on errors unless failure is intentionally nonblocking.
- Test a hook independently with
azd hooks run <hook-name>.
5. Build CI/CD deliberately
- Keep the pipeline definition with the template and review generated changes from
azd pipeline config. - Use short-lived federated credentials where the provider supports them.
- Run tests and IaC validation before provisioning.
- Use explicit environments and
--no-promptin automation. - Add protected production environments and approval gates.
- For Terraform, configure protected remote state before pipeline setup and account for current AZD authentication limitations.
Validate before finishing
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.yamlpaths exist and service settings match the source projects.- The IaC entry point and provider agree with
azure.yaml. - Required deployment outputs match the variables consumed by services, hooks, and pipelines.
.gitignoreexcludes.azure, secrets, local state, and generated artifacts.- No secret appears in tracked content or command output.
- Documentation explains prerequisites, environment creation, deployment, verification, and cleanup.
Report the result
State:
- The files and behavior changed.
- The IaC provider and environment assumptions.
- The checks performed.
- Any cloud-changing command deliberately not run.
- Any beta or preview feature the solution relies on.
Do not claim deployment success unless the target environment was actually deployed and verified.
Archivos de esta skill
6Preguntas sobre la skill azure-developer-cli
¿Cómo instalo la skill azure-developer-cli en Claude Code?
Ejecuta npx degit github/awesome-copilot/skills/azure-developer-cli ~/.claude/skills/azure-developer-cli. Claude Code carga las skills desde ~/.claude/skills (todos los proyectos) o .claude/skills (un proyecto) y usa una skill cuando su descripción coincide con la tarea.
¿Qué clientes pueden usar la skill azure-developer-cli?
Cualquier cliente que lea el formato Agent Skills: Claude Code, Codex, Gemini CLI y claude.ai (subir como ZIP). Los scripts de la skill se ejecutan solo donde el cliente permite la ejecución de código.
How should I manage secrets in an azd project?
Prefer managed identities and RBAC. Use Key Vault references and the 'azd env set-secret' command when a secret is unavoidable.
What is the preferred IaC provider for azd projects?
Bicep is the preferred default unless the repository or the user specifically chooses Terraform.
What files should be excluded from source control?
You should never commit .azure, environment .env files, credentials, deployment outputs containing secrets, local Terraform state, or generated deployment artifacts.