Zum Inhalt springen
Skillpedia
Deployment & Cloud (DevOps)5.4k · #14969

azldev

Was er macht

Dieser Skill erklärt die Kernkonzepte und gängigen Befehle von azldev, um eine Distribution aus Konfigurationen zu bauen. Er ist für Entwickler gedacht, die mit azldev-Projekten arbeiten und korrekte Befehle und Einstellungen brauchen.

Wann du ihn nutzt

  • ✓Wenn du azldev-Befehle in einem Projekt mit einer azldev.toml-Datei ausführen musst.
  • ✓Wenn du Komponenten, Overlays, Distributionen und Locks in azldev verstehen willst.
  • ✓Wenn du maschinenlesbare Ausgaben von azldev für ein Skript brauchst.

Link zum Skill

https://github.com/microsoft/azurelinux/blob/4.0/.agents/skills/azldev/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/microsoft/azurelinux/blob/4.0/.agents/skills/azldev/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Ich habe gerade ein azldev-Distributions-Repo geklont. Kannst du die wichtigsten Befehle erklären und zeigen, wie man eine Komponente auflistet und rendert?”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Der Agent führt Befehle aus dem Wurzelverzeichnis des Repos aus, nutzt bei Bedarf die Flags für ruhige und JSON-Ausgabe und folgt den Konzepten Komponente, Overlay und Lock. Er prüft die genauen Befehle, bevor er sie ausführt.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von 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.

Häufige Fragen

Was baut azldev?

Es baut eine Linux-Distribution aus TOML-Konfiguration, importiert Spezifikationen aus einer Upstream-Distribution und passt sie mit Overlays an.

Kann die Ausgabe maschinenlesbar sein?

Ja. Der Skill nennt ein JSON-Ausgabeflag, das bei jedem Befehl funktioniert.

Soll man gerenderte Spezifikationen von Hand bearbeiten?

Nein. Der Skill sagt, gerenderte Spezifikationen sind Build-Eingaben und sollen nicht von Hand bearbeitet werden.

Details

Originalbeschreibung des Autors

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

Beliebtheit

GitHub-Sterne
5.4k
Platz im Ranking
#14969
Lizenz
MIT
Aktualisiert
2.11.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills