agentleFS
kaiohenricunhakaiohenricunha/dotbabel/skills/azure-specialist/SKILL.md

azure-specialist

Skill0 starsChanged 2 months agoMITView on GitHub

Deep-dive Azure architecture review, debugging, and service design. Use for structured investigations of Azure-specific issues, identity or cost audits, and multi-service design reviews. Triggers on: "Azure audit", "Azure design review", "EntraID review", "Managed Identity debug", "review my Azure", "Azure troubleshooting", "AKS deep-dive".

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If Azure CLI access is available:

    line 41
  2. Distinctive:

    After fixes are applied:

    line 134
  3. Distinctive:

    Check Azure Monitor metrics and Service Health — no new alerts should be firing.

    line 140

≈ “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

Azure Specialist

Structured investigation for Azure workloads. Five phases: gather context, diagnose, design, recommend, verify.

Arguments

  • $0 — subscription context, service scope, or problem description. Required.

Phase 1: Context Gathering

  1. Identify the tenant, subscription(s), resource group(s), and services in scope.
  2. Glob for IaC in the working directory: **/*.bicep, **/azuredeploy.json, **/main.tf, **/*.parameters.json.
  3. If Azure CLI access is available:
    az account show
    az group list --query "[].name"
  4. Note which resource providers are registered:
    az provider list --query "[?registrationState=='Registered'].namespace" -o tsv

Phase 2: Diagnosis

Compute / containers:

az vm list --query "[].{name:name,rg:resourceGroup,state:powerState}" -o table
az aks list --query "[].{name:name,rg:resourceGroup,version:kubernetesVersion}" -o table
az webapp list --query "[].{name:name,rg:resourceGroup,state:state}" -o table

Identity / RBAC:

az role assignment list --assignee <principal-id> --all
az ad app list --display-name <name>
az identity list --resource-group <rg>

Networking:

az network vnet list
az network nsg rule list --nsg-name <nsg> --resource-group <rg>
az network private-endpoint list

Serverless / events:

az functionapp list
az servicebus namespace list
az eventgrid topic list

Cost / quotas:

az consumption usage list --start-date <> --end-date <>
az vm list-usage --location <region>

Phase 3: Design / Root-Cause Analysis

Map symptoms to causes:

SymptomCommon CausesCheck
AKS pod AuthN failsManaged Identity not assigned, missing federated credentialaz aks show --query identity + pod ServiceAccount annotations
App Service slowCold start on consumption plan, misconfigured scale rulesPlan tier, autoscale settings
Storage 403Private endpoint with wrong DNS, firewall IP allowlistaz storage account network-rule list
Function cold startsConsumption plan + infrequent trafficSwitch to Premium or Always-Ready instances
Cosmos DB throttle (429)RU/s too low, hot partitionDiagnostic settings, metrics, partition key review
EntraID app login failsRedirect URI mismatch, missing API permission grantaz ad app show + consent status

Cite resource ID or file:line for every finding.


Phase 4: Recommendations

Output findings in priority order:

[CRITICAL] <title>
Resource: <resource ID or file:line>
Issue: <one sentence>
Evidence: <CLI output or code snippet>
Fix: <specific change, with Bicep/ARM/Terraform diff>
Trade-off: <alternative and its downside, if meaningful>
  • Order: CRITICAL → WARNING → INFO.
  • For IaC fixes, show the exact Bicep/ARM/Terraform diff.
  • Reference relevant docs in references/ where applicable.

Phase 5: Verification

After fixes are applied:

  1. Re-run the diagnostic command that surfaced the issue.
  2. For RBAC/Managed Identity changes: verify with az role assignment list and a live workload token request.
  3. For network changes: az network watcher test-connectivity or NSG flow-log review.
  4. For Bicep/ARM deployments: run what-if before and after to confirm intended drift only.
  5. Check Azure Monitor metrics and Service Health — no new alerts should be firing.

Reference Docs

Consult references/ for decision guides:

FileWhen to use
compute.mdAKS, ACI, VMs, App Service
serverless.mdFunctions, Logic Apps, Service Bus, Event Grid
storage.mdBlob, Files, Queues, Cosmos DB, Azure SQL
networking.mdVNet, App Gateway, Front Door, Private Endpoints
identity.mdEntraID, Managed Identity, RBAC scopes
devops.mdAzure Pipelines, ACR, release management
iac-patterns.mdBicep, ARM, Terraform (AzureRM/azapi) patterns

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.