Skip to content
Skillpedia
Deploy & cloud (DevOps)5.4k Β· #14969

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

Copy 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

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.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

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

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

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills