MR
Mayur Rathi
@github
⭐ 34.1k GitHub stars

Azure-Well-Architected-Review

Azure-Well-Architected-Review is an code AI skill with a core value of Perform an Azure Well-Architected Framework review of the current workload IaC and architecture, generating findings and GitHub issues for improvements. It helps developers solve real-world problems in the code domain, boosting efficiency, automating repetitive tasks, and optimizing workflows.

Perform an Azure Well-Architected Framework review of the current workload IaC and architecture, generating findings and GitHub issues for improvements.

Last verified on: 2026-08-02

Quick Facts

Category code
Works With Claude, GitHub Copilot
Source github/awesome-copilot
Stars ⭐ 34.1k
Last Verified 2026-08-02
Risk Level Low
mkdir -p ./skills/azure-well-architected-review && curl -sfL https://raw.githubusercontent.com/github/awesome-copilot/main/skills/azure-well-architected-review/SKILL.md -o ./skills/azure-well-architected-review/SKILL.md

Run in terminal / PowerShell. Requires curl (Unix) or PowerShell 5+ (Windows).

Skill Content

# Azure Well-Architected Review


This workflow performs a structured Azure Well-Architected Framework (WAF) review against your workload's IaC files and deployed infrastructure. It identifies risks across all 5 WAF pillars and creates GitHub issues to track remediation.


Prerequisites

- Azure CLI (`az`) configured and authenticated

- IaC files present in the repository (Bicep, Terraform, or ARM templates)

- GitHub MCP server configured and authenticated


Workflow Steps


Step 1: Load Well-Architected Framework Reference

Fetch current Azure WAF best practices:

- `https://learn.microsoft.com/en-us/azure/well-architected/`

- Service guides for the Azure services in use (`https://learn.microsoft.com/en-us/azure/well-architected/service-guides/`)

- Workload-specific guidance relevant to the workload type (SaaS, mission-critical, AI, etc.)


If the `microsoft.docs.mcp` MCP server is available, use it to query the latest pillar checklists and service-specific recommendations.


Step 2: Discover IaC & Architecture

Establish the review scope, then inventory both the code and the live environment:


1. **Confirm the Azure scope**: Ask the user which subscription(s)/resource group(s) are in scope, or infer them from IaC parameters and confirm.

2. **Scan the repository for IaC files**:

- Bicep: `**/*.bicep`, `bicepconfig.json`

- Terraform: `**/*.tf` (azurerm/azapi providers)

- ARM templates: `**/azuredeploy*.json`, `**/*.template.json`, files with `$schema` containing `deploymentTemplate`

3. **Inventory live resources** (always, even when IaC exists): `az resource list --resource-group <rg> --output json` (or subscription-wide), plus targeted `az <service> show` calls for configuration details the pillar checks need.

4. **Compare IaC with live inventory**: Flag drift — resources present in Azure but absent from IaC (portal-created), resources defined in IaC but not deployed, and configuration mismatches. Record drift findings for Step 3 (they typically map to the Operational Excellence pillar).


Identify key Azure services in use (compute, data, networking, security, observability) and generate a Mermaid architecture diagram.


Step 3: Pillar-by-Pillar Review


#### Pillar 1: Reliability

- [ ] Availability zones enabled for zonal services (VMs, VMSS, AKS node pools, App Service, SQL, Storage ZRS)

- [ ] Production SKUs support the required SLA (no Basic/Free tiers on critical paths)

- [ ] Azure SQL / Cosmos DB backup and point-in-time restore configured with appropriate retention

- [ ] Geo-redundancy configured where RPO requires it (GRS/RA-GRS storage, SQL failover groups, Cosmos DB multi-region)

- [ ] Autoscale rules configured for App Service plans, VMSS, AKS (no fixed single instance for production)

- [ ] Health probes configured on Load Balancer / Application Gateway / Front Door backends

- [ ] Dead-lettering enabled for Service Bus queues/subscriptions and Event Grid subscriptions

- [ ] Retry policies with exponential backoff implemented for transient fault handling

- [ ] Disaster recovery plan defined (documented RTO/RPO, tested failover)


#### Pillar 2: Security

- [ ] Managed identities used instead of service principals with secrets or connection strings

- [ ] No hardcoded credentials, keys, or connection strings in IaC or code

- [ ] Secrets stored in Azure Key Vault with RBAC authorization (not access policies)

- [ ] Storage accounts deny public blob access and disallow shared key access where possible

- [ ] Private endpoints (or at minimum service endpoints + firewall rules) for PaaS data services

- [ ] NSGs restrict inbound traffic to minimum required ports/CIDRs (no `*` → `*` allow rules)

- [ ] TLS 1.2+ enforced on all endpoints (`minimumTlsVersion`, `httpsOnly`)

- [ ] Azure RBAC follows least privilege (no Owner/Contributor at subscription scope for workload identities)

- [ ] Microsoft Defender for Cloud enabled on relevant resource types (`az security pricing list`)

- [ ] Azure WAF (Application Gateway o

🎯 Best For

  • Engineering teams doing code reviews
  • Open source maintainers
  • Claude users
  • GitHub Copilot users
  • Software engineers

💡 Use Cases

  • Reviewing pull requests for security vulnerabilities
  • Checking code style consistency
  • Code quality improvement
  • Best practice enforcement

📖 How to Use This Skill

  1. 1

    Install the Skill

    Copy the install command from the Terminal tab and run it. The SKILL.md file downloads to your local skills directory.

  2. 2

    Load into Your AI Assistant

    Open Claude or GitHub Copilot and reference the skill. Paste the SKILL.md content or use the system prompt tab.

  3. 3

    Apply Azure-Well-Architected-Review to Your Work

    Open your project in the AI assistant and ask it to apply the skill. Start with a small module to verify the output quality.

  4. 4

    Review and Refine

    Review AI suggestions before committing. Run tests, check for regressions, and iterate on the skill output.

❓ Frequently Asked Questions

Does this skill check for OWASP Top 10?

Security-focused review skills often include OWASP checks. Check the skill content for specific vulnerability categories covered.

Is Azure-Well-Architected-Review compatible with Cursor and VS Code?

Yes — this skill works with any AI coding assistant including Cursor, VS Code with Copilot, and JetBrains IDEs.

Do I need specific dependencies for Azure-Well-Architected-Review?

Check the install command and Works With section. Most code skills only require the AI assistant and your codebase.

How do I install Azure-Well-Architected-Review?

Copy the install command from the Terminal tab and run it. The skill downloads to ./skills/azure-well-architected-review/SKILL.md, ready to use.

Can I customize this skill for my team?

Absolutely. Edit the SKILL.md file to add team-specific instructions, examples, or workflows.

⚠️ Common Mistakes to Avoid

Blindly accepting AI suggestions

Always verify AI-generated review comments. Some suggestions may not apply to your specific codebase conventions.

Skipping validation

Always test AI-generated code changes, even for simple refactors.

Missing dependency updates

Check if the skill requires updated dependencies or new packages.

🔗 Related Skills