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

azure-databases

Skill0 starsChanged 5 months agoMITView on GitHub

Use when managing, troubleshooting, securing, migrating, or operating Azure SQL, Azure Database for PostgreSQL/MySQL, Cosmos DB, Redis, or database connectivity on Azure.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    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:

    Verify with health probes, app connectivity, and metrics.

    line 52

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

Overview

Covers Azure SQL, PostgreSQL, MySQL, Cosmos DB, Redis/Cache, connectivity, backups, scaling, performance, identity, firewall/private networking, and migration safety.

When to Use

Use for:

  • database connectivity or authentication failures
  • firewall/private endpoint/DNS issues
  • performance, scaling, backup, restore, HA/DR questions
  • Cosmos DB throughput/partitioning
  • Redis cache/networking/auth troubleshooting
  • database IaC review

Safety Rules

Database changes can cause data loss, downtime, or cost spikes. Never delete, fail over, restore over existing data, scale dramatically, change firewall/public access, rotate credentials, or print connection strings without approval.

Discovery and Validation Commands

az sql server list -o table
az sql db list -g <rg> -s <server> -o table
az postgres flexible-server list -o table
az mysql flexible-server list -o table
az cosmosdb list -o table
az redis list -o table
az monitor metrics list --resource <resource-id> --metric <metric-name>

Operating Pattern

  1. Identify engine, SKU/tier, region, HA/backup, networking, auth, and client path.
  2. For connectivity, check DNS, firewall/private endpoint, TLS, identity/credentials, and service health.
  3. For performance, inspect metrics, wait/resource bottlenecks, throughput, storage, and query/app patterns.
  4. For changes, show downtime/cost/data-loss risk and rollback plan.
  5. Verify with health probes, app connectivity, and metrics.

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

  • Public network disabled requires private DNS/client routing.
  • Azure SQL Entra auth requires server/admin and DB user setup.
  • Cosmos DB partition key mistakes are hard to reverse.
  • Scaling can be expensive and sometimes disruptive.
  • Restore/failover semantics differ by service.

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.