aws-well-architected-review Skill
依据 AWS Well-Architected Framework 六大支柱审查 AWS 架构、IaC 和设计文档,输出发现报告,包含按支柱分类的风险(高/中)及具体修复建议。只加载与变更相关的支柱。用于 AWS 架构审查,不用于通用代码审查。触发词:"well-architected review"、"review this AWS architecture"、"WAR review"、"check this design against AWS best practices"、"review my Terraform/CDK for AWS pitfalls"、"is this architecture production-ready"。
安装方式:把技能目录放入 ~/.claude/skills/(Claude Code)或在 claude.ai 设置中启用;也可复制右侧安装命令一键添加。
技能指令原文(SKILL.md)
AWS Well-Architected Review
Run a lightweight Well-Architected review on a concrete artifact — an architecture diagram/description, Terraform/CDK/CloudFormation, or a design doc — and report risks the way the official framework does: per pillar, severity-rated, each with a specific remediation. This is an engineering review to catch issues early; it complements (does not replace) a formal Well-Architected Tool review with an AWS SA.
Pillar Selection
Load only what the change touches — typically 2-4 pillars, not all six:
| Change involves | Load |
|-----------------|------|
| IAM, network exposure, data handling, secrets | references/security.md |
| Availability targets, failover, backups, DR | references/reliability.md |
| Instance/database sizing, scaling, latency paths | references/performance.md |
| Spend-relevant choices: sizing, storage classes, data transfer, commitment plans | references/cost.md |
| Deployment, observability, runbooks, IaC hygiene | references/operations.md |
| Region choice, instance generations, utilization, data lifecycle | references/sustainability.md |
When in doubt for a general "review this architecture" request, default to Security + Reliability + Cost — the three with the highest production-incident and bill impact.
Review Process
- Understand the workload. From the artifact (and one round of questions if needed): what it does, criticality (user-facing? revenue-path?), availability/RTO expectations, data sensitivity, and rough scale. Severity calibration depends on this — an unencrypted dev sandbox is not an unencrypted payments database.
- Select pillars per the table; state which you're skipping and why in one line each.
- Walk each loaded pillar's checklist against the artifact. For every gap, record: pillar, the specific resource/decision at fault, risk severity (High = likely incident/breach/major waste; Medium = degraded posture or growing risk), and a concrete remediation (the actual setting/service/change, not "improve security").
- Credit what's right. List notable good practices observed — a review that only criticizes loses the audience, and "what's already fine" is information the team needs.
- Deliver the report (format below), risks ordered by severity, with a top-3 "fix first" call-out.
Report Format
# Well-Architected Review: [workload name]
**Date:** [YYYY-MM-DD] · **Artifact:** [what was reviewed] · **Pillars:** [loaded pillars]
> Engineering review — for a formal review, use the AWS Well-Architected Tool with your AWS team.
## Workload Context
[2-3 lines: purpose, criticality, scale assumptions used for severity calibration]
## Fix First
1. [Highest-impact finding, one line each]
## Findings
| # | Pillar | Severity | Resource/Decision | Risk | Remediation |
|---|--------|----------|-------------------|------|-------------|
| 1 | Security | High | [e.g. RDS instance `orders-db`] | [specific risk] | [specific change] |
## Good Practices Observed
- [Pillar] [what's done right]
## Pillars Not Reviewed
- [Pillar] — [one-line reason]
Guidelines
- Anchor every finding to a named resource or decision in the artifact. If you can't point at it, you're reviewing your imagination, not their architecture.
- Severity discipline: High means "an SA would stop the meeting for this" — public S3 with sensitive data, single-AZ production database,
:IAM. Don't inflate Mediums. - Cost findings need numbers where possible: "gp2 → gp3 saves ~20% on this 2TB volume" beats "consider storage optimization".
- For Singapore/FSI-regulated workloads, note the overlap and recommend the fsi-compliance-checker skill for the regulatory layer; this review covers engineering best practice, not compliance.
- IaC nuance: review the architecture the code creates, not the code style. Terraform module structure issues belong to the terraform-module skill.