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

azldev

하는 일

이 스킬은 설정에서 배포판을 빌드하기 위한 azldev의 핵심 개념과 자주 쓰는 명령을 설명합니다. azldev 프로젝트를 다루며 정확한 명령과 설정이 필요한 개발자를 위한 것입니다.

사용하는 경우

  • ✓azldev.toml 파일이 있는 프로젝트에서 azldev 명령을 실행해야 할 때.
  • ✓구성 요소, 오버레이, 배포판, 잠금 개념을 이해하고 싶을 때.
  • ✓스크립트에서 쓸 수 있는 기계가 읽을 수 있는 azldev 출력이 필요한 경우.

스킬 링크

https://github.com/microsoft/azurelinux/blob/4.0/.agents/skills/azldev/SKILL.md

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

사용 방법

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

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

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

AI에게 요청하는 예시

“azldev 배포판 저장소를 방금 복제했습니다. 주요 명령을 설명하고, 구성 요소를 목록으로 보고 렌더링하는 방법을 알려 주실 수 있나요?”

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

작동 방식

에이전트는 저장소 루트에서 실행하며, 필요한 곳에서 조용한 모드와 JSON 플래그를 씁니다. 구성 요소, 오버레이, 잠금의 개념을 따르고 명령을 실행하기 전에 정확히 확인합니다.

기술 내용 (원본 SKILL.md)

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

Using azldev

azldev builds a Linux distribution from TOML configuration. It imports RPM specs from an upstream distro and customizes them with an overlay system — no spec forking. Components render to specs and sidecar build inputs, then build into RPMs; images assemble RPMs into bootable artifacts.

Orient yourself

  • Run azldev from the repo root (where azldev.toml lives), or pass -C <dir>.
  • Global, agent-friendly flags: -q (quiet) and -O json (machine-readable output). They work on every command.
  • Config is a stitched TOML hierarchy: azldev.toml includes the distro and project config, which include the component files (**/*.comp.toml) into one namespace.

Core concepts

  • Component — a unit of packaging that renders to a spec and sidecar build inputs, then builds into one or more RPMs. Its spec source is upstream (default), a pinned upstream distro/version, or a local spec.
  • Overlay — a semantic patch applied to a spec or source file at render time, so you customize upstream without forking it.
  • Distro — a named build target (*.distro.toml) with upstream URIs, release versions, and build inputs.
  • Rendered spec — the generated .spec after overlays; a build input, never hand-edited.
  • Lock — a per-component file pinning the resolved upstream commit and an input fingerprint.

Common commands

Top-level commands in this build:

  • azldev completion — Generate the autocompletion script for the specified shell
  • azldev component — Manage components
  • azldev config — Manage tool configuration
  • azldev docs — Documentation commands
  • azldev image — Manage Azure Linux images
  • azldev package — Manage binary package configuration
  • azldev project — Manage Azure Linux projects
  • azldev repo — Inspect and manage RPM repositories
  • azldev version — Print the CLI version

Everyday tasks (add -q -O json when scripting):

Task Command
List components azldev comp list -a
Inspect one component azldev comp list -p <name>
Add a component azldev comp add
Build a component azldev comp build -p <name>
Render specs azldev comp render -p <name> (or -a)
Refresh a lock azldev comp update -p <name>
List / build images azldev image list / azldev image build

comp is an alias for component. Always confirm current syntax with azldev <command> --help.

The hidden advanced group (adv) contains specialist integrations such as MCP and mock helpers; it is intentionally omitted from normal help.

Where to go next

  • Add a new component — read the azldev-add-component skill.
  • Edit or review a component's TOML — read the azldev-comp-toml skill.
  • Add or change overlays — read the azldev-overlays skill.
  • Annotate an overlay's intent (category, upstream status, provenance) — read the azldev-overlay-metadata skill.
  • Build, iterate, and debug a component — read the azldev-build-component skill.
  • Build, boot, and register images — read the azldev-image skill.
  • Refresh a lock and finalize for a PR — read the azldev-update-component skill.
  • Remove a component — read the azldev-remove-component skill.
  • Test built RPMs in a chroot — read the azldev-mock skill.

Golden rules

  • Never edit generated output — rendered specs and the output/work/log dirs are produced by azldev. Change the source config and re-render.
  • Re-run azldev comp update before opening a PR — the lock fingerprint covers the whole component config, and lock / rendered-spec CI checks run on committed state.
  • Every overlay needs a description explaining why the change is needed.

Generated by azldev docs agent; do not hand-edit.

자주 묻는 질문

azldev는 무엇을 빌드하나요?

상위 배포판에서 스펙을 가져와 오버레이로 사용자 지정하는 방식으로, TOML 설정에서 Linux 배포판을 빌드합니다.

출력을 기계가 읽을 수 있나요?

네. 스킬은 모든 명령에서 작동하는 JSON 출력 플래그가 있다고 언급합니다.

렌더링된 스펙을 직접 편집해도 되나요?

아닙니다. 스킬에 따르면 렌더링된 스펙은 빌드 입력이므로 손으로 편집하면 안 됩니다.

상세 정보

작성자의 원본 설명

Read this before running azldev or editing azldev config, and whenever working in a repo that contains an azldev.toml file; do not guess azldev's commands or config. Explains how to use the azldev CLI to build a distro from TOML config, including the core concepts (components, overlays, distros, rendered specs, locks), running azldev (repo root or -C, plus the -q and -O json flags), the common commands, and where to go for each workflow. Triggers include azldev, comp build, comp render, comp update, build a component, add a component, distro config.

repo: microsoft/azurelinux

인기도

GitHub 스타
5.4k
순위
#14969
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬