azldev-image
Что он делает
Этот скилл объясняет, как собирать и тестировать системные образы с помощью azldev по определениям KIWI. Он нужен разработчикам, которые создают образы контейнеров или виртуальных машин в дистрибутиве azldev.
Когда использовать
- ✓Когда нужно собрать образ контейнера или виртуальной машины из собранных пакетов.
- ✓Когда вы хотите загрузить готовый образ в тестовую виртуальную машину.
- ✓Когда нужно зарегистрировать образ или изменить его настройки в конфигурации.
Ссылка на скилл
https://github.com/microsoft/azurelinux/blob/4.0/.agents/skills/azldev-image/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Собери образ container-base в моём проекте azldev и запусти его в тестовой виртуальной машине.”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Агент использует команды списка, сборки, загрузки и тестирования образов, а образ описан в конфигурации. Перед запуском он проверяет флаги установленной версии инструмента.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с GitHub.
Build and boot images
An image assembles built RPMs into a deliverable — a container or a bootable VM.
azldev drives the build from a kiwi-ng definition; the .kiwi file itself is
upstream KIWI NG (docs) and azldev does not
own its schema.
Commands
Images are selected by their name as a positional argument (not -p).
| Task | Command |
|---|---|
| List images | azldev image list |
| Build an image (kiwi-ng) | azldev image build <name> |
| Boot an image in a QEMU VM | azldev image boot <name> |
| Run an image's tests | azldev image test <name> |
| Customize a pre-built image | azldev image customize |
azldev image build takes --local-repo / --remote-repo to add package sources and
--arch to target an architecture. When the selected distro version defines
kiwi-config-override, azldev passes it to KIWI with --config. These top-level
overrides have highest precedence. azldev image boot takes a built image name, or an
explicit --image-path / --iso. Confirm current flags with
azldev image <command> --help (there are more subcommands, e.g. inject-files).
Registering an image
Images are declared under [images.<name>] (conventionally in an images.toml):
[images.container-base]
description = "Container base image"
definition = { type = "kiwi", path = "container-base/container-base.kiwi", profile = "core" }
architectures = ["x86_64", "aarch64"]
[images.container-base.capabilities]
container = true
systemd = false
[images.container-base.properties]
openssl-fips-provider = "upstream"
[images.container-base.tests]
tests = [{ name = "smoke" }]
definition.typeiskiwi(the only type today);pathpoints at the.kiwifile;profileselects a kiwi profile (optional).- Boolean
capabilitiesare tri-state flags describing the image —machine-bootable,container,systemd,runtime-package-management,wsl,installer-media,fips-enabled, andcvm. Set only the ones that apply. propertiesis an extensible string-to-string metadata bag. For example,openssl-fips-provider = "upstream"records the image's provider policy without requiring azldev to define that property in its schema.architectures = ["x86_64", "aarch64"]is optional; when unset or empty, the image is treated as unrestricted (all recognized architectures). Set it to restrict which architecturesimage build --archallows for the image.tests.testslists the tests or test groupsazldev image testruns locally. An image ref may also setsku-groups = ["<name>", ...]to fan a test or group out across the VM sizes of one or more[sku-groups.<name>]entries; that fan-out is done by external test orchestration, not by localazldev image test. Do not mapsku-groupsonto arbitrary LISA tests: LISA tests carry their own requirements and are skipped when the SKU does not meet them, so this is meaningful only for the special case of multi-SKU performance tests.publish.channelslists the channels the image publishes to.
The kiwi definition
The .kiwi file is upstream KIWI NG XML — azldev does not own its schema. It selects the
image type (container vs. VM), package lists, repositories, and boot configuration. See
the KIWI NG documentation for the format and elements.
Generated by azldev docs agent; do not hand-edit.
Частые вопросы
В каком формате описывается образ?
Образы описываются файлами определений KIWI NG, исходного формата, из которого инструмент собирает образ.
Можно ли загрузить образ без пересборки?
Да. Скилл говорит, что можно загрузить уже собранный образ по имени или явно указанный файл образа.
Где регистрируется образ?
Образы объявляются в конфигурации проекта в разделе images, обычно в файле images.
Подробности
Оригинальное описание автора
Read this before building, booting, or configuring an azldev image. Explains the azldev image commands (list, build, boot, test, customize) and the [images.<name>] config (kiwi definition, capabilities, tests, publish); the kiwi XML format itself is upstream KIWI NG. Triggers include image build, image boot, kiwi, container image, VM image, images.toml.
repo: microsoft/azurelinux
Популярность
- Звёзды на GitHub
- 5.4k
- Место в рейтинге
- #14963
- Лицензия
- MIT
- Обновлён
- 02.11.2026
Комментарии
- …
Другие скиллы из этого репозитория
azldev-add-component
5.4kПомогает агенту добавить новый программный компонент в сборку дистрибутива Linux azldev, от изучения исходной спецификации до проверки результата.
azldev-build-component
5.4kПомогает агенту собрать и отладить пакет azldev, включая цикл render, build и test и исправление ошибок проверок сборки.
azldev-comp-toml
5.4kПомогает агенту писать, редактировать и проверять файлы определения компонентов azldev, которые описывают сборку каждого пакета.
azldev-mock
5.4kПомогает агенту тестировать и проверять собранные пакеты в среде сборки mock, чтобы они никогда не затрагивали ваш компьютер.
Похожие скиллы
openclaw-update
394kПомогает агенту обновить уже работающий OpenClaw Gateway, выбрав способ обновления по тому, как он был установлен, и сохранив вашу сессию.
diagnose-gateway
394kПомогает агенту выяснить, почему ваш OpenClaw Gateway не работает, проверяя настройки, каналы и порты, но ничего не меняя.
crabbox-apps
394kПомогает агенту открыть и запустить приложение на временной облачной машине, а затем показать его вид на боковой панели чата.