azure-defaults

Applies Azure infrastructure defaults for regions, CAF naming, tags, AVM modules, and security baselines.

Updated May 12, 2026
One-click install
npx skills add https://github.com/sohamda/apex-try-out-demo-repo --skill azure-defaults-sohamda
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: azure-defaults
Source: https://github.com/sohamda/apex-try-out-demo-repo/tree/main/.github/skills/azure-defaults
Command: npx skills add https://github.com/sohamda/apex-try-out-demo-repo --skill azure-defaults-sohamda

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Generating Azure infrastructure code without consistent defaults leads to naming violations, missing required tags, insecure configurations, and raw Bicep/Terraform written where Azure Verified Modules already exist. This Skill provides a single source of truth for Azure infrastructure configuration so every generated resource follows the same governance and security rules. ## Core Features & Use Cases - Region and Tag Defaults: Enforces swedencentral as the default EU GDPR-compliant region, failover to germanywestcentral, and the four required PascalCase tags (Environment, ManagedBy, Project, Owner) on every taggable resource. - CAF Naming Conventions: Supplies abbreviation and length-cap tables for resource groups, Key Vault, Storage Accounts, and more, including unique suffix patterns via uniqueString(resourceGroup().id). - AVM-First Policy and Security Baseline: Requires Azure Verified Modules before any raw Bicep/Terraform, and enforces HTTPS-only, TLS 1.2, no public blob access, and Managed Identity over keys. - Use Case: When an agent generates a Bicep template for a new web application, it loads this Skill to pick the correct region, apply CAF-compliant names within length limits, attach all required tags, select AVM modules, and wire the security baseline before validation. ## Quick Start Ask the agent to generate an Azure storage account and Key Vault using the azure-defaults conventions with all required tags and the security baseline applied.

Frequently Asked Questions about azure-defaults

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I apply CAF naming conventions to Azure resources in Bicep?▼

Use the abbreviation and pattern tables provided, such as rg-{project}-{env} for resource groups and kv-{short}-{env}-{suffix} for Key Vault. For length-constrained resources like Storage Accounts, use take() to truncate names and always include a unique suffix derived from uniqueString(resourceGroup().id).

What is the AVM-first policy for Azure infrastructure code?▼

AVM-first means you must always check the Azure Verified Modules registry before writing any resource, use AVM defaults for SKUs when available, and never write raw Bicep or Terraform for a resource that has an AVM module. The full module registry is in references/avm-modules.md.

Which Azure region should I use by default for EU deployments?▼

The default region is swedencentral because it is EU GDPR-compliant, with germanywestcentral as the failover alternative. Static Web Apps are the exception and use westeurope because they are not available in swedencentral.

Why does Azure Policy fail with AmbiguousPolicyEvaluationPaths on tags?▼

This error occurs when a template emits case-variant tag keys such as both owner and Owner, which Azure Policy treats as ambiguous evaluation paths. Always use exact PascalCase for the required tags: Environment, ManagedBy, Project, and Owner.

What security baseline settings are required for Azure resources?▼

The baseline requires HTTPS-only set to true, TLS 1.2 as the minimum, public blob access disabled on storage, public network access disabled for production data services, and Managed Identity preferred over keys. These settings are non-negotiable for every generated resource.

When should I not use this Skill?▼

Do not use it for artifact template structures, which belong to the azure-artifacts skill, or for pricing lookups, which are handled by reading references/pricing-guidance.md on demand. It is scoped to infrastructure defaults, naming, tagging, and security baselines only.