azldev-overlay-metadata
Qué hace
Esta skill explica cómo registrar por qué existe cada overlay, con una categoría, un estado upstream y enlaces. Es para desarrolladores que mantienen parches de paquetes en una distribución azldev.
Cuándo usarla
- ✓Cuando añades un overlay y necesitas documentar por qué existe.
- ✓Cuando revisas los metadatos de un overlay para comprobar que la categoría y el estado upstream son correctos.
- ✓Cuando varios overlays forman parte de un mismo cambio lógico y necesitan un registro compartido.
Link de la skill
https://github.com/microsoft/azurelinux/blob/4.0/.agents/skills/azldev-overlay-metadata/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Añadí tres overlays para quitar de nuestra compilación un arreglo de un CVE. ¿Puedes escribir los metadatos para documentarlos como un solo cambio?”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
El agente elige la categoría y el estado upstream obligatorios, añade enlaces de referencia y agrupa los overlays relacionados en un solo bloque de metadatos. Los metadatos solo son documentación y no cambian el paquete compilado.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
Overlay metadata — pick a category and annotate
Every overlay documents why it exists (description, required) and what class
of change it is (metadata). When a [metadata] block is present it requires both
a category and an upstream-status. This skill covers how to pick the right values,
attach provenance, and write the TOML at the moment you author or review an overlay.
Metadata is pure documentation — it never changes the rendered spec and is excluded
from component fingerprints, so adding or editing it never invalidates build caches or
locks. For overlay types and the render-and-inspect loop, read the azldev-overlays
skill; this skill is only about the metadata table.
One [metadata] block = one logical change
A single logical change (a CVE backport, a feature disablement, a Fedora cherry-pick)
may need several overlays — e.g. remove a sub-package and drop the configure flags
that went with it. The per-file overlay format (overlay-files) captures exactly this:
one top-level [metadata] table and one or more [[overlays]] entries it applies to.
Per-overlay metadata inside an overlay file is rejected — the file-level block is
the single source of truth.
So: if you find yourself stamping the same metadata on several inline overlays, that is
a signal they are one logical change — move them into a single overlay file with one
[metadata] block.
When to add metadata
- New overlay (any inline
[[components.<name>.overlays]]block or[[overlays]]entry in an overlay file): addmetadatawith both acategoryand anupstream-status. - An overlay's intent changed (e.g. a prune becomes a backport): update the
categoryandupstream-statusto match the new intent.
Step 1 — Pick the category
Choose exactly one category from this closed set (authoritative — matches
metadata.category in the schema):
category |
Use when the overlay… | Extra required/expected fields |
|---|---|---|
upstream-backport |
Backports a fix from an upstream source (Fedora dist-git or the component's OSS project) that AZL will inherit once it bumps past the fix. Self-resolves on version bump. | commits (≥1 upstream commit URL) — required. upstream-status must be upstreamed or upstreamable. |
azl-pruning |
Removes content for AZL: unshipped deps, unneeded features, sub-packages, or files. | — |
azl-compatibility |
Adapts a component to how Azure Linux is built and shipped — build tooling, buildroot, infrastructure, runtime ecosystem — when upstream builds/behaves incorrectly for AZL-specific reasons that are not branding, a missing dependency, architecture, or tests (e.g. azldev downloader quirks, rpmdiff reproducibility, buildroot gaps, Fedora version-skew). |
— |
azl-temp-workaround |
Temporary workaround explicitly intended to be dropped once an upstream or environmental fix lands. Covers a dependency not yet imported into AZL (or unavailable on a target) and any other transient workaround waiting on an external change. | — |
azl-branding-policy |
Fedora→Azure Linux identity differences: intentional name/path/vendor conventions and spec fixes for upstream code that hard-codes Fedora identity strings (e.g. _vendor=redhat, <cpu>-redhat-linux[-gnu] triples, redhat-linux-build dirs). Also covers repointing a Source/URL tag from a Fedora mirror to an Azure Linux one (e.g. azurelinux-rpm-config, golang). |
— |
azl-disable-flaky-tests |
Skips tests that fail intermittently / due to environmental flakiness, not a real component bug. | — |
azl-disable-unsupported-tests |
Skips tests that cannot meaningfully run in AZL's build/runtime env (need network, root, or unavailable hardware in mock). | — |
azl-security-compliance |
Makes FIPS or crypto-policy changes. | — |
azl-release-management |
Adjusts release-tag / changelog mechanics. | — |
azl-platform-adaptation |
Makes architecture-specific adjustments. | — |
Disambiguation tips
- Backport vs. compatibility/pruning: if the exact change exists as a commit in Fedora
dist-git or the upstream project, it is
upstream-backport(supplycommits, withupstream-statusofupstreamedorupstreamable). Use anazl-*category only when the change is AZL-specific with no upstream equivalent. - Pruning vs. temp-workaround: removing a dependency we deliberate
Preguntas frecuentes
¿Los metadatos cambian el paquete compilado?
No. La skill indica que los metadatos son documentación y quedan fuera de las cachés de compilación.
¿La categoría y el estado son obligatorios?
Sí. La skill indica que un bloque de metadatos debe incluir ambos.
¿Cada overlay puede tener sus propios metadatos?
No. La skill indica que los metadatos por overlay dentro de un archivo de overlay se rechazan, así que el bloque a nivel de archivo es la única fuente.
Detalles
Descripción original del autor
Read this before adding or reviewing an overlay `metadata` table; do not guess the category or upstream status from memory. Explains the overlay metadata schema that documents why an overlay exists and when it can be dropped, covering the required category and upstream-status values, commit/bug URL references, and the per-file overlay metadata block. Triggers include overlay metadata, category, upstream-status, upstream-backport, azl-pruning, azl-branding-policy, needs-upstream-hook, why overlay.
repo: microsoft/azurelinux
Popularidad
- Estrellas en GitHub
- 5,4 mil
- Posición en el ranking
- #14965
- Licencia
- MIT
- Actualizada
- 2/11/2026
Comentarios
- …
Más skills de este repositorio
azldev-add-component
5,4 milAyuda a tu agente a añadir un componente nuevo a una distribución Linux con azldev, desde revisar la especificación original hasta validar el resultado.
azldev-build-component
5,4 milAyuda a tu agente a compilar y depurar un paquete de azldev, con el ciclo de render, compilación y pruebas, y a corregir fallos en las comprobaciones.
azldev-comp-toml
5,4 milAyuda a tu agente a escribir, editar y revisar los archivos de definición de componentes que azldev usa para describir cómo se compila cada paquete.
azldev-image
5,4 milAyuda a tu agente a compilar, arrancar y probar una imagen de Linux, como una imagen de contenedor o de máquina virtual, con los comandos de imagen de azldev.
Skills parecidas
openclaw-update
394 milAyuda a tu agente a actualizar una Gateway de OpenClaw que ya existe, eligiendo el método de actualización que encaja con cómo se instaló y manteniendo tu sesión activa.
diagnose-gateway
394 milAyuda a tu agente a averiguar por qué falla tu Gateway de OpenClaw, revisando ajustes, canales y puertos sin cambiar nada.
crabbox-apps
394 milAyuda a tu agente a abrir y ejecutar una app en una máquina temporal en la nube y mostrar su vista en el panel lateral de tu chat.