agentleFS
jonathan-vellajonathan-vella/apex/.github/skills/apex-azure-reliability/SKILL.md

apex-azure-reliability

Skill216 starsChanged 2 months agoMITView on GitHub

**ANALYSIS SKILL** — Read-only reliability assessment for App Service and Azure Functions: zone redundancy, ZRS storage, health probes and multi-region failover. WHEN: "assess reliability", "zone redundant", "multi-region failover", "single points of failure", "disaster recovery readiness". DO NOT USE FOR: fixes or deploys (06b/06t), troubleshooting (apex-azure-diagnostics).

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    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:

    Run read-only commands only.

    line 42
  2. Distinctive:

    Never print app setting values or connection strings.

    line 43
  3. Very specific:

    Don't assign numeric scores or grades.

    line 46

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

Adapted from upstream azure-reliability. This skill assesses the reliability posture of deployed App Service and Azure Functions resources and returns findings. It never changes resources, patches IaC or deploys: fixes flow through 05-IaC Planner and 06b/06t.

Quick Reference

PropertyDetails
Best forReliability findings for 08-As-Built and 09-Diagnose
Supported servicesAzure Functions, App Service (Container Apps: noted, not assessed)
Query methodAzure Resource Graph (az graph query, needs the resource-graph extension)
PermissionsReader on the target scope
Failover regiongermanywestcentral (APEX default), primary swedencentral

MCP Tools

ToolPurpose
mcp_azure-mcp_extension_cli_generateGenerate read-only az commands for resource queries
mcp_azure-mcp_subscription_listList available subscriptions
mcp_azure-mcp_group_listList resource groups

Rules

  1. Scope every query to the user's resource group (| where resourceGroup =~ '<rg-name>'), subscription (--subscriptions <sub-id>) or app (| where name =~ '<app-name>').
  2. Run read-only commands only. Record each gap as a finding with the target setting from the service reference.
  3. Never print app setting values or connection strings; query setting names only.
  4. Resources without a service reference (Container Apps and others) are listed as ⚪ not assessed — never invent commands or settings for them.
  5. Don't assign numeric scores or grades. Price plan or redundancy changes only through cost-estimate-subagent.

Assessment Workflow

Phase 1: Discover Resources

  1. Identify the scope (resource group, subscription or app name).
  2. Query Azure Resource Graph for every resource in scope.
  3. Classify resources by service type; note unsupported compute without a deep dive.

Phase 2: Assess Reliability

Platform discovery first:

Platform checkReference
Zone redundancy — discoveryzone-redundancy-checks.md
Storage redundancy (cross-service)storage-redundancy-checks.md
Multi-region and global load balancersmulti-region-checks.md
Front Door / Traffic Manager / App Insights probeshealth-probe-checks.md

Then a per-service deep dive:

Service detectedReference
Azure Functions (microsoft.web/serverfarms with kind contains 'functionapp')services/functions/reliability.md
App Service (microsoft.web/sites and microsoft.web/serverfarms without functionapp)services/app-service/reliability.md
Container Apps (microsoft.app/containerapps, microsoft.app/managedenvironments)⚪ Not assessed

Phase 3: Build the Reliability Checklist

Present a feature-pivoted table with four rows in this order: Zone redundancy — compute, Zone-redundant storage, Health probes, Multi-region failover. Each row has one status and the relevant resources:

  • 🟢 ON — enabled on every relevant resource; 🟡 PARTIAL — some resources or partial configuration; 🔴 OFF — missing everywhere. For storage, show the SKU instead of OFF (🔴 LRS, 🔴 GRS, 🟢 ZRS, 🟢 GZRS).
  • List only relevant resources, one bullet each, with a short reason ((FC1), (defaulted; no SKU set)). Credit resources that are already compliant with — already ON.
  • Drop a row only when no resource in scope could apply to it. No n/a cells.
Reliability Assessment — {scope}
Reliability Feature          Status      Resources
Zone redundancy — compute    🔴 OFF      • plan-web-{suffix} (P1v3)
Zone-redundant storage       🔴 GRS      • st{suffix} (defaulted; no SKU set in IaC)
Health probes                🟡 PARTIAL  • app-web-{suffix} — already ON
                                         • func-api-{suffix} — needs code change (FC1)
Multi-region failover        🔴 OFF      • Single region (swedencentral) — Front Door not configured

Priority Classification

PriorityCriteriaOwner action
CriticalNo zone redundancy AND production workloadRaise with the IaC owner now
HighLRS storage on zone-redundant computePlan the change within days
MediumSingle region but zone-redundantPlan for the next change window
LowMissing health probes or monitoring gapsTrack and fix

Reliability Findings

Return findings to the calling agent; never write a standalone reliability artifact.

CallerArtifactSections that receive findings
08-As-Built07-backup-dr-plan.mdExecutive Summary availability row; 1. Recovery Objectives; 2. Backup Strategy; 3. Disaster Recovery Procedures; 4. Testing Schedule
08-As-Built07-design-document.md8. Backup & Disaster Recovery
09-Diagnose08-resource-health-report.mdIssues Identified (by severity); Prevention Recommendations; Next Steps

Each finding states the resource, the current state, the target setting and its priority. Multi-region designs go to 05-IaC Planner as a recommendation; don't start multi-region work without explicit user consent.

Error Handling

ErrorRemediation
Authentication requiredAsk the user to run az login locally, then retry
Access deniedConfirm a Reader role assignment on the scope
Plan doesn't support ZRRecord the plan upgrade path; price it through cost-estimate-subagent
Region doesn't support AZRecord the limitation; suggest a zone-capable region

Reference Index

ReferenceWhen to Load
references/zone-redundancy-checks.mdCompute zone redundancy discovery
references/storage-redundancy-checks.mdStorage replication checks and targets
references/multi-region-checks.mdMulti-region deployment and global load balancers
references/health-probe-checks.mdFront Door, Traffic Manager and App Insights probes
references/services/functions/reliability.mdAzure Functions plan rules and targets
references/services/app-service/reliability.mdApp Service plan rules and targets

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.