microsoftlearning/trainer-demo-deploy/az-consolidated
Claude Code and agent skill by microsoftlearning/trainer-demo-deploy
- community
Checking that the SKILL.md file is still in the repository.
Consolidated skill for Azure demo scenario generation: defaults, AVM-first Bicep, architecture diagrams, artifact templates, and demo guide patterns.
Install
npx vskill@latest install microsoftlearning/trainer-demo-deploy/az-consolidatedSKILL.md
The same SKILL.md was published earlier as microsoftlearning/trainer-demo-deploy/az-consolidated.
Azure Demo Builder — Consolidated Skill
Single reference for all agents. Covers Azure defaults, Bicep patterns, architecture diagrams, artifact templates, and demo guide generation.
1. Azure Defaults
Default Regions
| Service | Default Region | Reason | |
|---|---|---|---|
| All resources | eastus2 | Primary Azure Region | |
| Static Web Apps | westeurope | Not available in swedencentral | |
| Azure OpenAI | swedencentral | Limited availability — verify first | |
| Fallback | westus3 | Secondary Azure Region (if needed) |
Required Tags
| Tag | Required | Example Values | |
|---|---|---|---|
Environment | Yes | AZD Environment Name | |
ManagedBy | Yes | Bicep | |
Project | Yes | Project identifier | |
SecurityControl | Yes | Ignore |
Resource Group Tags: When usingtargetScope = 'resourceGroup', azdcreates the RG without tags. Add this tomain.bicepto tag the RG:```bicepresource rgTags 'Microsoft.Resources/tags@2024-03-01' = {name: 'default'properties: { tags: tags }}```
Unique Suffix Pattern
Generate ONCE in main.bicep, pass to ALL modules:
Security Baseline
| Setting | Value | Applies To | |
|---|---|---|---|
supportsHttpsTrafficOnly | true | Storage accounts | |
minimumTlsVersion | 'TLS1_2' | All services | |
allowBlobPublicAccess | false | Storage accounts | |
publicNetworkAccess | 'Disabled' | Data services | |
| Authentication | Managed Identity | Prefer over keys/strings | |
| SQL Auth | Azure AD-only | azureADOnlyAuthentication: true |
Naming Conventions
| Resource | Abbreviation | Name Pattern | Max Length | |
|---|---|---|---|---|
| Resource Group | rg | rg-{project}-{env} | 90 | |
| Virtual Network | vnet | vnet-{project}-{env} | 64 | |
| Subnet | snet | snet-{purpose}-{env} | 80 | |
| NSG | nsg | nsg-{purpose}-{env} | 80 | |
| Key Vault | kv | kv-{short}-{env}-{suffix} | 24 | |
| Storage Account | st | st{short}{env}{suffix} | 24 | |
| App Service Plan | asp | asp-{project}-{env} | 40 | |
| App Service | app | app-{project}-{env} | 60 | |
| SQL Server | sql | sql-{project}-{env} | 63 | |
| SQL Database | sqldb | sqldb-{project}-{env} | 128 | |
| Static Web App | stapp | stapp-{project}-{env} | 40 | |
| Log Analytics | log | log-{project}-{env} | 63 | |
| App Insights | appi | appi-{project}-{env} | 255 | |
| Container App | ca | ca-{project}-{env} | 32 | |
| Container Env | cae | cae-{project}-{env} | 60 | |
| Cosmos DB | cosmos | cosmos-{project}-{env} | 44 | |
| Service Bus | sb | sb-{project}-{env} | 50 |
Length-constrained resources (Key Vault, Storage — 24 char limit):
Rules: lowercase with hyphens, include uniqueSuffix in globally unique names, use take() to truncate, no hyphens in Storage Account names.
azure.yaml Naming Convention
Every generated-scenarios/{project}/azure.yaml MUST follow this naming pattern:
| Field | Pattern | Example (newfoundrydemo) | |
|---|---|---|---|
name | tdd-azd-{project} | tdd-azd-newfoundrydemo | |
template | tddazd-{project}@1.0.0 | tddazd-newfoundrydemo@1.0.0 |
[!IMPORTANT]Thenamefield usestdd-azd-prefix (with hyphens).Thetemplatefield usestddazd-prefix (no hyphens before project name).This is mandatory for all scenarios — agents generatingazure.yamlmust apply this.
2. Azure Verified Modules (AVM)
AVM-First Policy
- ALWAYS check AVM availability first via
mcp_bicep_list_avm_metadata - Use AVM module defaults for SKUs when available
- NEVER write raw Bicep for a resource that has an AVM module
Common AVM Modules
| Resource | Module Path | Min Version | |
|---|---|---|---|
| Key Vault | br/public:avm/res/key-vault/vault | 0.11.0 | |
| Virtual Network | br/public:avm/res/network/virtual-network | 0.5.0 | |
| Storage Account | br/public:avm/res/storage/storage-account | 0.14.0 | |
| App Service Plan | br/public:avm/res/web/serverfarm | 0.4.0 | |
| App Service | br/public:avm/res/web/site | 0.12.0 | |
| SQL Server | br/public:avm/res/sql/server | 0.10.0 | |
| Log Analytics | br/public:avm/res/operational-insights/workspace | 0.9.0 | |
| App Insights | br/public:avm/res/insights/component | 0.4.0 | |
| NSG | br/public:avm/res/network/network-security-group | 0.5.0 | |
| Static Web App | br/public:avm/res/web/static-site | 0.4.0 | |
| Container App | br/public:avm/res/app/container-app | 0.11.0 | |
| Container Env | br/public:avm/res/app/managed-environment | 0.8.0 | |
| Cosmos DB | br/public:avm/res/document-db/database-account | 0.10.0 | |
| Front Door | br/public:avm/res/cdn/profile | 0.7.0 | |
| Service Bus | br/public:avm/res/service-bus/namespace | 0.10.0 | |
| Container Registry | br/public:avm/res/container-registry/registry | 0.6.0 |
AVM Usage Pattern
AVM Known Pitfalls
| Module | Issue | Fix | |
|---|---|---|---|
| Log Analytics | dailyQuotaGb is int, not string | Use dailyQuotaGb: 5 | |
| Container Env | appLogsConfiguration deprecated | Use logsConfiguration with destination obj | |
| Container App | scaleSettings is object, not array | Check AVM schema for exact shape | |
| SQL Server | sku is typed object {name,tier,cap} | Pass full SKU object | |
| App Service | Instrumentation key deprecated | Use APPLICATIONINSIGHTS_CONNECTION_STRING | |
| Key Vault | softDeleteRetentionInDays is immutable | Set correctly on first deploy (default: 90) | |
| Static Web App | Free SKU unreliable via ARM in some regions | Use Standard for reliable Bicep deployment | |
| Static Web Apps region | Only 5 regions available | Use westeurope for EU |
3. Bicep Patterns
Private Endpoint Wiring
Three-resource pattern: private endpoint → DNS zone group → DNS zone link.
Group IDs by service type:
| Service | Group ID | DNS Zone | |
|---|---|---|---|
| Storage Blob | blob | privatelink.blob.core.windows.net | |
| Storage Table | table | privatelink.table.core.windows.net | |
| Key Vault | vault | privatelink.vaultcore.azure.net | |
| SQL Server | sqlServer | privatelink.database.windows.net | |
| Cosmos DB | Sql | privatelink.documents.azure.com | |
| App Service | sites | privatelink.azurewebsites.net | |
| Event Hub | namespace | privatelink.servicebus.windows.net | |
| Container Reg | registry | privatelink.azurecr.io |
Diagnostic Settings
Every resource must send logs and metrics to a workspace:
Conditional Deployment
Module Composition Contract
Every module accepts name, location, tags, logAnalyticsWorkspaceName. Every module outputs resourceId, resourceName, principalId.
Managed Identity Binding
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.github/skills/az-consolidated/SKILL.md
Popularity
- Repository stars
- 31
- Repository forks
- 26
- 7-day trend score
- 17
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/microsoftlearning/trainer-demo-deploy/az-consolidated)