agentleFS
paulanunes85paulanunes85/three-horizons-accelerator/.github/skills/azure-cli/SKILL.md

azure-cli

Skill2 starsChanged 10 months agoMITView on GitHub

Azure CLI operations for cloud resource management

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 4 are distinctive, and 1 is 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.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use -o table for readable output

    line 79
  2. Distinctive:

    Use -o json for parsing with jq

    line 80
  3. Very specific:

    Use --query for filtering

    line 81
  4. Distinctive:

    Never expose secrets in output

    line 82
  5. Distinctive:

    Verify subscription before operations

    line 83

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

When to Use

  • Azure resource queries
  • AKS cluster management
  • Key Vault operations
  • ACR management
  • RBAC configuration

Prerequisites

  • Azure CLI installed
  • Authenticated: az login or managed identity
  • Subscription selected
  • Appropriate RBAC roles

Commands

Context

# Show current account
az account show -o table

# List subscriptions
az account list -o table --query "[].{Name:name, ID:id, State:state}"

# Set subscription
az account set --subscription "<subscription-id>"

Resource Queries

# List resources in RG
az resource list -g <resource-group> -o table

# Show resource
az resource show --ids <resource-id>

# Query with JMESPath
az resource list -g <rg> --query "[?type=='Microsoft.ContainerService/managedClusters']"

AKS Operations

# Get credentials
az aks get-credentials -g <rg> -n <cluster> --overwrite-existing

# Show cluster
az aks show -g <rg> -n <cluster> -o table

# Node pools
az aks nodepool list -g <rg> --cluster-name <cluster> -o table

# Scale cluster
az aks scale -g <rg> -n <cluster> --node-count 5

Key Vault

# List secrets (names only)
az keyvault secret list --vault-name <kv> -o table --query "[].{Name:name}"

# Get secret
az keyvault secret show --vault-name <kv> -n <secret> --query value -o tsv

ACR

# List repositories
az acr repository list -n <acr> -o table

# Show tags
az acr repository show-tags -n <acr> --repository <repo> --orderby time_desc

Best Practices

  1. Use -o table for readable output
  2. Use -o json for parsing with jq
  3. Use --query for filtering
  4. Never expose secrets in output
  5. Verify subscription before operations

Output Format

  1. Command executed
  2. Results in table format
  3. Warnings or issues
  4. Next steps

Integration with Agents

Used by: @terraform, @security, @sre, @test

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.