apex-azure-defaults
Skill216 starsChanged 2 months agoMITView on GitHub
**UTILITY SKILL** — Applies canonical Azure defaults through an IaC workflow covering governance precedence, CAF naming, AVM-first composition, unique suffixes, cost monitoring, VNet planning, and lifecycle checks. WHEN: "Azure naming convention", "CAF naming", "resource tags", "AVM module", "security baseline", "region default". DO NOT USE FOR: artifact templates or pricing lookups.
In this repository40 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- apex-agent-authoringSkill
- apex-azure-adrSkill
- apex-azure-artifactsSkill
- apex-azure-bicep-patternsSkill
- apex-azure-cloud-migrateSkill
- apex-azure-complianceSkill
- apex-azure-computeSkill
- apex-azure-cost-optimizationSkill
- apex-azure-deploySkill
- apex-azure-diagnosticsSkill
- apex-azure-governance-discoverySkill
- apex-azure-kubernetesSkill
- apex-azure-kustoSkill
- apex-azure-prepareSkill
- apex-azure-quotasSkill
- apex-azure-rbacSkill
- apex-azure-reliabilitySkill
- apex-azure-resourcesSkill
- apex-azure-storageSkill
- apex-azure-upgradeSkill
- apex-azure-validateSkill
- apex-context-managementSkill
- apex-entra-app-registrationSkill
- apex-github-operationsSkill
- apex-golden-principlesSkill
- apex-host-debug-log-exportSkill
- apex-host-git-commitSkill
- apex-host-workflow-startSkill
- apex-iac-commonSkill
- apex-mermaidSkill
- apex-microsoft-docsSkill
- apex-python-diagramsSkill
- apex-terraform-patternsSkill
- apex-terraform-search-importSkill
- apex-terraform-testSkill
- apex-unslopSkill
- apex-vendor-promptingSkill
- apex-workflow-engineSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 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.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 25
Read 04-governance-constraints.json when it exists.
- Very specific: line 26
Read sku-manifest.json for creative SKU decisions.
- Distinctive: line 58
AVM-first: do not hand-roll a resource with an applicable stable AVM module.
≈ “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.
Files
Azure Defaults
Apply the canonical defaults from
.github/copilot-instructions.md
without duplicating them here. Live governance discovered for the target scope
always overrides repository defaults.
Prerequisites
- Reuse the canonical Azure Defaults section while current and available; reload missing required guidance after edits, compaction or a new chat.
- Read
04-governance-constraints.jsonwhen it exists. - Read
sku-manifest.jsonfor creative SKU decisions; do not derive SKUs from artifact prose. - Load only the reference needed for the current decision.
IaC Workflow
- Resolve governance precedence — apply live policy constraints before fallback regions, tags, networking, cost, or security defaults.
- Generate one stable suffix — derive it once from deployment scope and pass it to every globally unique resource name.
- Apply CAF naming — use resource-specific abbreviations and length limits; load naming examples when constraints differ by service.
- Resolve AVM modules live — prefer AVM, pin the latest stable version at plan time, and record justified stale-pin exceptions in the IaC contract.
- Apply canonical security defaults — load the networking and security baseline before security elicitation or design; do not offer baseline opt-outs. Load AVM pitfalls only when module parameters or lifecycle constraints require detail.
- Run conditional planning gates — apply VNet and cost-monitoring workflows when their triggers hold; governance remains authoritative.
- Check service lifecycle — use the latest supported GA LTS runtime and reject retired, classic, preview, or short-lifecycle choices for durable production workloads unless explicitly approved.
- Validate the output — run the stack validator and the security, AVM pin, SKU coverage, and governance checks relevant to the produced IaC.
IaC-Specific Invariants
- Unique suffix: generate one deterministic suffix per deployment scope and pass it into modules rather than recomputing it independently.
- AVM-first: do not hand-roll a resource with an applicable stable AVM module.
- Live pins: resolve module versions at plan time; training-data pins are not evidence of currency.
- Governance wins: discovered policy overrides every fallback in the canonical defaults and this workflow.
- Security is a floor: missing policy does not relax the baseline. Conflicting policy/security requirements block the affected design for human resolution.
- VNet planning is interactive: confirm CIDRs when a workload requires VNet integration, private endpoints, or a VNet-attached service. Production cannot defer the gate.
- Cost monitoring is explicit: production requires the governed budget, notification, and anomaly-monitoring contract; non-production exceptions must use a documented mode.
- Lifecycle is verified live: selectable engine and runtime versions require current support-policy evidence.
Validation
npm run validate:region-canonical
npm run validate:iac-security-baseline
npm run validate:avm-versions:freeze
npm run validate:sku-iac-coverageThen run bicep build and bicep lint, or terraform fmt -check and
terraform validate, for the selected stack.
Reference Index
Load references progressively; do not read the directory wholesale.
| Decision area | References |
| Naming and tags | Naming examples, tag strategy |
| AVM and security | AVM modules, security and AVM pitfalls |
| Networking | VNet planning, identity resolution |
| Cost and sizing | Cost baseline, Bicep, Terraform, pricing, service matrices |
| Governance and lifecycle | Governance discovery, policy effects, deprecated services, workflow gates |
| Architecture and review | WAF criteria, research workflow, review protocol, deep review |
| IaC implementation | Terraform conventions, plan decisions, Azure CLI auth |
| Artifact integration | Artifact categories, cost delegation, service class menu |
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
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.

