How aws-samples/sample-well-architected-skills-and-steering works
1. What this repo is
- This is a content-and-tooling repository, not an application runtime. Its purpose is to package AWS Well-Architected guidance so AI coding agents can consume it inside their own native configuration surfaces.
2. Single source of truth
- The core knowledge lives in skills/, steering/, and assets/.
- skills/*/SKILL.md are tool-agnostic playbooks for specific review tasks such as security, reliability, cost, performance, sustainability, operations, migration readiness, and architecture decision records.
- steering/well-architected.md is the always-on context for architecture discussions, especially for Kiro.
3. Shared reference layer
- assets/ holds the reusable reference material the skills rely on: the AWS Well-Architected v13 best-practice library, pillar checklists, CloudWatch metric references, and incident-investigation patterns.
- These files are not execution logic; they are the knowledge base that the skills and adapters package into agent-friendly form.
4. Adapter boundary
- adapters/ is the translation layer from the repo’s canonical content into each agent’s native format.
- Each adapter maps the same underlying guidance into different surfaces such as CLAUDE.md, .cursor/rules, AGENTS.md, .windsurfrules, Copilot instructions, Gemini CLI guidance, and agent-specific skill directories.
5. Supported agent targets
- The architecture is explicitly multi-tool: Kiro, Claude Code, Cursor, Codex, Windsurf, GitHub Copilot, Gemini CLI, Antigravity, Junie, Amp, OpenClaw, Cline, and AWS DevOps Agent.
- The key design constraint is that the content stays centralized, while adapters reshape it to match each tool’s loading and activation model.
6. Installation/distribution flow
- install.sh, install.ps1, bootstrap.sh, and bootstrap.ps1 are the delivery mechanisms.
- They detect a target environment, then copy or symlink steering and skills into the right local locations, either project-scoped or global/user-scoped.
- For AWS DevOps Agent, the install flow packages skills into zip files for upload rather than writing into a local IDE config.
7. Consumption model inside agent tools
- The repo distinguishes between always-on guidance and task-triggered playbooks.
- Steering is loaded continuously where supported; skills are invoked when a user asks for a focused review or assessment.
- For Kiro, the newer model is “Powers,” which are keyword-activated bundles that can combine steering, skills, and optional tool integration.
8. Evaluation subsystem
- evals/ is a separate Python-based harness for measuring whether the skills actually improve outputs.
- It uses Amazon Bedrock to generate two answers per case: a baseline response and a skill-augmented response.
- A second model acts as a judge to score concrete assertions, so the repo can quantify the effect of the guidance.
9. Eval data flow
- Inputs come from per-skill test cases in skills/*/evals/evals.json.
- The runner loads the skill text, sends prompts to Bedrock, grades outputs, and produces a score comparison.
- This subsystem requires AWS credentials and Bedrock model access; the rest of the repo is designed to work locally without AWS calls.
10. Operational boundary
- There is no shared service, database, or API backend.
- The “runtime” is the consuming AI agent plus local files installed into that agent’s config directories.
- The repo’s architecture is therefore a distribution and evaluation platform for prompt/agent guidance, not a hosted product.
11. Repository structure to diagram
- Draw skills/, steering/, and assets/ as the canonical knowledge layer.
- Draw adapters/ as the fan-out translation layer into multiple agent-specific targets.
- Draw the install/bootstrap scripts as the deployment path from this repo into a user’s local tool configuration.
- Draw evals/ as a separate feedback loop that measures skill quality via Bedrock.
12. Maintenance model
- New content is added once in the canonical skills/steering/assets layer, then selectively exposed through adapters and installation paths.
- This keeps the architecture consistent across tools while letting each agent consume the same Well-Architected guidance in its own native format.
Main entry points: skills Skills · adapters Adapters · run.py Eval runner · install.sh Install scripts
Components 19
Canonical guidance
Single source of truth for Well-Architected guidance and reusable reference material.
- Skills · Task-focused Well-Architected review guides plus their metadata and evaluation cases.
skills - Steering · Persistent architecture guidance loaded continuously where supported.
steering - Assets · Reusable reference material including best practices, checklists, metrics, and incident patterns.
assets - WA v13 · AWS Well-Architected v13 pillar and best-practice reference content.
assets/v13 - WA review · General Well-Architected review workflow.
skills/wa-review/SKILL.md - Security · Security assessment playbook.
skills/security-assessment/SKILL.md - Reliability · Reliability improvement playbook.
skills/reliability-improvement-plan/SKILL.md
Tool adapters
Translations from canonical guidance into each agent's native configuration surface.
- Adapters · Maps canonical content into agent-specific loading and activation formats.
adapters - Claude Code · Claude Code instructions and commands surface.
adapters/claude-code/CLAUDE.md - Cursor · Cursor rules surface.
adapters/cursor/rules - Copilot · GitHub Copilot instructions surface.
adapters/github-copilot/.github/copilot-instructions.md - Other tools · Additional targets such as Windsurf, Gemini CLI, Amp, Cline, Junie, OpenClaw, and DevOps Agent.
adapters
Install and bootstrap
Scripts that place steering and skills into local tool environments or package them for upload.
- Install scripts · Shell and PowerShell installers for local tool setup.
install.sh - Bootstrap scripts · Environment bootstrap entrypoints for deployment into user or project scopes.
bootstrap.sh - DevOps packaging · Packages skills into zip artifacts for AWS DevOps Agent upload.
adapters/devops-agent/README.md
Evaluation harness
Python-based system that measures whether guidance improves model outputs.
- Eval runner · Runs baseline versus skill-augmented generations and coordinates grading.
evals/run.py - Judge · Second-model grader that scores concrete assertions in generated answers.
evals/grade.py - Eval cases · Per-skill prompt cases used to measure guidance quality.
skills/wa-review/evals/evals.json - Reports · Stored evaluation outputs and summary reporting.
evals/results
Connections 23
- Skills → WA review: contains · The skills directory contains the general WA review playbook.
- Skills → Security: contains · The skills directory contains the security assessment playbook.
- Skills → Reliability: contains · The skills directory contains the reliability improvement playbook.
- Skills → Eval cases: provides cases · Skills contribute their own eval cases for quality checks.
- Steering → Adapters: published through · Always-on guidance is reshaped for each tool's native surface.
- Assets → WA v13: includes · Assets contains the v13 best-practice corpus and related references.
- Assets → Steering: supports · Shared references inform the always-on architecture guidance.
- Assets → Skills: supports · Skills rely on the shared reference library for review guidance.
- Skills → Adapters: published through · Canonical skills are selectively exposed via adapter targets.
- Adapters → Claude Code: maps to · Adapter layer emits Claude Code instructions.
- Adapters → Cursor: maps to · Adapter layer emits Cursor rules.
- Adapters → Copilot: maps to · Adapter layer emits Copilot instructions.
- Adapters → Other tools: maps to · Adapter layer fans out to the remaining supported tools.
- Bootstrap scripts → Install scripts: invokes · Bootstrap entrypoints drive installation for local environments.
- Install scripts → Skills: installs · Installers place skills into project-scoped or global locations.
- Install scripts → Steering: installs · Installers place steering files into supported agent locations.
- Install scripts → Adapters: deploys · Installers copy or symlink adapter outputs into local tool configs.
- DevOps packaging → Skills: packages · AWS DevOps Agent flow packages skills into zip artifacts for upload.
- Eval runner → Eval cases: loads · The runner reads per-skill evaluation cases.
- Eval runner → Skills: loads text · The runner loads the skill content used for skill-augmented generations.
- Eval runner → Judge: scores with · A judge model evaluates the generated answers.
- Eval runner → Reports: writes · Evaluation outputs are stored in results artifacts.
- Judge → Reports: informs · Judgment scores feed the evaluation reports.