Read this before authoring, editing, or reviewing a *.comp.toml file; do not work from memory. Explains the azldev component definition format and review workflow, covering component structure, spec sources, build config, release calculation, render options, file organization, overlay hygiene, stale files, disabled tests, and testing verification. Triggers include comp.toml, component config, review component, component hygiene, spec source, upstream-distro, build defines, release calculation, includes.
npx skills add https://github.com/microsoft/azurelinux --skill azldev-comp-toml
*.comp.toml)A component definition tells azldev where a package's spec comes from and how to
customize it for your distro. Every component lives under [components.<name>].
Get the authoritative, always-current field list from the schema:
azldev config generate-schema
A bare entry inherits everything from your distro's defaults — most upstream packages
need nothing more:
[components.curl]
Add sub-tables only for what you change. The fields you will reach for most:
| Field | Purpose |
| --- | --- |
| spec | where the spec comes from (see below) |
| overlays / overlay-files | targeted spec/source edits (see the azldev-overlays skill) |
| build.defines / build.with / build.without | RPM macro and bcond build tweaks |
| release.calculation | how the Release tag is managed |
| render.skip-file-filter | rendering edge-case escape hatch |
The spec field selects where the spec is fetched from. When omitted, the component
inherits the distro default (normally an upstream import).
# Upstream import (the usual case) — inherits the distro's upstream version
[components.curl]
# Upstream, but pinned to a specific upstream distro/version
[components.curl]
spec = { type = "upstream", upstream-distro = { name = "fedora", version = "rawhide" } }
# Upstream package whose name differs from the component name
[components.mydistro-rpm-config]
spec = { type = "upstream", upstream-name = "redhat-rpm-config" }
# Local spec that lives in your repo (not imported from an upstream distro)
[components.mydistro-release]
spec = { type = "local", path = "mydistro-release.spec" }
[components.mypackage.build]
defines = { rhel = "11" } # override RPM macros
with = ["feature_x"] # enable %bcond_with conditionals
without = ["plugin_rhsm"] # disable %bcond_with conditionals
release.calculation controls the Release: tag. There are four modes:
auto (default) — auto-detect whether the spec uses %autorelease or a staticrelease and handle it accordingly. Correct for most packages.
autorelease — force %autorelease handling (use when auto-detection misreads aspec that wraps %autorelease in a conditional).
static — force static-integer handling and bump the integer on render (theinverse of autorelease).
manual — you own the Release: value. Use this only when render fails with a"non-standard Release tag" error. **A manual component is not bumped by the
render/commit/amend cycle, so increment its release yourself in the same change**
(see the azldev-update-component skill).
[components.mypackage.release]
calculation = "manual"
render.skip-file-filter = true keeps all source and patch files during render.
azldev normally prunes files not referenced by the rendered spec; set this only for
the rare spec whose Source/Patch filenames use macros the filter cannot expand.
file (e.g. [components.jq]).
<name>/<name>.comp.toml once it needsoverlays, build config, or a local spec. Rule of thumb: anything more than
[components.<name>] earns a dedicated file.
includes glob, for exampleincludes = ["**/*.comp.toml"].
Start with azldev comp list -p <name> -q -O json, then use
azldev comp query -p <name> -q -O json when the review needs parsed spec details.
For a change review, focus on the diff while checking enough surrounding context to
ensure it fits the component and repository conventions.
convention; its name matches upstream or sets spec.upstream-name; no stale or
orphaned component files remain.
needed, and local specs are used only when overlays cannot express the change.
over regex; scope unavoidable spec-search-replace expressions by section and, when
applicable, package, and use TOML literal strings. spec-search-replace cannot span
lines. Remove overlays that upstream has made unnecessary. See the azldev-overlays skill.
spec. If build.check.skip = true, require a specific build.check.skip_reason and
verify that fixing the tests is impractical; skipped %check is a last resort.
auto is the default. Force autorelease or static only whenauto-detection is wrong. Use manual only for a non-standard release tag, and verify
the component increments its release itself.
contains the intended changes without unrelated drift.
chroot. Organization, comment, or documentation-only metadata edits do not require a
rebuild when the resolved component inputs are unchanged.
Report findings by severity: errors for correctness or required-policy violations,
warnings for maintainability risks, and info for optional improvements. Prefer small,
actionable fixes over unrelated cleanup.
Add a TOML comment explaining *why* a non-obvious field is set (a version pin, a
workaround), and link the upstream commit or bug when the change is based on one. For
overlays, use the overlay metadata table instead (see the azldev-overlays skill).
Generated by azldev docs agent; do not hand-edit. Generated for azldev version v0.1.0.
Use when implementing any feature or bugfix, before writing implementation code
Use when implementing any feature or bugfix, before writing implementation code - write the test first, watch it fail, write minimal code to pass; ensures tests actually verify behavior by requiring failure first
Use when creating new skills, editing existing skills, or verifying skills work before deployment - applies TDD to process documentation by testing with subagents before writing, iterating until bulletproof against rationalization
Rules for writing and reviewing tests in the Remotion repository. Use whenever adding, editing, or reviewing tests, especially for Studio UI, rendering, CLI, server, media, and cross-package changes, to prefer complete integration workflows over narrow helper tests and implementation details.
> Translates a HuggingFace model into a prefill-only AutoDeploy custom model using reference custom ops, validates with hierarchical equivalence tests.
Translates a HuggingFace model into a prefill-only AutoDeploy custom model using reference custom ops, validates with hierarchical equivalence tests.
Generates Angular 17+ standalone components, configures advanced routing with lazy loading and guards, implements NgRx state management, applies RxJS patterns, and optimizes bundle performance. Use when building Angular 17+ applications with standalone components or signals, setting up NgRx stores, establishing RxJS reactive patterns, performance tuning, or writing Angular tests for enterprise apps.
Opinionated Rails conventions: rich models, concerns, CRUD-everything, state-as-records, minimal dependencies, Minitest with fixtures. Load this skill BEFORE any code-level thinking, not only before editing a file. It is required the moment a task touches Rails code in ANY way: designing or even just discussing a data model, schema, migration, entity, association, field, validation, class, or method name; writing, planning, reviewing, analyzing, testing, debugging, or refactoring; or proposing any model, table, column, route, or code snippet inline in chat. If you are about to name a model or sketch a column you are already in scope, even in an exploratory back-and-forth where no file is written yet. Do not let a \"we're just discussing\" framing defer it. Do NOT use for non-Rails backends, NestJS, or general architecture (use nestjs-modular-monolith or coding-guidelines).
Take microsoft/azldev-comp-toml from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.