az

Automate Azure resource management and DevOps tasks using the az CLI.

40|12|Updated Oct 17, 2011
One-click install
npx skills add https://github.com/lanej/dotfiles --skill az
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: az
Source: https://github.com/lanej/dotfiles/tree/main/claude/skills/az
Command: npx skills add https://github.com/lanej/dotfiles --skill az

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires azure-cli.

What problem does it solve?

This Skill eliminates the manual, time-consuming process of managing Azure cloud resources and Azure DevOps through web portals. It empowers you to automate infrastructure deployments, manage services, and streamline CI/CD pipelines directly from the command line.

Core Features & Use Cases

  • Azure Resource Management: Create, configure, and manage Virtual Machines, Storage Accounts, Virtual Networks, App Services, AKS clusters, and Key Vaults.
  • Azure DevOps Integration: Interact with Azure DevOps projects, repositories, and pipelines, enabling command-line driven CI/CD workflows.
  • Authentication & Querying: Seamlessly authenticate to Azure, switch subscriptions, and use JMESPath queries to filter and extract specific data from command output.
  • Use Case: Deploy a complete web application to Azure App Service, including creating a resource group, app service plan, web app, and configuring app settings, all from a single script, saving hours of manual setup.

Quick Start

Create a new resource group named 'myapp-rg' in the 'eastus' location.

Frequently Asked Questions about az

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Azure resource management from the command line?

Use the az CLI to automate Azure resource management by executing commands for authentication, provisioning, and configuration across VMs, storage accounts, resource groups, networks, AKS clusters, and Key Vaults. The az CLI supports interactive and scripted workflows with diverse output formats and JMESPath querying for filtered results.

Can I deploy infrastructure to Azure entirely through CLI commands?

Yes. The az CLI enables end-to-end infrastructure deployment by scripting resource group creation, app service provisioning, configuration management, and DevOps pipeline setup. This eliminates manual portal work and scales to complex multi-resource deployments in a single workflow.

How do I authenticate and switch Azure subscriptions via CLI?

Use az login for authentication and az account commands to switch subscriptions. These commands establish secure CLI access to your Azure resources and enable management across multiple subscriptions without returning to the portal.

What's the best way to filter Azure CLI output for specific data?

Use JMESPath queries with az CLI commands to extract and filter specific data from command output. This reduces post-processing overhead and integrates query logic directly into automation scripts and CI/CD pipelines.

Can I integrate Azure DevOps pipelines with command-line workflows?

Yes. The az CLI supports Azure DevOps integration for managing projects, repositories, and pipelines directly from the command line, enabling automated CI/CD workflows without portal access.

Does the az CLI work for managing AKS clusters and Key Vaults?

Yes. The az CLI includes commands for provisioning and configuring AKS clusters and Key Vaults, supporting full lifecycle management from creation through configuration as part of broader infrastructure automation.