azure-well-architected-review
Skill này làm gì
Công cụ này kiểm tra xem hạ tầng đám mây Azure của bạn có tuân theo thực hành tốt nhất về bảo mật, độ tin cậy và hiệu quả không. Nó phân tích mã hạ tầng và môi trường đang chạy để tìm chỗ cần cải thiện.
Khi nào nên dùng
- ✓Khi bắt đầu một dự án Azure mới.
- ✓Sau khi thay đổi đáng kể hạ tầng của bạn.
- ✓Để đảm bảo ứng dụng an toàn và tiết kiệm chi phí.
Liên kết skill
https://github.com/github/awesome-copilot/blob/main/skills/azure-well-architected-review/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Xem xét hạ tầng Azure của tôi và cho tôi biết chỗ nào có thể cải thiện để an toàn và đáng tin cậy hơn.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Công cụ so sánh các thực hành tốt nhất của Microsoft với cấu hình đám mây và mã hiện tại của bạn. Nó kiểm tra mọi thứ đã được thiết lập đúng chưa và đề xuất cách sửa.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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:
- Confirm the Azure scope: Ask the user which subscription(s)/resource group(s) are in scope, or infer them from IaC parameters and confirm.
- Scan the repository for IaC files:
- Bicep:
**/*.bicep,bicepconfig.json - Terraform:
**/*.tf(azurerm/azapi providers) - ARM templates:
**/azuredeploy*.json,**/*.template.json, files with$schemacontainingdeploymentTemplate
- Bicep:
- Inventory live resources (always, even when IaC exists):
az resource list --resource-group <rg> --output json(or subscription-wide), plus targetedaz <service> showcalls for configuration details the pillar checks need. - 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 or Front Door) configured for public-facing web endpoints
- Diagnostic settings send security logs to Log Analytics / Microsoft Sentinel
Pillar 3: Cost Optimization
- Reservations or savings plans evaluated for steady-state compute (VMs, App Service, SQL)
- Storage lifecycle management policies move blobs to cool/archive tiers
- Right-sized SKUs based on actual utilization (no oversized VMs/App Service plans)
…
Câu hỏi thường gặp
5 trụ cột của Azure Well-Architected Framework là gì?
Đó là 5 lĩnh vực chính để xây dựng ứng dụng đám mây: Độ tin cậy, Bảo mật, Tối ưu chi phí, Xuất sắc trong vận hành và Hiệu quả hiệu năng.
IaC là gì?
IaC là viết tắt của “Infrastructure as Code” (hạ tầng dưới dạng mã). Đó là cách quản lý và cấp phát hạ tầng đám mây bằng các tệp cấu hình thay vì thao tác thủ công trên giao diện.
Điều gì xảy ra nếu công cụ tìm thấy vấn đề?
Nó tạo “issues” (tác vụ) trên GitHub để bạn theo dõi và sửa các vấn đề tìm thấy trong hạ tầng.
Chi tiết
Mô tả gốc của tác giả
Perform an Azure Well-Architected Framework review of the current workload IaC and architecture, generating findings and GitHub issues for improvements.
repo: github/awesome-copilot
Độ phổ biến
- Sao GitHub
- 40k
- Vị trí xếp hạng
- #7089
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
acquire-codebase-knowledge
40kGiúp agent của bạn hiểu và ghi tài liệu cho một dự án mã nguồn có sẵn. Hữu ích khi đón thành viên mới hoặc nắm tổng quan về kiến trúc.
acreadiness-assess
40kGiúp agent của bạn đánh giá mức độ sẵn sàng cho AI của dự án và tạo báo cáo. Hữu ích để biết dự án đã sẵn sàng dùng công cụ AI đến đâu.
acreadiness-generate-instructions
40kGiúp agent của bạn tạo hướng dẫn cho công cụ AI dựa trên kết quả đánh giá. Hữu ích để cải thiện cách AI làm việc với mã và khắc phục các khoảng trống.
acreadiness-policy
40kGiúp agent của bạn xác định hoặc áp dụng chính sách đánh giá dự án bằng AI. Hữu ích để chuẩn hóa cách đánh giá dự án và đảm bảo tuân thủ.
Skill tương tự
openclaw-update
394kGiúp agent của bạn cập nhật OpenClaw Gateway đang có, chọn cách cập nhật phù hợp với cách cài đặt và giữ phiên làm việc của bạn hoạt động.
diagnose-gateway
394kGiúp agent của bạn tìm hiểu vì sao OpenClaw Gateway bị lỗi bằng cách kiểm tra cài đặt, kênh và cổng mà không thay đổi gì.
crabbox-apps
394kGiúp agent của bạn mở và chạy một app trên máy đám mây tạm thời, rồi hiển thị giao diện của nó trong thanh bên của chat.