agentleFS
ENFEX-makerENFEX-maker/azure-worker-skillset/skills/devops/azure-worker/SKILL.md

azure-worker

Skill0 starsChanged 5 months agoMITView on GitHub

Use when handling Azure architecture, operations, troubleshooting, IaC, governance, cost, AI, or documentation lookup; routes to Azure domain skills and enforces safe-by-default cloud operations.

The file

We split this skill into the rules it gives an agent

9 rules. About 0 are common, 8 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈8

    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 when the user asks about Azure:

    line 23
  2. Distinctive:

    If unsure, search the local documentation indexes first.

    line 50
  3. Very specific:

    Use scripts/search_index.py instead of raw FTS SQL because it safely tokenizes punctuation such as what-if.

    line 89
  4. Distinctive:

    Default to read-only discovery.

    line 101
  5. Distinctive:

    Ask for explicit user approval before execution.

    line 112
  6. Distinctive:

    Verify after execution with read-only commands.

    line 113
  7. Distinctive:

    Never without explicit approval:

    line 115
  8. Distinctive:

    delete or purge resources

    line 117
  9. Distinctive:

    Use these before scoped work when Azure CLI is available:

    line 126

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

Overview

Master/router skill for Azure work. Use this first for Azure requests, then load the relevant domain skill or search the local documentation indexes.

This skill is an index, router, and safety layer. It intentionally does not copy Microsoft Learn or vendor docs into the prompt.

When to Use

Use when the user asks about Azure:

  • architecture, landing-zone, or Well-Architected planning
  • troubleshooting Azure services
  • Bicep, ARM, Terraform, or deployment pipelines
  • RBAC, identity, networking, security, monitoring, cost, AI, or data
  • looking up current Azure documentation/reference material
  • performing Azure CLI or portal-equivalent operations

Routing Map

IntentLoad/search
tenant, subscription, Entra ID, RBAC, app registrations, managed identityazure-identity-rbac
VNet, subnet, NSG, route table, peering, DNS, Private Endpoint/Private Link, Load Balancer, App Gatewayazure-networking
ARM, Bicep, Terraform, state, what-if, plan, deployment scriptsazure-iac-bicep-terraform
VM, VMSS, disks, images, Bastion, boot diagnostics, extensionsazure-compute
AKS, Kubernetes, node pools, ingress, workload identity, upgradesazure-aks
App Service, Functions, slots, app settings, runtime, VNet integrationazure-app-service-functions
Blob, Files, queues, tables, SAS, lifecycle, storage firewalls/private endpointsazure-storage
Azure SQL, PostgreSQL, MySQL, Cosmos DB, Redis, database connectivity/performanceazure-databases
Monitor, Log Analytics, Application Insights, alerts, diagnostic settings, KQLazure-monitoring-observability
Key Vault, Defender for Cloud, Azure Policy, locks, secure postureazure-security-keyvault-defender
Azure DevOps, GitHub Actions, OIDC/federated credentials, service connections, pipelinesazure-devops-github-actions
budgets, cost analysis, Advisor, reservations, savings plans, rightsizingazure-cost-finops
Azure OpenAI, AI Foundry, Azure AI services, Azure ML, model deploymentsazure-ai-openai-ml

If unsure, search the local documentation indexes first.

Local Documentation Indexes

Expected product repo layout:

corpus_sources.yaml
raw/<corpus>/
indexes/<corpus>.sqlite
indexes/<corpus>-manifest.jsonl

Default corpora:

  • azure-docs — core Azure Microsoft Learn docs
  • azure-docs-cli — Azure CLI command reference
  • azure-devops-docs — Azure DevOps docs
  • architecture-center — Azure Architecture Center guidance/patterns
  • terraform-provider-azurerm — Terraform AzureRM provider docs

Optional huge/reference corpora:

  • azure-rest-api-specs — REST/OpenAPI specs
  • azure-resource-manager-schemas — ARM template/resource schemas
  • azure-sdk-for-python, azure-sdk-for-net, azure-sdk-for-js, azure-sdk-for-java, azure-sdk-for-go — language SDK docs/READMEs

Build optional corpora with scripts/build_corpora.py --all when needed.

Search examples:

cd /path/to/azure-worker-skillset
python3 scripts/search_index.py "private endpoint dns zone" --limit 10
python3 scripts/search_index.py "az vm list" --corpus azure-docs-cli --limit 10
python3 scripts/search_index.py "azurerm_linux_virtual_machine" --corpus terraform-provider-azurerm --limit 10
python3 scripts/search_index.py "bicep what-if deployment" --limit 10

Use scripts/search_index.py instead of raw FTS SQL because it safely tokenizes punctuation such as what-if.

Self-Update Model

  • scripts/install.sh --with-corpus --with-updater -y installs skills, builds default indexes, and configures daily updates.
  • scripts/update_all_corpora.py --check-only detects remote changes across configured corpora.
  • scripts/update_all_corpora.py pulls changes, rebuilds indexes, and maps changed pages to impacted Azure skills.
  • scripts/self_update.sh updates this product repo if it has a Git remote, refreshes installed skills, and refreshes documentation indexes.
  • scripts/health_check.py verifies skills, corpora, indexes, and updater state.

Safety Baseline

Default to read-only discovery.

Before any mutation:

  1. Identify current tenant and subscription.
  2. Identify exact scope: management group, subscription, resource group, or resource.
  3. Show exact planned command/IaC action.
  4. Prefer dry-run/plan:
    • Bicep/ARM: az deployment * what-if
    • Terraform: terraform plan
    • Azure CLI: use --dry-run, validation commands, or read-only equivalent where available
  5. Ask for explicit user approval before execution.
  6. Verify after execution with read-only commands.

Never without explicit approval:

  • delete or purge resources
  • change RBAC, owners, admins, conditional access, firewall, NSG, route tables, private endpoints, DNS, public exposure, Defender/Policy posture, or monitoring alerting
  • rotate credentials or keys
  • reveal Key Vault secrets, storage keys, SAS tokens, connection strings, client secrets, or API keys
  • operate against production by assumption
  • buy reservations/savings plans or make large SKU/scale changes

Standard Azure Discovery

Use these before scoped work when Azure CLI is available:

az account show --output table
az account list --output table
az group list --output table

For subscription-scoped commands, confirm subscriptionId, tenantId, and default location.

Verification Checklist

  • Relevant domain skill loaded or local documentation index searched.
  • Azure tenant/subscription/scope confirmed.
  • Read-only discovery done before changes.
  • Dry-run/plan shown for mutations.
  • User explicitly approved risky operation.
  • Post-change verification performed.

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.