azldev-overlay-metadata
하는 일
이 스킬은 각 오버레이가 왜 존재하는지 분류, 상위 상태, 링크와 함께 기록하는 방법을 설명합니다. azldev 배포판 패키지에 대한 패치를 관리하는 개발자를 위한 것입니다.
사용하는 경우
- ✓오버레이를 추가하고 그 이유를 문서로 남겨야 할 때.
- ✓오버레이 메타데이터에 맞는 분류와 상위 상태가 있는지 검토할 때.
- ✓여러 오버레이가 하나의 논리적 변경에 속해 공유 기록이 필요한 경우.
스킬 링크
https://github.com/microsoft/azurelinux/blob/4.0/.agents/skills/azldev-overlay-metadata/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“CVE 수정을 빌드에서 제거하기 위해 오버레이 세 개를 추가했습니다. 하나의 변경으로 문서화되도록 메타데이터를 작성해 주실 수 있나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 필수 분류와 상위 상태를 고르고, 참고 링크를 추가하며, 관련 오버레이를 하나의 메타데이터 블록으로 묶습니다. 메타데이터는 문서일 뿐이어서 빌드된 패키지를 바꾸지 않습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 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
자주 묻는 질문
메타데이터가 빌드된 패키지를 바꾸나요?
아닙니다. 스킬은 메타데이터가 문서이며 빌드 캐시에서 제외된다고 설명합니다.
분류와 상태는 필수인가요?
네. 스킬은 메타데이터 블록에 분류와 상위 상태가 모두 있어야 한다고 설명합니다.
각 오버레이가 자체 메타데이터를 가질 수 있나요?
아닙니다. 스킬은 오버레이 파일 안의 오버레이별 메타데이터는 거부되므로, 파일 수준의 블록이 유일한 출처라고 설명합니다.
상세 정보
작성자의 원본 설명
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
인기도
- GitHub 스타
- 5.4k
- 순위
- #14965
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
azldev-add-component
5.4k에이전트가 azldev 배포판 빌드에 새 패키지를 추가하고 결과를 검증하도록 돕습니다.
azldev-build-component
5.4k에이전트가 azldev 패키지를 빌드하고, 실패한 빌드 검사를 고치도록 돕습니다.
azldev-comp-toml
5.4k에이전트가 azldev가 패키지 빌드 방식을 설명하는 구성 요소 정의 파일을 작성, 편집, 검토하도록 돕습니다.
azldev-image
5.4k에이전트가 azldev 이미지 명령을 사용해 컨테이너나 가상 머신 같은 Linux 이미지를 빌드하고, 부팅하고, 테스트하도록 돕습니다.
비슷한 스킬
openclaw-update
394k에이전트가 설치 방식에 맞는 방법을 골라 기존 OpenClaw Gateway를 업데이트하고, 세션이 계속 작동하도록 돕습니다.
diagnose-gateway
394k에이전트가 설정, 채널, 포트를 확인해 OpenClaw Gateway가 왜 실패하는지 찾되, 아무것도 바꾸지 않도록 돕습니다.
crabbox-apps
394k에이전트가 임시 클라우드 머신에서 앱을 열고 실행한 뒤, 그 화면을 채팅의 측면 패널에 보여 주도록 돕습니다.