Wa Builder 标志

Wa Builder

组织
aws-samples
wa-builder

"Learn then Build" — help developers 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. Adapts explanations for beginners and generates artifacts faster for experienced builders. Use when the user wants to understand WA for their project, create architecture diagrams with pillar health overlays, get guided decision flows for architectural choices, or generate a visual improvement roadmap.

概览

发布者aws-samples
代码仓库sample-well-architected-skills-and-steering
技能名称wa-builder
星标数
276
复刻数
48
附带文件
4
许可协议MIT-0
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 4 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/aws-samples/sample-well-architected-skills-and-steering.git /tmp/sample-well-architected-skills-and-steering
mkdir -p .claude/skills
cp -r /tmp/sample-well-architected-skills-and-steering/skills/wa-builder .claude/skills/wa-builder
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

一旦请求与技能匹配,模型就会自动加载 Wa Builder。

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Well-Architected Builder

Overview

This skill helps developers understand Well-Architected for their specific workload and produce visual artifacts they can commit. Unlike aws-well-architected-framework-review (which assesses and scores), wa-builder teaches and enables.

What you'll produce:

  1. Architecture diagram with WA annotations (color-coded pillar health, risk hotspots)
  2. Decision trees for architectural choices (contextual trade-off flowcharts)
  3. Improvement roadmap (Gantt timeline + dependency graph)

Knowledge base

This skill uses the AWS Well-Architected Framework (6 pillars, 57 questions) as its knowledge base. It does NOT require external framework files — all guidance is derived from the WA Framework questions and design principles embedded in this skill's instructions.

Step 1: Context and Calibration

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're in a codebase, proceed directly.

Experience detection

If the user doesn't explicitly state familiarity, detect from language:

  • Uses "pillar", "HRI", "RTO/RPO", "blast radius" naturally → Practitioner
  • Asks "what is WA" or "how does this apply" → Beginner
  • Default → Familiar

Adaptive behavior

PhaseBeginnerFamiliarPractitioner
LearningFull pillar explanations with analogiesConcise pillar relevanceSkip → artifacts
DiscoveryGuided questions with examplesDirect questionsAccept shorthand
ArtifactsExplain each annotationBrief legendRaw artifacts only
Decision treesInclude "what does this mean?" nodesStandard decision flowCompact trade-off matrix

Step 2: Workload Discovery

Path A — Standalone (no prior review)

Perform a lightweight discovery:

  1. Scan IaC files for resource types and configurations
  2. Identify primary compute pattern (serverless, containers, VMs, mixed)
  3. Identify data stores and persistence patterns
  4. Identify network topology and external integrations
  5. Identify deployment and operations patterns

Produce a workload profile:

  • Architecture pattern (microservices, monolith, event-driven, etc.)
  • AWS services in use
  • Per-pillar health signals (3-5 strongest indicators per pillar)
  • Top 3 risk hotspots

Path B — Post-review (consumes aws-well-architected-framework-review output)

Parse the aws-well-architected-framework-review report to extract:

  • Pillar scores (1-5) from the scorecard
  • Findings by severity (Critical, High, Medium, Low)
  • Evidence locations (file:line)
  • Remediation plan items
  • Architecture diagram (if PlantUML was generated)

Use this directly — skip lightweight discovery.

---STOP--- Checkpoint: Workload discovery complete — ready to generate learning content and artifacts

Identified architecture pattern ({pattern}), AWS services in use ({services}), per-pillar health signals, and top risk hotspots for {workload name}. User experience level: {Beginner / Familiar / Practitioner}.

Shall I proceed with generating the WA learning content and visual artifacts (architecture diagram, decision trees, roadmap)?

Do NOT proceed past this point until the user explicitly confirms.

Step 3: Learning Phase

Skip entirely for Practitioners. For Beginners and Familiar, personalize WA to their workload.

For each pillar relevant to the workload (prioritize by gap severity):

Beginner format:

markdown
## {Pillar} for Your {Workload Type}

### Why it matters for YOU
{1-2 sentences connecting this pillar to their specific architecture.
Reference their actual services/patterns.}

### Your top 3 concepts to understand:
1. **{Concept}** ({Question ID}) — {One-sentence explanation in their context}
   📖 WA Framework: {Question ID}
   
2. **{Concept}** ({Question ID}) — {Explanation}
   📖 WA Framework: {Question ID}

3. **{Concept}** ({Question ID}) — {Explanation}
   📖 WA Framework: {Question ID}

### Analogy
{One analogy that makes the pillar intuitive for a developer}

Familiar format:

markdown
## {Pillar} — Key Gaps
- {Question ID}: {Brief gap description} ({BP IDs})
- {Question ID}: {Brief gap description} ({BP IDs})

How to select concepts

Based on the workload's architecture pattern and gaps:

  1. Identify which WA questions (OPS 1–11, SEC 1–11, REL 1–13, PERF 1–5, COST 1–11, SUS 1–6) are most relevant
  2. Cluster related questions into coherent "concept groups" (e.g., SEC 2 + SEC 3 = "identity and permissions")
  3. Prioritize by: risk severity first, then relevance to their workload pattern

Step 4: Artifact Generation

Generate ALL requested artifacts. Each artifact MUST include:

  • BP ID references (so the builder can trace back to specific guidance)
  • Color-coding or severity indicators
  • Context specific to THEIR workload (not generic)

Artifact 1: Architecture Diagram with WA Annotations

Generate a PlantUML diagram (primary) with optional Mermaid alternative.

The diagram MUST show:

  • All major components from their architecture
  • Color-coded borders: 🟢 green (all key BPs implemented), 🟡 yellow (partial gaps), 🔴 red (critical/high gaps)
  • Risk hotspot callouts with specific BP IDs
  • Legend explaining the color coding

PlantUML format:

plantuml
@startuml
!define GOOD #28a745
!define WARN #ffc107
!define RISK #dc3545

skinparam component {
  BackgroundColor White
  BorderColor Black
}

' Components colored by pillar health
rectangle "{Service}\n[{Type}]" as {alias} {GOOD|WARN|RISK}

' Risk hotspot annotations
note right of {alias} #RISK
  **Risk Hotspot**
  {BP_ID}: {brief description}
  {BP_ID}: {brief description}
end note

' Legend
legend right
  | Color | Pillar Health |
  | <GOOD> | Key BPs implemented |
  | <WARN> | Partial gaps exist |
  | <RISK> | Critical/High gaps |
endlegend
@enduml

Also provide Mermaid alternative (for tools that render Mermaid natively):


Artifact 2: Decision Trees

Generate Mermaid flowcharts for architectural decisions relevant to the workload's gaps.

Each decision tree MUST:

  • Start with their specific workload context (not generic)
  • Branch on criteria that matter for WA (availability target, cost tolerance, team size, compliance)
  • End with concrete recommendations citing BP IDs
  • Include effort/cost indicators on leaf nodes

Identify decisions to generate by looking at:

  • Critical/High findings that require architectural choices
  • Areas where multiple valid approaches exist (serverless vs containers, single vs multi-region, etc.)
  • Trade-offs between pillars (cost vs reliability, performance vs security)

Format:

Generate 2-3 decision trees based on the most impactful gaps. Common decision domains:

  • Compute: serverless vs containers vs VMs
  • Data: SQL vs NoSQL, single vs multi-region
  • Resilience: multi-AZ vs multi-region, active-active vs warm standby
  • Deployment: canary vs blue/green vs rolling
  • Security: WAF rules, encryption approaches, identity providers

Artifact 3: Improvement Roadmap

Generate a Mermaid Gantt chart + ASCII dependency graph.

Gantt chart — shows timeline with phases:

Dependency graph — shows what blocks what:

IMPROVEMENT DEPENDENCY GRAPH
============================

[{Action A}] ──────────────┐
     │                      │
     ▼                      ▼
[{Action B}] ────► [{Action C}]
                        │
[{Action D}] ──────────┤
     │                  │
     ▼                  ▼
[{Action E}] ────► [{Action F}]

Legend:
  ───► = "must complete before"
  [{text}] = improvement item (colored by severity)

How to determine ordering:

  1. Identify prerequisite relationships between improvements (e.g., Multi-AZ before chaos testing)
  2. Group by effort (Quick Wins → Foundation → Strategic)
  3. Critical/High severity items first within each phase
  4. Consider pillar dependencies (security foundations before advanced detection)

Step 5: Commit Guidance

After generating artifacts, suggest where to save them:

markdown
## Ready to commit

Here are your artifacts:
1. `docs/architecture/wa-annotated.puml` — Architecture with pillar health
2. `docs/decisions/{topic}-decision.md` — Decision tree(s) for key choices
3. `docs/roadmap/wa-improvement-roadmap.md` — Gantt + dependency graph

Would you like me to:
- **Refine** any artifact (more detail, different format)?
- **Deep-dive** into a specific decision with more BP context?
- **Generate IaC** for a specific improvement from the roadmap?
- **Create an ADR** for a decision you've made from the tree?
- **Run a full /aws-well-architected-framework-review** for precise per-BP scoring?

Mode: Architecture Decision Record

When the user asks to "create an ADR", "document a design decision", "evaluate architectural options", or "trade-off analysis", switch to ADR mode. ADRs are grounded in codebase analysis — they document decisions with implementation evidence.

ADR Step 1: Understand the decision

What architecture decision do you need to document?

  • Decision title (e.g., "Switch from SQS to EventBridge for event routing")
  • Context — What problem are you solving?
  • Options considered (at least 2) — or ask me to suggest alternatives

ADR Step 2: Current state discovery

Analyze the codebase to document:

  • Current implementation: what exists today with file paths and line numbers
  • Affected code: every file that changes for each option (quantify)
  • Integration points: interfaces, APIs, contracts each option must satisfy
  • Constraints: language, framework, patterns that limit options
  • Dependencies: other services/components depending on current implementation

ADR Step 3: Evaluate options with evidence

For each option, provide:

  • Files affected (list specific paths)
  • New dependencies introduced
  • Migration steps required
  • Effort (specific, with basis — not T-shirt sizes)
  • WA pillar impact table (only non-neutral pillars, with evidence)
  • Operational impact (monitoring, runbooks, on-call changes)

---STOP--- Present options analysis. Do NOT proceed to recommendation without confirmation.

ADR Step 4: Trade-offs and risks

For the recommended option:

  • What you gain — with evidence from THIS workload
  • What you give up — honest assessment
  • What could go wrong — specific risks + mitigations
  • Reversibility — how hard to undo, what's the escape hatch

For rejected options:

  • Primary rejection reason (one sentence)
  • Under what future condition it becomes better (specific trigger)

ADR Step 5: Produce the ADR

markdown
# ADR-{number}: {Decision Title}

## Status
{Proposed | Accepted | Deprecated | Superseded by ADR-X}

## Date
{YYYY-MM-DD}

## Context
### Problem Statement
{What problem? Why now?}
### Current State
{File paths and code references}
### Constraints
{Derived from codebase — not assumptions}
### Decision Drivers
{Ordered by priority}

## Decision
{One clear statement.}

## Options Evaluated
### Option 1: {name} ← Chosen
- **Pros/Cons/Files affected/Migration/Effort**
### Option 2: {name} — Rejected
- **Pros/Cons/Would choose this if**: {trigger}

## Well-Architected Impact
| Pillar | Impact | Evidence |
{Only non-neutral pillars}

## Trade-offs
### What We Gain / What We Accept / Risks

## Implementation
### Migration Path
### Rollback Plan
### Verification

## Review Triggers
{Specific, measurable: metric > threshold, event occurs, time passes}

ADR Calibration

  • An ADR is a decision log, not a sales pitch — document REAL trade-offs
  • Code evidence grounds the decision ("affects 3 files" > "low effort")
  • Review triggers with specific thresholds make ADRs useful 6 months later
  • Reversibility is critical — irreversible decisions deserve more analysis
  • Don't pad the WA pillar table — only real, non-obvious impact

Calibration Guidance

  • This skill is about ENABLEMENT not JUDGMENT — tone should be encouraging, not critical
  • For beginners: use analogies, avoid jargon, explain why before what
  • For practitioners: be concise, skip explanations, produce artifacts fast
  • Decision trees should present OPTIONS not mandates — the builder decides
  • Roadmap should be REALISTIC — don't pack 50 items into "Quick Wins"
  • Always tie back to WA Framework question IDs (OPS 4, SEC 3, REL 9, etc.) so builders can look up details
  • When generating artifacts from a aws-well-architected-framework-review, USE the review's findings — don't re-assess
  • PlantUML is primary (most tools support it), Mermaid is the alternative (renders in GitHub/VS Code)
  • ASCII fallbacks for dependency graphs work everywhere including terminals

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Wa Builder AI 技能有什么作用?

"Learn then Build" — help developers 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. Adapts explanations for beginners and generates artifacts faster for experienced builders. Use when the user wants to understand WA for their project, create architecture diagrams with pillar health overlays, get guided decision flows for architectural choices, or generate a visual improvement roadmap.

为什么在 TypingMind 中使用 Wa Builder?

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

如何在 TypingMind 中安装 Wa Builder?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/aws-samples/sample-well-architected-skills-and-steering/tree/main/skills/wa-builder。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Wa Builder?

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

Wa Builder 可以搭配多少个 AI 模型使用?

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

Wa Builder AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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