azldev
できること
このスキルは、azldevの基本的な概念と、設定からディストリビューションをビルドするための一般的なコマンドを説明します。azldevのプロジェクトで作業し、正しいコマンドと設定が必要な開発者が対象です。
使う場面
- ✓azldev.tomlファイルがあるプロジェクトでazldevのコマンドを実行する必要があるとき。
- ✓azldevのコンポーネント、オーバーレイ、ディストリビューション、ロックの概念を理解したいとき。
- ✓スクリプトのために、azldevの機械が読み取れる出力が必要なとき。
スキルのリンク
https://github.com/microsoft/azurelinux/blob/4.0/.agents/skills/azldev/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
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.tomllives), 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.tomlincludes 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
.specafter 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 shellazldev component— Manage componentsazldev config— Manage tool configurationazldev docs— Documentation commandsazldev image— Manage Azure Linux imagesazldev package— Manage binary package configurationazldev project— Manage Azure Linux projectsazldev repo— Inspect and manage RPM repositoriesazldev 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-componentskill. - Edit or review a component's TOML — read the
azldev-comp-tomlskill. - Add or change overlays — read the
azldev-overlaysskill. - Annotate an overlay's intent (category, upstream status, provenance) — read the
azldev-overlay-metadataskill. - Build, iterate, and debug a component — read the
azldev-build-componentskill. - Build, boot, and register images — read the
azldev-imageskill. - Refresh a lock and finalize for a PR — read the
azldev-update-componentskill. - Remove a component — read the
azldev-remove-componentskill. - Test built RPMs in a chroot — read the
azldev-mockskill.
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 updatebefore 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
descriptionexplaining why the change is needed.
Generated by azldev docs agent; do not hand-edit.
よくある質問
azldevは何をビルドしますか?
TOML設定からLinuxディストリビューションをビルドします。上流のディストリビューションからspecを取り込み、オーバーレイでカスタマイズします。
出力を機械が読める形にできますか?
はい。スキルは、すべてのコマンドで使えるJSON出力フラグに触れています。
レンダリングされたspecを手で編集すべきですか?
いいえ。レンダリングされたspecはビルドの入力であり、手で編集すべきではないとスキルは述べています。
詳細
作者による元の説明
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
コメント
- …
このリポジトリの他のスキル
azldev-add-component
5.4kエージェントが、azldevのLinuxディストリビューションのビルドに新しいソフトウェアコンポーネントを追加し、上流のspec確認から結果の検証まで進められるよう支援します。
azldev-build-component
5.4kエージェントが、azldevのパッケージのビルドとデバッグを行えるよう支援します。render、build、テストの繰り返しと、失敗したビルドチェックの修正を含みます。
azldev-comp-toml
5.4kエージェントが、azldevで各パッケージのビルド方法を定めるコンポーネント定義ファイルを、作成、編集、確認できるよう支援します。
azldev-image
5.4kエージェントが、azldevのイメージコマンドを使い、コンテナや仮想マシンのLinuxイメージをビルド、起動、テストできるよう支援します。
似ているスキル
openclaw-update
394k既存のOpenClaw Gatewayを更新するようエージェントを支援します。インストール方法に合った更新方法を選び、セッションを動かし続けます。
diagnose-gateway
394k設定、チャンネル、ポートを確認して、OpenClaw Gatewayが失敗している理由を、何も変更せずに突き止めるようエージェントを支援します。
crabbox-apps
394k一時的なクラウドマシン上でアプリを開いて実行し、そのビューをチャットのサイドパネルに表示するようエージェントを支援します。