azldev
O que ela faz
Esta skill explica os conceitos centrais do azldev e os comandos mais usados para construir uma distribuição a partir de configurações. Ela é para desenvolvedores que trabalham com projetos azldev e precisam de comandos e configurações corretos.
Quando usar
- ✓Quando você precisa rodar comandos do azldev em um projeto que tem um arquivo azldev.toml.
- ✓Quando você quer entender componentes, overlays, distribuições e locks no azldev.
- ✓Quando você precisa de uma saída legível por máquina do azldev para um script.
Link da skill
https://github.com/microsoft/azurelinux/blob/4.0/.agents/skills/azldev/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Acabei de clonar um repositório de distro azldev. Você pode explicar os principais comandos e como listar e renderizar um componente?”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O agente roda a partir da raiz do repositório, usa as flags de saída silenciosa e JSON quando necessário e segue os conceitos de componentes, overlays e locks. Ele confere os comandos exatos antes de rodá-los.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do 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.
Perguntas frequentes
O que o azldev constrói?
Ele constrói uma distribuição Linux a partir de configurações TOML, importando especificações de uma distro upstream e personalizando-as com overlays.
A saída pode ser legível por máquina?
Sim. A skill menciona uma flag de saída JSON que funciona em todos os comandos.
Devo editar as especificações renderizadas à mão?
Não. A skill diz que as especificações renderizadas são entradas do build e não devem ser editadas manualmente.
Detalhes
Descrição original do autor
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
Popularidade
- Estrelas no GitHub
- 5,4 mil
- Posição no ranking
- #14969
- Licença
- MIT
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
azldev-add-component
5,4 milAjuda seu agente a adicionar um novo componente de software a um build de distribuição Linux com azldev, desde a inspeção da especificação upstream até a validação do resultado.
azldev-build-component
5,4 milAjuda seu agente a fazer o build e depurar um pacote azldev, incluindo o ciclo de render, build e teste e as correções de verificações de build que falham.
azldev-comp-toml
5,4 milAjuda seu agente a escrever, editar e revisar os arquivos de definição de componentes que o azldev usa para descrever como cada pacote é construído.
azldev-image
5,4 milAjuda seu agente a construir, iniciar e testar uma imagem Linux, como uma imagem de contêiner ou de máquina virtual, usando os comandos de imagem do azldev.
Skills parecidas
openclaw-update
394 milAjuda seu agente a atualizar um OpenClaw Gateway existente, escolhendo o método que combina com a instalação e mantendo sua sessão funcionando.
diagnose-gateway
394 milAjuda seu agente a descobrir por que seu OpenClaw Gateway está falhando, verificando configurações, canais e portas sem alterar nada.
crabbox-apps
394 milAjuda seu agente a abrir e executar um app em uma máquina temporária na nuvem e depois mostrar a visualização dele no painel lateral do seu chat.