Skip to main content
Alison Aquinas logoAlison's LLM Skills Marketplace

az

Included in skill bundleci-cdView on GitHub ↗

Files

SKILL.mdagentsreferencesscripts

Install

Install only this skill with npx skills
npx skills add alisonaquinas/llm-ci-dev --skill 'az' -g -y
Install the containing skill bundle
/plugin install ci-cd@llm-skills
Download az-skill.zip
This skill is bundled inside ci-cd. Use npx skills when you only want this skill, or install the bundle once to make every included skill available through the plugin marketplace flow. Browse the full skill bundle repository at github.com/alisonaquinas/llm-ci-dev.

Invoke

Invoke this skill after installation
/ci-cd:az

SKILL.md


name: az description: Operate Azure CLI (az) for authentication checks, subscription/context inspection, resource group and deployment lookups, and safe command planning. Use when tasks mention Azure CLI commands, Azure subscriptions or tenants, resource groups, ARM/Bicep deployment status, or Azure account troubleshooting from a terminal.

Azure CLI

Intent Router

RequestReferenceLoad When
Install tool, first-time setupreferences/install-and-setup.mdUser needs to install Azure CLI or do initial configuration
Command patterns, ARM/Bicepreferences/command-cookbook.mdUser needs resource patterns, ARM deployment, AKS, Key Vault, or RBAC examples
Authentication, subscriptionsreferences/auth-and-config.mdUser needs login setup, service principal, multi-tenant, or sovereign cloud configuration

Workflow

  1. Run preflight before any Azure command workflow.
  2. Check authentication and subscription context.
  3. Choose a core command track and run inspect commands first.
  4. Require explicit user confirmation before write/delete commands.
  5. Re-run context checks and summarize outcomes.
# Log in, confirm active subscription, and list resource groups
az login
az account show
az group list --output table

Preflight

Use bundled scripts for deterministic checks:

  • scripts/az-preflight.sh
  • scripts/az-auth-status.sh
  • scripts/az-context.sh
  • scripts/az-diagnostics.sh [--json] [--out <file>]

If the environment cannot access ~/.azure, set:

export AZURE_CONFIG_DIR=/tmp/az-config

Core Command Tracks

  • Auth and subscription context: az login, az account show, az account list --output table, az account set --subscription <id-or-name>
  • Resource group and inventory inspection: az group list --output table, az resource list --resource-group <rg> --output table
  • Deployment inspection: az deployment group list --resource-group <rg> --output table, az deployment group show --resource-group <rg> --name <deployment>
  • Output shaping and filters: Use --query and --output json|table|yaml for repeatable results.

Safety Guardrails

  • Always run context checks before mutating commands.
  • Treat create/update/delete commands as high impact and ask for explicit confirmation first.
  • Prefer read/list/show commands before create, update, delete, and deployment writes.
  • Never print secrets; avoid commands that output credential material.

Troubleshooting

  • If az fails because config directory is not writable, set AZURE_CONFIG_DIR to a writable path.
  • If auth fails, run az login and re-check with scripts/az-auth-status.sh.
  • If output is noisy, add --only-show-errors and use --query to reduce volume.
  • If commands fail due to network issues, capture diagnostics output first, then retry once connectivity is restored.

References

← Back to marketplace