architecture-decision-…
Run wa-builder in **ADR mode** to create or revise an Architecture Decision Record.
"Learn then Build" — help the user understand AWS Well-Architected best practices for their specific workload, then produce actionable visual artifacts (architecture diagrams with WA annotations, decision trees, improvement roadmaps) they can commit and use.
$ npx -y skills add aws-samples/sample-well-architected-skills-and-steering --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
/wa-builderContext preview
What this command does when you run it.
"Learn then Build" — help the user understand AWS Well-Architected best practices for their specific workload, then produce actionable visual artifacts (architecture diagrams with WA annotations, decision trees, improvement roadmaps) they can commit and use.
"Learn then Build" — help the user understand AWS Well-Architected best practices for their specific workload, then produce actionable visual artifacts (architecture diagrams with WA annotations, decision trees, improvement roadmaps) they can commit and use.
Unlike `/aws-well-architected-framework-review` (which assesses and scores), wa-builder teaches and enables. Adapt explanations for beginners and generate artifacts faster for experienced builders.
Ask the user:
> I can help you understand Well-Architected for your project and produce visual artifacts. Let me know: > - **Workload name** and brief description (or point me at your code) > - **Your WA familiarity**: New to WA / Familiar / Practitioner > - **What you want**: Architecture diagram, decision tree, roadmap, or all three > - **Existing review** (optional): If you have a `/aws-well-architected-framework-review` output, share it for richer artifacts
If context is already provided or you are in a codebase, proceed directly.
**Detect experience** if not stated:
**Path A — Standalone (no prior review):** lightweight discovery — scan IaC for resource types, identify compute pattern (serverless/containers/VMs/mixed), data stores, network topology, deployment patterns. Produce a workload profile: architecture pattern, AWS services in use, per-pillar health signals, top 3 risk hotspots.
**Path B — Post-review (consumes a `/aws-well-architected-framework-review` output):** parse the report for pillar scores, findings by severity, evidence locations, remediation items, and any PlantUML diagram. Use directly — skip discovery, do NOT re-assess.
**Skip entirely for Practitioners.** For Beginners and Familiar, personalize WA to their workload, prioritized by gap severity.
Select concepts by mapping the workload's gaps to WA questions (OPS 1–11, SEC 1–11, REL 1–13, PERF 1–5, COST 1–11, SUS 1–6), clustering related questions, and ordering by risk severity then relevance.
Generate ALL requested artifacts. Each MUST include BP ID references, color/severity indicators, and context specific to THEIR workload (never generic).
**Artifact 1 — Architecture diagram with WA annotations:** PlantUML (primary) + Mermaid alternative. Color-coded component borders — 🟢 key BPs implemented, 🟡 partial gaps, 🔴 critical/high gaps — plus risk-hotspot callouts citing BP IDs and a legend.
**Artifact 2 — Decision trees:** 2–3 Mermaid flowcharts for the most impactful architectural choices (e.g. serverless vs containers, single vs multi-region, canary vs blue/green). Start from their workload context, branch on WA-relevant criteria (availability target, cost tolerance, compliance), end with recommendations citing BP IDs and effort/cost indicators. Present OPTIONS, not mandates.
**Artifact 3 — Improvement roadmap:** Mermaid Gantt chart (Quick Wins → Foundation → Strategic) plus an ASCII dependency graph showing what blocks what. Order by prerequisite relationships, then effort phase, then severity. Keep it REALISTIC — do not pack everything into "Quick Wins".
Suggest where to save the artifacts, e.g.:
Then offer to refine an artifact, deep-dive a decision, generate IaC for a roadmap item, create an ADR (`/architecture-decision-record`), or run a full `/aws-well-architected-framework-review` for precise per-BP scoring.
<!-- Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: MIT-0 -->
Reusable skills and steering that teach AI coding agents how to apply the AWS Well-Architected Framework. One set of playbooks, 15 supported tools. This sample is provided for educational and demonstrative purposes.
Repo: aws-samples/sample-well-architected-skills-and-steering
Run wa-builder in **ADR mode** to create or revise an Architecture Decision Record.
Perform a full AWS Well-Architected Framework review of the user's workload by analyzing code, IaC, and configurations to produce…
Run a pillar-scoped Well-Architected review focused on the **Cost Optimization pillar**.
Assess a workload's readiness to migrate to AWS by analyzing existing code, dependencies, configurations, and infrastructure to…
Run a pillar-scoped Well-Architected review focused on the **Operational Excellence pillar**.
Run a pillar-scoped Well-Architected review focused on the **Performance Efficiency pillar**.