Command Palette

Search for a command to run...

Назад к скиллам
скилл № 92898

az

Use az CLI for Azure cloud resource management, Azure DevOps operations, VMs, storage, networking, AKS, and Key Vault with comprehensive authentication and…

БесплатноБез исполняемых скриптов
lanejот lanej★ 41 звезда на GitHub

Установить az в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Azure CLI (az)

Standard az subcommands work as documented — consult az <group> --help rather than memorizing. This file covers the conventions that keep az output usable and the steps that are easy to skip.

Before anything else

az account show                       # verify identity AND subscription
az account set --subscription <name>  # multi-subscription tenants silently default wrong

A command that "doesn't find" a resource is usually pointed at the wrong subscription, not missing the resource.

Output discipline

az defaults to verbose JSON. Always pick a format deliberately:

  • -o table — human review
  • -o tsv + --query — capturing a single value into a shell variable; never parse table output
  • -o json — feeding another tool
RESOURCE_ID=$(az resource show --name myapp -g myrg --query "id" -o tsv)

--query is JMESPath, not jq. The forms worth knowing:

--query "[?location=='eastus'].name"                  # filter
--query "[].{Name:name, State:powerState}"            # reshape, pairs well with -o table
--query "[0].id"                                      # first element

Long-running and bulk operations

  • --no-wait on create/delete so the call returns immediately; poll with az resource wait.

  • Bulk by ID list rather than looping one command per resource:

    az vm start --ids $(az vm list -g myrg --query "[].id" -o tsv)
    

Azure DevOps

az devops commands fail confusingly without defaults set. Set them once per session:

az devops configure --defaults organization=https://dev.azure.com/myorg project=MyProject

Security defaults

  • Managed identities over service principals.
  • Secrets in Key Vault, never in app settings.
  • Soft delete enabled on production Key Vaults.
  • Azure RBAC over classic access policies.

Cost hygiene

az vm stop still bills — use az vm deallocate. Clean up unused resource groups rather than individual resources; deleting the group is the reliable teardown.

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл az?

Use az CLI for Azure cloud resource management, Azure DevOps operations, VMs, storage, networking, AKS, and Key Vault with comprehensive authentication and output control.

Как установить скилл az?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл az запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить az с