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

azure-compute

Skill0 starsChanged 5 months agoMITView on GitHub

Use when managing, troubleshooting, sizing, securing, or automating Azure Virtual Machines, VM Scale Sets, disks, images, Bastion, or compute availability patterns.

5 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

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

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 2

    Distinctive

    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:

    Verify power state, provisioning state, app health, and monitoring signals.

    line 51
  2. Distinctive:

    Stop vs deallocate affects billing differently.

    line 60

“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “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 Compute

Overview

Covers Azure VM and VMSS operations, image/disks, Bastion, availability sets/zones, boot diagnostics, extensions, patching, sizing, and compute cost/risk checks.

When to Use

Use for:

  • VM/VMSS creation, resize, stop/start/deallocate, patching, extensions
  • disk, snapshot, image, gallery, backup, and restore workflows
  • Bastion and management access
  • boot/performance troubleshooting
  • availability zone/set and scale design

Safety Rules

Compute actions can incur cost or cause downtime. Never resize, restart, redeploy, delete, detach disks, change public IP/NSG exposure, or run custom scripts/extensions without explicit approval. Prefer snapshot/backup before destructive disk or OS work.

Discovery and Validation Commands

az vm list -o table
az vm show -g <rg> -n <vm> -o json
az vm get-instance-view -g <rg> -n <vm> -o json
az vm list-sizes -l <region> -o table
az disk list -g <rg> -o table
az vmss list -g <rg> -o table
az network bastion list -o table

Operating Pattern

  1. Identify workload, RG, region, SKU, OS, availability model, disks, NICs, and backup state.
  2. For issues, collect instance view, boot diagnostics, extension status, metrics, and activity log.
  3. For changes, show cost/downtime/security impact and rollback path.
  4. Execute only approved scoped actions.
  5. Verify power state, provisioning state, app health, and monitoring signals.

Professional Runbooks

Load references/runbooks.md for production-oriented scenario runbooks. Each runbook includes preflight commands, diagnosis path, safe action gate, verification, and documentation lookup query. For risky operations, use the master azure-worker safety baseline before executing changes.

Common Pitfalls

  • Stop vs deallocate affects billing differently.
  • Resizing may require deallocation or may not be available in the current cluster.
  • Extension failures often hide the real error in instance view/substatus.
  • Public IP plus permissive NSG exposes management ports.
  • Deleting a VM can leave disks/NICs/public IPs depending on settings.

Verification Checklist

  • Azure tenant/subscription/scope confirmed.
  • Relevant service/resource state discovered with read-only commands.
  • Risky or billable changes highlighted.
  • Dry-run/plan/validation used where available.
  • User approval obtained before mutations.
  • Post-change verification completed.

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.