Skillpedia
النشر والسحابة (DevOps)5.4k · #14969

azldev

ما الذي تفعله

توضح هذه المهارة المفاهيم الأساسية لـ azldev والأوامر الشائعة لبناء توزيعة من ملفات الإعداد. وهي موجهة للمطورين الذين يعملون على مشاريع azldev ويحتاجون إلى أوامر وإعدادات صحيحة.

متى تستخدمها

  • ✓عندما تحتاج إلى تشغيل أوامر azldev في مشروع يحتوي على ملف azldev.toml.
  • ✓عندما تريد فهم المكوّنات والتراكبات والتوزيعات والأقفال في azldev.
  • ✓عندما تحتاج إلى مخرجات azldev بصيغة تقرؤها البرامج النصية.

رابط المهارة

https://github.com/microsoft/azurelinux/blob/4.0/.agents/skills/azldev/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/microsoft/azurelinux/blob/4.0/.agents/skills/azldev/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“نسخت للتو مستودع توزيعة azldev. هل يمكنك شرح الأوامر الرئيسية وكيفية سرد مكوّن وعرضه؟”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

يشغّل الوكيل الأوامر من جذر المستودع، ويستخدم خيارات الصمت وJSON عند الحاجة، ويتبع مفاهيم المكوّنات والتراكبات والأقفال. ويتحقق من الأوامر الدقيقة قبل تشغيلها.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من 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.toml lives), 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.toml includes 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 .spec after 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 shell
  • azldev component — Manage components
  • azldev config — Manage tool configuration
  • azldev docs — Documentation commands
  • azldev image — Manage Azure Linux images
  • azldev package — Manage binary package configuration
  • azldev project — Manage Azure Linux projects
  • azldev repo — Inspect and manage RPM repositories
  • azldev 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-component skill.
  • Edit or review a component's TOML — read the azldev-comp-toml skill.
  • Add or change overlays — read the azldev-overlays skill.
  • Annotate an overlay's intent (category, upstream status, provenance) — read the azldev-overlay-metadata skill.
  • Build, iterate, and debug a component — read the azldev-build-component skill.
  • Build, boot, and register images — read the azldev-image skill.
  • Refresh a lock and finalize for a PR — read the azldev-update-component skill.
  • Remove a component — read the azldev-remove-component skill.
  • Test built RPMs in a chroot — read the azldev-mock skill.

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 update before 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 description explaining why the change is needed.

Generated by azldev docs agent; do not hand-edit.

الأسئلة الشائعة

ماذا يبني azldev؟

يبني توزيعة Linux من إعدادات TOML، ويستورد المواصفات من توزيعة أصلية ويخصصها بالتراكبات.

هل يمكن أن تكون المخرجات قابلة للقراءة بالبرامج؟

نعم. تذكر المهارة خيار مخرجات JSON يعمل مع كل أمر.

هل يجب تعديل المواصفات المعروضة يدويًا؟

لا. تذكر المهارة أن المواصفات المعروضة مدخلات بناء ولا يجب تعديلها يدويًا.

التفاصيل

الوصف الأصلي من المؤلف

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

الشعبية

نجوم GitHub
5.4k
الترتيب
#14969
الترخيص
MIT
آخر تحديث
2‏/11‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة