본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)40k · #7081

azure-developer-cli

하는 일

이 도구는 Azure 클라우드용 프로젝트를 만들고 관리하는 데 도움을 줍니다. Microsoft의 모범 사례를 따라 프로젝트가 체계적이고, 안전하며, 사용하기 쉽도록 합니다.

사용하는 경우

  • ✓Azure에서 새 프로젝트를 시작할 때.
  • ✓기존 프로젝트를 정리하거나 개선하고 싶을 때.
  • ✓자동 배포(CI/CD)를 설정해야 할 때.

스킬 링크

https://github.com/github/awesome-copilot/blob/main/skills/azure-developer-cli/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/github/awesome-copilot/blob/main/skills/azure-developer-cli/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“Azure에서 안전하고 배포하기 쉽도록 내 프로젝트를 어떻게 구성할 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

도구는 프로젝트를 분석하고 ‘azure.yaml’ 같은 중요한 파일과 인프라 스크립트를 확인합니다. 그다음 구성과 보안에 대한 모범 사례를 제안하거나 적용합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Azure 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:

  1. Find azure.yaml, the configured infra.path, source projects, deployment scripts, .gitignore, and pipeline definitions.
  2. Read azure.yaml before inferring services or the IaC provider.
  3. Identify whether the task is to create, migrate, review, deploy, or troubleshoot.
  4. Identify the active environment only when an environment-specific operation is required.
  5. Read the relevant reference:

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 .env files, 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-secret when 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, or azd 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 azd project.

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 services entry 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, and host.
  • Keep shared infrastructure in IaC rather than inventing a fake deployable service.
  • Declare dependencies with supported azure.yaml fields instead of relying on file order.

2. Model infrastructure

  • Keep main.bicep or main.tf as 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

…

자주 묻는 질문

‘azure.yaml’이란 무엇인가요?

Azure 프로젝트를 설명하는 기본 구성 파일입니다. 프로젝트에 포함된 서비스와 그 연결 방식을 담고 있습니다.

‘훅(hooks)’이란 무엇인가요?

배포 전이나 후처럼 프로젝트 수명 주기 동안 특정 작업을 수행하는 작은 스크립트입니다.

도구는 비밀 정보(비밀번호, 키)를 어떻게 처리하나요?

관리 ID와 Azure Key Vault 같은 안전한 방법을 우선 사용하며, 구성 파일이나 코드에 비밀 정보가 노출되지 않도록 합니다.

상세 정보

작성자의 원본 설명

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.

repo: github/awesome-copilot

인기도

GitHub 스타
40k
순위
#7081
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬