Well Architected Review 标志

Well Architected Review

社区
ricmmartins
well-architected-review

针对范围内的 Azure 资源开展 Well-Architected Framework(WAF)审查。适用于用户询问最佳实践、架构审查、WAF 评估或各支柱的合规情况(可靠性、安全性、成本、卓越运营、性能效率)。

Add to TypingMind

概览

发布者ricmmartins
代码仓库azure-sre-agent-skills
技能名称well-architected-review
星标数
70
复刻数
14
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 ricmmartins 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Well Architected Review AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/ricmmartins/azure-sre-agent-skills/tree/main/skills/01-well-architected-review
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ricmmartins/azure-sre-agent-skills.git /tmp/azure-sre-agent-skills
mkdir -p .claude/skills
cp -r /tmp/azure-sre-agent-skills/skills/01-well-architected-review .claude/skills/well-architected-review
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Well Architected Review,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Well Architected Review。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Well Architected Review 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Well-Architected Review

Purpose

Perform a structured assessment of Azure resources against the five pillars of the Microsoft Azure Well-Architected Framework. Produce a scored report with prioritized recommendations.

When to use this skill

  • User asks "are we following best practices?"
  • User asks for a WAF or Well-Architected review
  • User wants to assess architecture quality before a launch or audit
  • Periodic (quarterly) architecture health check

Pillars and checks

1. Reliability

Run the following checks and report findings:

  1. Availability design: Check if critical workloads use availability zones or availability sets
    bash
    az vm list --query "[].{name:name, zones:zones, availabilitySet:availabilitySet.id}" -o table
    az appservice plan list --query "[].{name:name, zoneRedundant:zoneRedundant, sku:sku.name}" -o table
  2. Backup coverage: Verify Recovery Services vaults and backup policies exist for VMs, databases, and file shares
    bash
    az backup vault list -o table
    Then for each vault:
    bash
    az backup item list --vault-name <vault> --resource-group <rg> --backup-management-type AzureIaasVM -o table
  3. Disaster recovery: Check for paired regions, ASR replication, or geo-redundant storage
  4. Health probes: Verify App Service health checks, load balancer probes, and Container Apps health endpoints
  5. Auto-healing: Check if App Service auto-heal rules or AKS pod disruption budgets are configured

2. Security

  1. Identity: Check for managed identities vs. stored credentials
    bash
    az webapp identity show --name <app> --resource-group <rg>
    az ad app list --query "[].{name:displayName, passwordCredentials:passwordCredentials}" -o table
  2. Network isolation: Check for private endpoints, NSGs, and service endpoints
    bash
    az network private-endpoint list -o table
    az network nsg list -o table
  3. Encryption: Verify encryption at rest (storage, databases) and in transit (TLS)
  4. Key management: Check Key Vault usage and key/secret expiration dates
    bash
    az keyvault list -o table
    az keyvault secret list --vault-name <vault> --query "[].{name:name, expires:attributes.expires}" -o table
  5. Defender for Cloud: Check Secure Score and outstanding recommendations

3. Cost Optimization

  1. Rightsizing: Identify underutilized VMs (CPU < 5% average over 14 days)
  2. Orphaned resources: Find unattached disks, unused public IPs, empty resource groups
    bash
    az disk list --query "[?managedBy==null].{name:name, size:diskSizeGb, rg:resourceGroup}" -o table
    az network public-ip list --query "[?ipConfiguration==null].{name:name, rg:resourceGroup}" -o table
  3. Reservations: Check if high-usage resources could benefit from reserved instances
  4. Dev/Test pricing: Verify non-production workloads use Dev/Test subscriptions or B-series VMs
  5. Storage tiers: Check if cool/archive tiers are used for infrequently accessed data

4. Operational Excellence

  1. IaC coverage: Check for ARM/Bicep/Terraform templates in connected repos
  2. Tagging: Verify mandatory tags (environment, owner, cost-center) exist
    bash
    az resource list --query "[?tags.environment==null].{name:name, type:type, rg:resourceGroup}" -o table
  3. Monitoring: Check for alert rules, action groups, and diagnostic settings
    bash
    az monitor metrics alert list -o table
    az monitor diagnostic-settings list --resource <id> -o table
  4. Deployment practices: Check for deployment slots, blue-green, or canary configurations
  5. Automation: Check for runbooks, Logic Apps, or scheduled tasks for routine operations

5. Performance Efficiency

  1. Autoscaling: Verify autoscale rules exist for App Service plans, VMSS, and Container Apps
    bash
    az monitor autoscale list --resource-group <rg> -o table
    Note: az monitor autoscale list requires --resource-group. Iterate over relevant resource groups, or use Azure Resource Graph:
    bash
    az graph query -q "resources | where type == 'microsoft.insights/autoscalesettings'" -o table
  2. Caching: Check for Redis Cache or CDN usage on high-traffic workloads
  3. Database performance: Check DTU/vCore utilization, index recommendations
  4. Content delivery: Verify static assets use CDN or Front Door
  5. Connection pooling: Check for connection string patterns suggesting missing pooling

Scoring model

For each check, assign one of:

  • ✅ Pass — follows best practice
  • ⚠️ Needs attention — partially implemented or at risk
  • ❌ Fail — not implemented, risk exposure

Accepted exceptions (optional)

If the user provides a list of accepted exceptions, do not flag those items. Instead, note them in the report as Accepted Exception with the reason provided.

Example format the user may provide:

CheckReason
1.1 Availability zonesSingle-AZ by design to reduce cost
3.3 Reserved instancesShort-term workload, reservations not applicable
5.5 Connection poolingLegacy app uses persistent connections by design

When exceptions are provided:

  • Skip the flagged checks in scoring
  • List them in a separate "Accepted Exceptions" section at the end of the report
  • Recalculate the overall score excluding excepted checks

Expected output

Report header (mandatory — use this exact format)

Well-Architected Review Report

FieldValue
Subscription(name + ID)
Assessment DateYYYY-MM-DD
Overall ScoreXX%

Summary

A table with pillar scores:

PillarPassNeeds AttentionFailScore
ReliabilityXYZX/(X+Y+Z) %
Security............
Cost Optimization............
Operational Excellence............
Performance Efficiency............
Overallavg %

Detailed findings

For each pillar, list every check with:

  • Status (pass/attention/fail)
  • Evidence (command output or observation)
  • Recommendation (specific action to take)
  • Priority (Critical / High / Medium / Low)
  • Reference link to WAF documentation

Top 5 recommendations

Ordered by impact, with estimated effort (hours/days) for each.

Remediation guidance

For each ❌ or ⚠️ finding, include in the output:

  1. The specific az CLI command to remediate (suggest only — do not execute)
  2. Use GetAzCliHelp to validate the command syntax before suggesting
  3. The official Microsoft Learn documentation link for the remediation

References

Sample output

The following is a redacted example of what the report looks like when run against a subscription.

Well-Architected Review Report

FieldValue
Subscriptioncontoso-prod-001 (a1b2c3d4-e5f6-7890-abcd-ef1234567890)
Assessment Date2026-07-15
Overall Score68%

Summary

PillarPassNeeds AttentionFailScore
Reliability31160%
Security22140%
Cost Optimization41080%
Operational Excellence31160%
Performance Efficiency40180%
Overall165468%

Detailed findings (sample)

Reliability
CheckStatusEvidencePriority
1.1 Availability zones❌ FailVMs vm-web-01, vm-web-02 in rg-app-prod have no zones configuredCritical
1.2 Backup coverage✅ PassRecovery Services vault rsv-prod-eastus protects 4/4 VMs—
1.3 Disaster recovery⚠️ Needs attentionNo ASR replication configured for rg-app-prodHigh
Security
CheckStatusEvidencePriority
2.1 Managed identity✅ PassApp Service app-api-prod uses System-Assigned MI—
2.2 Network isolation❌ FailSQL Server sql-contoso-prod has public endpoint enabledCritical
2.3 Key management⚠️ Needs attention2 secrets in kv-contoso-prod expire within 30 daysHigh

Top 5 recommendations

#RecommendationImpactEffort
1Enable availability zones on production VMsCritical2 hours
2Disable public endpoint on SQL ServerCritical30 min
3Configure ASR replication for rg-app-prodHigh4 hours
4Rotate expiring Key Vault secretsHigh1 hour
5Add autoscale rules to App Service plan asp-prodMedium30 min

Remediation guidance (sample)

bash
# Enable availability zones on VM (redeploy required)
az vm create --name vm-web-01 --resource-group rg-app-prod --zone 1 ...

# Disable public access on SQL Server
az sql server update --name sql-contoso-prod --resource-group rg-data-prod --set publicNetworkAccess="Disabled"

# Add autoscale rule to App Service plan
az monitor autoscale create --resource-group rg-app-prod --resource asp-prod --resource-type Microsoft.Web/serverfarms --min-count 2 --max-count 10 --count 2

常见问题

Well Architected Review AI 技能有什么作用?

针对范围内的 Azure 资源开展 Well-Architected Framework(WAF)审查。适用于用户询问最佳实践、架构审查、WAF 评估或各支柱的合规情况(可靠性、安全性、成本、卓越运营、性能效率)。

为什么在 TypingMind 中使用 Well Architected Review?

因为您只需安装一次,就能搭配任何模型使用。Well Architected Review 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Well Architected Review?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/ricmmartins/azure-sre-agent-skills/tree/main/skills/01-well-architected-review。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Well Architected Review?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Well Architected Review 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Well Architected Review 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Well Architected Review AI 技能免费吗?

是的。ricmmartins 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇