/azure-developer-tooling:azure-container-registry-clifrom azure-developer-tooling
Manages Azure Container Registry via az acr CLI: create registries, build/import/purge images, configure geo-replication, tokens, networking, and diagnostics.
Ships in azure-developer-tooling. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use the Azure CLI az acr command group to create registries, authenticate clients, build or import images, manage repositories and tags, configure security and networking, and diagnose Azure Container Registry behavior.
az acr ships with the core Azure CLI; no extension is required for normal registry work. The acrtransfer extension is only needed for export/import pipeline commands.
# Install Azure CLI
brew install azure-cli
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
winget install Microsoft.AzureCLI
# Sign in and select subscription
az login
az account set --subscription {subscription-id}
Confirm the resource group, registry name, subscription, SKU, and identity model before running mutating commands.
| Need | Command pattern | Notes |
|---|---|---|
| Registry lifecycle | az acr create --resource-group {rg} --name {registry} --sku Standard | SKU is Basic, Standard, or Premium. |
| Docker/Podman login | az acr login --name {registry} | Uses local credential helper. Use --expose-token for token-based flows. |
| Cloud build | az acr build --registry {registry} --image app:v1 . | No local Docker daemon required. |
| Server-side copy | az acr import --name {registry} --source mcr.microsoft.com/hello-world:latest | Avoids local pull and push. |
| Repositories | az acr repository list --name {registry} --output table | Inventory repositories. |
| Tags | az acr repository show-tags --name {registry} --repository app --orderby time_desc | Sort by recency for cleanup. |
| Health | az acr check-health --name {registry} --yes | Diagnoses Docker daemon, network, auth, and config. |
| Usage | az acr show-usage --name {registry} | Review quota and storage. |
Common task phrases include pushing/importing/purging images and replacing local pull/push loops with server-side operations.
| Principle | Why it matters |
|---|---|
Prefer az acr build and ACR Tasks over docker build plus docker push. | Builds run in Azure, work without a local daemon, and integrate with source, base-image, and timer triggers. |
Prefer az acr import for registry-to-registry movement. | Import is server-side, faster, and does not require local storage. |
| Never enable the admin user for production. | Use Microsoft Entra identities, managed identities, RBAC roles AcrPull and AcrPush, ABAC roles Container Registry Repository Reader and Container Registry Repository Writer, or repository-scoped tokens. |
| Treat Premium-only features as design choices. | Geo-replication, private endpoints, retention policies, connected registries, and agent pools require Premium. Repository-scoped tokens work in all tiers; zone redundancy is automatic in supported regions. |
| Distinguish untag from delete. | Removing a tag may leave manifests; deleting manifests removes content. Use retention, soft delete, and purge intentionally. |
The repository command family covers List/show/delete/untag actions, Push/delete webhooks, artifact cache pull-through rules, soft-delete configuration, content-trust, and git/base-image/timer task triggers. ABAC-enabled registries may use Container Registry Repository Reader/Writer for scoped reads and writes.
az acr
├── create / delete / list / show / update
├── login
├── check-health / check-name / show-usage
├── build
├── run
├── task
├── agentpool
├── import
├── repository
├── manifest
├── credential
├── token / scope-map
├── replication
├── network-rule
├── private-endpoint-connection
├── config
├── cache / credential-set
├── webhook
├── connected-registry
└── export-pipeline / import-pipeline / pipeline-run
az account show and confirm the target subscription if the task mutates resources.show, list, show-tags, show-usage, and check-health commands before destructive updates.--resource-group, --name, --repository, --image, --output, and confirmation flags rather than relying on defaults.| Resource | Read when | Covers |
|---|---|---|
references/auth-and-security.md | Login, permissions, CI/CD, AKS pull access, tokens, or admin-user questions. | az acr login, --expose-token, Entra RBAC, service principals, managed identities, --attach-acr, repository-scoped tokens, scope maps, content trust. |
references/build-and-tasks.md | Building images in Azure or automating builds. | az acr build, az acr run, multi-step task YAML, az acr task, git triggers, base-image triggers, timer triggers, logs, runs, agent pools. |
references/images-and-artifacts.md | Repositories, tags, cleanup, storage costs, artifact cache. | az acr import, repository and manifest commands, untag vs delete, acr purge, image locking, retention policy, soft delete, show-usage. |
references/networking-and-geo.md | Multi-region, private access, edge, or transfer scenarios. | Geo-replication, zone redundancy, private endpoints, network rules, dedicated data endpoints, connected registries, registry transfer pipelines. |
acrtransfer is separate: install it only for export/import pipeline workflows, not for normal az acr import.## Azure Container Registry CLI result
**Status:** complete | needs input | blocked
**Registry:** `{registry}`
**Subscription:** `{subscription-id}`
**Operation:** <lifecycle | auth | build | import | repository | networking | diagnostics>
### Commands
```bash
<az acr command executed or recommended>
## Quality gate
- [ ] The target subscription, resource group, registry, and SKU assumptions are explicit.
- [ ] Mutating operations use explicit flags and avoid relying on ambient defaults.
- [ ] Production auth avoids the admin user unless the user explicitly accepts the risk.
- [ ] Premium-only features are identified before commands are recommended.
- [ ] Image cleanup distinguishes tag removal, manifest deletion, retention, soft delete, and `acr purge`.
- [ ] The relevant bundled reference was read for auth, builds, artifacts, networking, or geo-replication work.
## References
- [Install Azure CLI on Linux](https://aka.ms/InstallAzureCLIDeb)
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub gbb-acelerators/awesome-harness-primitives --plugin azure-developer-tooling9 skills in this plugin
/azure-architecture-autopilotDesign new Azure infrastructure or analyze existing Azure resources, generate interactive architecture diagrams, refine through conversation, produce Bicep, review, and deploy. Use when asked to design, analyze, modify, or deploy Azure architecture, including "Create X on Azure", "Set up a RAG architecture", "Analyze my current Azure infrastructure", "Draw a diagram for rg-xxx", Foundry slowness, cost reduction, security strengthening, Microsoft Foundry, AI Search, OpenAI, Fabric, ADLS Gen2, Databricks, and Azure services./azure-deployment-preflightValidate Azure Bicep deployments before execution with syntax checks, azd preview, Azure CLI what-if, validation-level fallback, permission checks, and a preflight report. Use this skill when the user asks before azd up, azd provision, az deployment, Bicep deployment, infrastructure review, permission verification, or what-if change preview./azure-developer-cliDesign, create, review, migrate, or troubleshoot Azure Developer CLI azd projects using azure.yaml, infra Bicep or Terraform, environments, secrets, hooks, deployment workflows, and azd-managed CI/CD. Use this skill when the user asks for azd project structure, Azure Developer CLI best practices, azd templates, or azure.yaml guidance./azure-devops-cliManage Azure DevOps with Azure CLI and the azure-devops extension. Use when the user asks for Azure DevOps CLI commands, az devops automation, projects, repos, pull requests, pipelines, builds, work items, artifacts, service endpoints, permissions, or CI/CD scripting./azure-static-web-appsCreate, configure, run, and deploy Azure Static Web Apps with the SWA CLI. Use when asked to deploy a static site to Azure, run SWA locally, configure staticwebapp.config.json, add Azure Functions APIs, set API runtimes, database connections, or GitHub Actions CI/CD for Static Web Apps./cloud-design-patternsSelect, explain, and apply cloud design patterns for distributed systems across reliability, performance, messaging, architecture, deployment, security, and event-driven categories. Use when designing, reviewing, or implementing cloud workloads and distributed system architectures.Other plugins' skills for the same job