AZ

azure-defaults

Maintains a single source of truth for Azure resource configuration, including tagging, regions, and naming policies.

Install

mkdir -p .claude/skills/azure-defaults && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/14902" && unzip -o skill.zip -d .claude/skills/azure-defaults && rm skill.zip

Installs to .claude/skills/azure-defaults

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Azure infrastructure defaults: regions, tags, naming (CAF), AVM-first policy, security baseline, unique suffix patterns. USE FOR: any agent generating or planning Azure resources. DO NOT USE FOR: artifact template structures (use azure-artifacts), pricing lookups (read references/pricing-guidance.md on demand).
312 chars✓ has a “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
Beginner

Key capabilities

  • Define default Azure regions for all resources and specific services like Static Web Apps.
  • Specify required Azure tags, including `Environment`, `ManagedBy`, `Project`, and `Owner`.
  • Generate a unique suffix pattern for globally unique Azure resource names.
  • Apply a security baseline with settings for HTTPS-only, TLS minimum, and public blob access.
  • Adhere to CAF naming conventions for various Azure resources like Resource Groups and Virtual Networks.
  • Prioritize Azure Verified Modules (AVM) for resource deployment.

How it works

The skill provides a single source of truth for Azure infrastructure configuration, detailing default regions, required tags, naming conventions, and security baselines. It guides agents in generating or planning Azure resources by applying these predefined standards.

Inputs & outputs

You give it
Azure resource type and project details
You get back
Azure configuration settings including regions, tags, naming conventions, and security baselines

When to use azure-defaults

  • Setting up Azure resource tags
  • Defining region defaults for deployments
  • Ensuring infrastructure naming compliance

About this skill

Azure Defaults Skill

Single source of truth for Azure infrastructure configuration. Deep-dive content lives in references/ — load on demand.


Quick Reference (Load First)

Default Regions

ServiceDefault RegionReason
All resourcesswedencentralEU GDPR-compliant
Static Web AppswesteuropeNot available in swedencentral
FailovergermanywestcentralEU paired alternative

Required Tags (Azure Policy Enforced)

These 4 tags are the MINIMUM baseline. Always defer to 04-governance-constraints.md for the actual required tag list.

TagRequiredExample Values
EnvironmentYesdev, staging, prod
ManagedByYesBicep or Terraform
ProjectYesProject identifier
OwnerYesTeam or individual name

Tag Casing Rule: Use PascalCase exactly as shown above (Environment, ManagedBy, Project, Owner). Never emit both owner and Owner or environment and Environment in the same template — Azure Policy treats case-variant tag keys as ambiguous evaluation paths (AmbiguousPolicyEvaluationPaths error).

Unique Suffix Pattern

Generate ONCE, pass to ALL modules:

var uniqueSuffix = uniqueString(resourceGroup().id)

Security Baseline (5-Line Summary)

SettingValueApplies To
HTTPS-onlytrueStorage, all
TLS minimum'TLS1_2'All services
Public blob accessfalseStorage
Public network (prod)'Disabled'Data services
AuthenticationManaged IdentityPrefer over keys

For AVM pitfalls and deprecation patterns, read references/security-baseline-full.md.

Deprecated Services (Do NOT Recommend for Greenfield)

Deprecated ServiceReplacementSinceNotes
Azure AD B2CMicrosoft Entra External IDMay 2025Not available for new tenants
Redis Enterprise E50Azure Managed Redis (Enterprise)March 2027Plan migration before EOL
CDN WAF (classic)Front Door Standard/Premium WAF2025CDN WAF creation blocked
App Gateway v1App Gateway v2April 2026Classic SKU retiring
CDN Standard MicrosoftFront Door Standard2027Migration required

Rule: Never recommend deprecated services for greenfield projects. Before recommending any service with a multi-year RI commitment, verify the service retirement timeline extends beyond the commitment period. Check Microsoft Learn deprecation announcements.


CAF Naming Conventions

ResourceAbbrPatternMax
Resource Grouprgrg-{project}-{env}90
Virtual Networkvnetvnet-{project}-{env}64
Subnetsnetsnet-{purpose}-{env}80
NSGnsgnsg-{purpose}-{env}80
Key Vaultkvkv-{short}-{env}-{suffix}24
Storage Accountstst{short}{env}{suffix}24
App Service Planaspasp-{project}-{env}40
App Serviceappapp-{project}-{env}60
SQL Serversqlsql-{project}-{env}63
SQL Databasesqldbsqldb-{project}-{env}128
Static Web Appstappstapp-{project}-{env}40
Log Analyticsloglog-{project}-{env}63
App Insightsappiappi-{project}-{env}255

For extended abbreviations and length-constraint examples, read references/naming-full-examples.md.


Azure Verified Modules (AVM)

  1. ALWAYS check AVM availability first
  2. Use AVM defaults for SKUs when available
  3. NEVER write raw Bicep/TF for a resource that has an AVM module

For the full Bicep + Terraform AVM module registry, read references/avm-modules.md.


Template-First Output Rules

RuleRequirement
Exact textUse template H2 text verbatim
Exact orderRequired H2s in template-defined order
Anchor ruleExtra sections only AFTER last required H2
No omissionsAll template H2s must appear in output
Attribution> Generated by {agent} agent | {YYYY-MM-DD}

Validation Checklist

  • Output saved to agent-output/{project}/
  • All required H2 headings present and correctly ordered
  • All 4 required tags included in resource definitions
  • Unique suffix used for globally unique names
  • Security baseline settings applied
  • Region defaults correct

Reference Index

Load these on demand — do NOT read all at once:

ReferenceWhen to Load
references/naming-full-examples.mdGenerating names for length-constrained resources
references/avm-modules.mdLooking up AVM module paths or versions
references/security-baseline-full.mdDebugging AVM parameter issues or checking deprecations
references/pricing-guidance.mdRunning cost estimates with Azure Pricing MCP
references/service-matrices.mdMapping user requirements to Azure service tiers
references/waf-criteria.mdScoring WAF pillar assessments
references/governance-discovery.mdDiscovering Azure Policy constraints
references/policy-effect-decision-tree.mdTranslating policy effects into plan/code actions
references/adversarial-review-protocol.mdRunning challenger-review-subagent passes
references/azure-cli-auth-validation.mdValidating Azure CLI auth before deployments
references/terraform-conventions.mdGenerating Terraform (HCL) code
references/research-workflow.mdFollowing the standard 4-step research pattern

When not to use it

  • When artifact template structures are needed, use `azure-artifacts`.
  • When pricing lookups are needed, read `references/pricing-guidance.md` on demand.
  • When recommending deprecated services for greenfield projects.

Limitations

  • It does not handle artifact template structures.
  • It does not provide pricing lookups.
  • It does not recommend deprecated services for new projects.

How it compares

This skill centralizes Azure configuration standards, ensuring consistent and compliant deployments, unlike manual configuration which can lead to inconsistencies and policy violations.

Compared to similar skills

azure-defaults side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
azure-defaults (this skill)04moNo flagsBeginner
aws-solution-architect203moReviewAdvanced
terraform-module-library75moNo flagsAdvanced
azure-deployment-preflight76moReviewAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

aws-solution-architect

alirezarezvani

Design AWS architectures for startups using serverless patterns and IaC templates. Use when asked to design serverless architecture, create CloudFormation templates, optimize AWS costs, set up CI/CD pipelines, or migrate to AWS. Covers Lambda, API Gateway, DynamoDB, ECS, Aurora, and cost optimization.

2047

terraform-module-library

wshobson

Build reusable Terraform modules for AWS, Azure, and GCP infrastructure following infrastructure-as-code best practices. Use when creating infrastructure modules, standardizing cloud provisioning, or implementing reusable IaC components.

759

azure-deployment-preflight

github

Performs comprehensive preflight validation of Bicep deployments to Azure, including template syntax validation, what-if analysis, and permission checks. Use this skill before any deployment to Azure to preview changes, identify potential issues, and ensure the deployment will succeed. Activate when users mention deploying to Azure, validating Bicep files, checking deployment permissions, previewing infrastructure changes, running what-if, or preparing for azd provision.

746

terraform-azurerm-set-diff-analyzer

github

Analyze Terraform plan JSON output for AzureRM Provider to distinguish between false-positive diffs (order-only changes in Set-type attributes) and actual resource changes. Use when reviewing terraform plan output for Azure resources like Application Gateway, Load Balancer, Firewall, Front Door, NSG, and other resources with Set-type attributes that cause spurious diffs due to internal ordering changes.

534

terraform-skill

sickn33

Terraform infrastructure as code best practices

829

aws-advisor

tech-leads-club

Expert AWS Cloud Advisor for architecture design, security review, and implementation guidance. Leverages AWS MCP tools for accurate, documentation-backed answers. Use when user asks about AWS architecture, security, service selection, migrations, troubleshooting, or learning AWS. Triggers on AWS, Lambda, S3, EC2, ECS, EKS, DynamoDB, RDS, CloudFormation, CDK, Terraform, Serverless, SAM, IAM, VPC, API Gateway, or any AWS service.

529

Search skills

Search the agent skills registry