azure-cli
Skill8 starsChanged 7 months agoApache-2.0View on GitHub
Use the correct Azure CLI subscription and region when running Azure commands based on the target environment.
- Installs packages
2 other projects use a version of this.
Adopted by
Most recently taken up by
- paulanunes85/three-horizons-acceleratortheir own version, first seen Feb 17, 2026
- mattgotteiner/search-agent-skillstheir own version, first seen Jan 14, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- paulanunes85/three-horizons-accelerator★ 2same name
- mattgotteiner/search-agent-skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository54 other files it gives its agents.
- alibabacloud-cliSkill
- ansible-cliSkill
- appdynamics-cliSkill
- argocd-cliSkill
- aws-cliSkill
- aws-cloudwatch-cliSkill
- bash-lintingSkill
- betterstack-cliSkill
- bitbucket-cliSkill
- chef-cliSkill
- code-reviewSkill
- commit-codeSkill
- create-dockerfileSkill
- create-terraform-helm-upgrade-planSkill
- datadog-cliSkill
- digitalocean-cliSkill
- dockerfile-lintingSkill
- dynatrace-cliSkill
- elasticsearch-cliSkill
- gcp-cliSkill
- github-cliSkill
- gitlab-cliSkill
- go-lintingSkill
- grafana-cliSkill
- grafana-loki-cliSkill
- graylog-cliSkill
- helm-cliSkill
- hetzner-cliSkill
- huaweicloud-cliSkill
- jaeger-cliSkill
- jenkins-cliSkill
- jira-and-confluence-cliSkill
- kibana-cliSkill
- kubernetes-cliSkill
- loggly-cliSkill
- maintenance-check-aws-eksSkill
- maintenance-create-ticket-on-jiraSkill
- ms-teams-cliSkill
- mysql-cliSkill
- newrelic-cliSkill
- oci-cliSkill
- packer-cliSkill
- papertrail-cliSkill
- postgresql-cliSkill
- prometheus-cliSkill
- python-lintingSkill
- rollbar-cliSkill
- salesforce-cliSkill
- sentry-cliSkill
- slack-cliSkill
- splunk-cliSkill
- terraform-cliSkill
- terraform-lintingSkill
- vault-cliSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 4 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
When running az commands, always pass the --subscription flag based on the target environment, and specify the region explicitly for …
- Distinctive: line 12
Update the subscription map below with your Azure subscription IDs/names:
- Very specific: line 24
Always pass --location <your-default-region> unless the user specifies a different region.
- Distinctive: line 28
If not already authenticated, inform the user that setup is required and ask them to complete the following steps manually.
- Very specific: line 86
Always specify --subscription explicitly — never rely on the default subscription set via az account set, as it may point to the wrong …
- Very specific: line 87
Always specify --location/--resource-group explicitly for resource-creating commands — never rely on defaults.
- Distinctive: line 88
If the target environment is unclear, ask the user before running the command.
- Distinctive: line 89
NEVER run any command in the "Never run" table above without explicit user instruction — a human must execute these, especially against …
- Very specific: line 90
NEVER read or output the contents of az account get-access-token, service principal secrets, or any credential value.
- Very specific: line 91
If unsure which subscription an account belongs to, run az account show --subscription <subscription> to verify before proceeding.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Azure CLI Skill
When running az commands, always pass the --subscription flag based on the target environment, and specify the region explicitly for resource-creating commands.
Configuration
Update the subscription map below with your Azure subscription IDs/names:
| Environment | Subscription | Resource Group |
| Production | <your-prod-subscription> | <your-prod-resource-group> |
| Staging / Non-Prod | <your-nonprod-subscription> | <your-nonprod-resource-group> |
| Sandbox / Dev | <your-sandbox-subscription> | <your-sandbox-resource-group> |
Default Region
Set your default region here: <your-default-region> (e.g. eastus, westeurope).
Always pass --location <your-default-region> unless the user specifies a different region.
Prerequisites (one-time setup by user)
If not already authenticated, inform the user that setup is required and ask them to complete the following steps manually. Do not perform these steps yourself.
brew install azure-cli
az login
az account listCommand Format
az <group> <command> --subscription <subscription> [--resource-group <rg>] [--location <region>] [options]Examples
# Production
az vm list --subscription <your-prod-subscription> --resource-group <your-prod-resource-group>
# Staging / Non-Prod
az vm list --subscription <your-nonprod-subscription> --resource-group <your-nonprod-resource-group>Available Commands
Read-only (safe, no confirmation needed)
| Command pattern | Description |
az * list | List any resource type |
az * show | Show details of a resource |
az account list / az account show | Show subscription/account info |
az group list | List resource groups |
az monitor log-analytics query | Query Log Analytics |
az monitor metrics list | List metrics for a resource |
Mutating operations (confirm with user before running)
| Command pattern | Description |
az * create | Create a new resource |
az * update | Update an existing resource |
az webapp deploy | Deploy code to an App Service |
az deployment group create | Deploy an ARM/Bicep template |
Never run — requires explicit human approval
| Command pattern | Reason |
az * delete | Irreversible resource deletion |
az group delete | Irreversibly deletes a resource group and everything in it |
az role assignment create/delete | Alters access control, security-sensitive |
az vm stop/restart/deallocate | Disrupts running workloads |
az sql server delete / az sql db delete | Irreversibly destroys a database |
Rules
- Always specify
--subscriptionexplicitly — never rely on the default subscription set viaaz account set, as it may point to the wrong account. - Always specify
--location/--resource-groupexplicitly for resource-creating commands — never rely on defaults. - If the target environment is unclear, ask the user before running the command.
- NEVER run any command in the "Never run" table above without explicit user instruction — a human must execute these, especially against production.
- NEVER read or output the contents of
az account get-access-token, service principal secrets, or any credential value. - If unsure which subscription an account belongs to, run
az account show --subscription <subscription>to verify before proceeding.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

