Langsung ke konten
Skillpedia
Deploy & cloud (DevOps)5.4k ยท #14969

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.md

Salin 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

Gunakan skill ini untuk membantu saya: https://github.com/microsoft/azurelinux/blob/4.0/.agents/skills/azldev/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit โ†’

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.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.

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

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • โ€ฆ

Skill lain dari repositori ini

Skill serupa