azldev
What it does
This skill explains azldev's core concepts and common commands for building a distribution from configuration. It is for developers who work with azldev projects and need correct commands and settings.
When to use it
- βWhen you need to run azldev commands in a project that has an azldev.toml file.
- βWhen you want to understand components, overlays, distros and locks in azldev.
- βWhen you need machine-readable output from azldev for a script.
Skill link
https://github.com/microsoft/azurelinux/blob/4.0/.agents/skills/azldev/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βI just cloned an azldev distro repo. Can you explain the main commands and how to list and render a component?β
5 new skills a week. 1 minute to read.
How it works
The agent runs from the repository root, uses the quiet and JSON flags where needed, and follows the concepts of components, overlays and locks. It checks the exact commands before running them.
Technical content (original SKILL.md)
Original text by the author, straight from 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.
FAQ
What does azldev build?
It builds a Linux distribution from TOML config, importing specs from an upstream distro and customizing them with overlays.
Can output be machine-readable?
Yes. The skill mentions a JSON output flag that works on every command.
Should I edit rendered specs by hand?
No. The skill says rendered specs are build inputs and should not be hand-edited.
Details
Original description by the author
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
Popularity
- GitHub stars
- 5.4k
- Ranking position
- #14969
- License
- MIT
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
azldev-add-component
5.4kHelps your agent add a new software component to an azldev Linux distribution build, from inspecting the upstream spec to validating the result.
azldev-build-component
5.4kHelps your agent build and debug an azldev package, including the render, build and test loop and fixes for failing build checks.
azldev-comp-toml
5.4kHelps your agent write, edit and review the component definition files that azldev uses to describe how each package is built.
azldev-image
5.4kHelps your agent build, boot and test a Linux image, such as a container or virtual machine image, using the azldev image commands.
Similar skills
openclaw-update
394kHelps your agent update an existing OpenClaw Gateway, choosing the update method that fits how it was installed and keeping your session working.
diagnose-gateway
394kHelps your agent find out why your OpenClaw Gateway is failing by checking settings, channels, and ports without changing anything.
crabbox-apps
394kHelps your agent open and run an app on a temporary cloud machine, then show its view in your chat side panel.