azldev
Fungsinya
Skill ini menjelaskan konsep inti azldev dan perintah umum untuk membangun distribusi dari konfigurasi. Skill ini untuk pengembang yang bekerja dengan proyek azldev dan memerlukan perintah serta pengaturan yang benar.
Kapan dipakai
- โSaat Anda perlu menjalankan perintah azldev dalam proyek yang memiliki file azldev.toml.
- โSaat Anda ingin memahami komponen, overlay, distribusi, dan lock di azldev.
- โSaat Anda memerlukan keluaran azldev yang bisa dibaca mesin untuk sebuah skrip.
Link skill
https://github.com/microsoft/azurelinux/blob/4.0/.agents/skills/azldev/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
โSaya baru saja mengkloning repositori distro azldev. Bisakah Anda menjelaskan perintah utama dan cara mendaftar serta merender sebuah komponen?โ
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent menjalankan perintah dari akar repositori, memakai flag quiet dan JSON jika diperlukan, dan mengikuti konsep komponen, overlay, dan lock. Agent memeriksa perintah yang tepat sebelum menjalankannya.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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.
Pertanyaan umum
Apa yang dibangun azldev?
Menurut skill ini, azldev membangun distribusi Linux dari konfigurasi TOML, mengimpor spec dari distro hulu, dan menyesuaikannya dengan overlay.
Bisakah keluarannya dibaca mesin?
Ya. Skill ini menyebut flag keluaran JSON yang berfungsi di setiap perintah.
Haruskah spec yang dirender diedit manual?
Tidak. Menurut skill ini, spec yang dirender adalah input build dan tidak boleh diedit manual.
Detail
Deskripsi asli dari pembuat
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
Popularitas
- Bintang GitHub
- 5.4k
- Peringkat
- #14969
- Lisensi
- MIT
- Diperbarui
- 2/11/2026
Komentar
- โฆ
Skill lain dari repositori ini
azldev-add-component
5.4kMembantu agent Anda menambahkan komponen perangkat lunak baru ke build distribusi Linux azldev, mulai dari memeriksa spec hulu hingga memvalidasi hasilnya.
azldev-build-component
5.4kMembantu agent Anda membangun dan men-debug paket azldev, termasuk siklus render, build, dan tes, serta perbaikan untuk pemeriksaan build yang gagal.
azldev-comp-toml
5.4kMembantu agent Anda menulis, mengedit, dan meninjau file definisi komponen yang dipakai azldev untuk menjelaskan cara setiap paket dibangun.
azldev-image
5.4kMembantu agent Anda membangun, menjalankan, dan menguji image Linux, seperti image container atau mesin virtual, dengan perintah image azldev.
Skill serupa
openclaw-update
394kMembantu agent Anda memperbarui OpenClaw Gateway yang sudah ada, dengan memilih metode pembaruan yang sesuai cara pemasangannya dan menjaga sesi Anda tetap berjalan.
diagnose-gateway
394kMembantu agent Anda mencari tahu mengapa OpenClaw Gateway gagal dengan memeriksa pengaturan, channel, dan port tanpa mengubah apa pun.
crabbox-apps
394kMembantu agent Anda membuka dan menjalankan aplikasi di mesin cloud sementara, lalu menampilkan tampilannya di panel samping chat Anda.