Skip to content

aws-samples/sample-aws-solutions-skills

Repository files navigation

AWS Solution Skills

Multi-tool AI Skills for AWS solution patterns.

Ship the ability to generate a solution β€” not a static template. One source of knowledge, one SKILL.md per skill, deployed verbatim to Kiro Β· Claude Code Β· Amazon Quick.

License: MIT-0 Skills Tools Standard


Table of contents


πŸ’‘ Why this exists

A template gives you one frozen architecture. A skill gives an AI agent the knowledge to design and generate the right architecture for your requirements, gathered in conversation.

Each top-level *-skill/ folder packages one AWS solution use case as an Anthropic Agent Skill. You describe what you need; the skill produces tailored CDK + Lambda + frontend code, following a gated workflow (Discovery β†’ Design β†’ Generate β†’ Validate β†’ Deploy) with your confirmation between phases.

The same SKILL.md runs identically across three AI tools β€” the only difference is where each tool looks for skills on disk.


πŸ“¦ Skill catalog

Skill Solution stack Example trigger Format
unified-customer-profile-skill Amazon Connect Customer Profiles + Entity Resolution + Bedrock "Build me a unified customer profile system" shared/ + thin SKILL.md
strands-agentcore-multi-agent-skill Strands Agents + Bedrock AgentCore (Runtime Β· Gateway Β· Memory) + MCP servers + Knowledge Bases "Build a Strands AgentCore multi-agent system" shared/ + thin SKILL.md
graph-personalization-skill Customer similarity graph (Neptune) + Bedrock explainable recommendations + Kinesis real-time "Graph-based personalized recommendations" shared/ + thin SKILL.md
data-platform-pipeline-skill S3 (3-bucket) + Glue + Athena β€” source β†’ queryable data "Build a data pipeline" Monolithic SKILL.md (~50 KB)
data-platform-consumption-skill QuickSight + Amazon Quick chat agents β€” queryable data β†’ BI "Set up a QuickSight dashboard" Monolithic SKILL.md (~60 KB)
llm-gateway-governance-skill LiteLLM gateway + Bedrock Guardrails + SSO/Cognito virtual keys + ECS Fargate + ALB edge (certMode: acm/http, SG CIDR-restricted) "Build an LLM gateway to govern Bedrock" shared/ + thin SKILL.md

Two authoring styles coexist (both produce md5-identical SKILL.md across all three tools):

  • shared/ + thin SKILL.md β€” deep knowledge lives in shared/; SKILL.md is a thin wrapper. (unified-customer-profile, strands-agentcore, graph-personalization, llm-gateway-governance)
  • Monolithic SKILL.md β€” everything self-contained in one ~50–60 KB file. (the two data-platform skills)

See CONTRIBUTING.md for when to choose which.


βš™οΈ How it works

Every skill ships the same SKILL.md in three locations β€” one per supported tool. The three copies are byte-identical (CI verifies md5). Tools differ only in install location.

                       canonical SKILL.md (single source of truth)
                                      β”‚
                 β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                 β–Ό                    β–Ό                    β–Ό
          Kiro                 Claude Code          Amazon Quick
        ~/.kiro/skills/      ~/.claude/skills/   ~/.quickwork/skills/
                 β”‚                    β”‚                    β”‚
                 └──────────── identical bytes β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                      β”‚
                                      β–Ό
        Discovery β†’ Design β†’ Generate β†’ Validate β†’ Deploy   (gated workflow)
                                      β”‚
                                      β–Ό
                  Tailored CDK + Lambda + frontend for your input

πŸ›  Supported tools

Tool Location in repo Install path
Kiro <skill>/kiro/skills/<name>/SKILL.md ~/.kiro/skills/<name>/SKILL.md
Claude Code <skill>/claude-code/skills/<name>/SKILL.md ~/.claude/skills/<name>/SKILL.md
Amazon Quick <skill>/quick/skills/<name>/SKILL.md ~/.quickwork/skills/<name>/SKILL.md

πŸš€ Quickstart

Install any skill into your tool of choice. Replace <skill> with a folder from the catalog and <name> with the skill name.

Kiro
mkdir -p ~/.kiro/skills
ln -sf "$(pwd)/<skill>/kiro/skills/<name>" ~/.kiro/skills/<name>
ln -sf "$(pwd)/<skill>/shared" ~/.kiro/skills/<name>/shared   # only if the skill has shared/
Claude Code
mkdir -p ~/.claude/skills
ln -sf "$(pwd)/<skill>/claude-code/skills/<name>" ~/.claude/skills/<name>
ln -sf "$(pwd)/<skill>/shared" ~/.claude/skills/<name>/shared   # only if the skill has shared/
Amazon Quick
mkdir -p ~/.quickwork/skills
ln -sf "$(pwd)/<skill>/quick/skills/<name>" ~/.quickwork/skills/<name>
ln -sf "$(pwd)/<skill>/shared" ~/.quickwork/skills/<name>/shared   # only if the skill has shared/

πŸ’‘ On Windows or environments without symlink support, replace ln -sf with cp -r. The destination path is unchanged β€” it's where each tool natively looks for skills.

Once installed, start your tool and use a trigger phrase from the catalog (e.g. "Build an LLM gateway to govern Bedrock"). The skill takes over from there.


πŸ“ Directory layout

Style 1 β€” shared/ + thin SKILL.md (deep-knowledge skills):

<solution-name>-skill/
β”œβ”€β”€ README.md                                       ← skill overview
β”œβ”€β”€ kiro/skills/<name>/SKILL.md                     β˜… md5-identical to ↓
β”œβ”€β”€ claude-code/skills/<name>/SKILL.md              β˜… canonical source (Anthropic Skills format)
β”œβ”€β”€ quick/skills/<name>/SKILL.md                    β˜… md5-identical to ↑
β”œβ”€β”€ shared/                                         ← single source of deep knowledge
β”‚   β”œβ”€β”€ reference/
β”‚   β”œβ”€β”€ patterns/
β”‚   └── examples/
└── evals/<scenario>.md                             ← (optional) verification scenarios

Style 2 β€” Monolithic SKILL.md (self-contained skills):

<solution-name>-skill/
β”œβ”€β”€ README.md
β”œβ”€β”€ kiro/skills/<name>/SKILL.md                     β˜… md5-identical
β”œβ”€β”€ claude-code/skills/<name>/SKILL.md              β˜… canonical source, ~50–60 KB self-contained
└── quick/skills/<name>/SKILL.md                    β˜… md5-identical

Full specification: shared-spec/skill-structure.md.


πŸ”— Cross-skill assets

Path Purpose
sample-data/erp/ Cosmetics-manufacturer ERP fixture (~40K rows) β€” shared by both data-platform skills
scripts/sync-skills.sh Syncs the canonical SKILL.md to all three tool directories + md5 verification
shared-spec/ Authoring specs: skill structure, multi-agent format, shared-knowledge pattern
template/ Starting point for a new skill

πŸ”§ Authoring workflow

  1. Edit the canonical SKILL.md (pick one tool dir, e.g. <skill>/claude-code/skills/<name>/SKILL.md).
  2. Sync to the other two tools:
    scripts/sync-skills.sh <skill-dir>
  3. Verify md5 parity across all three copies in every skill:
    scripts/sync-skills.sh verify

βž• Adding a new skill

Start from template/ and read CONTRIBUTING.md. A new skill must satisfy:

  1. The standard directory layout β€” shared-spec/skill-structure.md
  2. The SKILL.md format β€” shared-spec/multi-agent-format.md
  3. (If using shared/ style) all real knowledge in shared/, with SKILL.md as a thin wrapper β€” shared-spec/shared-knowledge-pattern.md
  4. md5-identical SKILL.md across all three tool directories
  5. (Recommended) at least one evaluation scenario under evals/

πŸ”Œ MCP requirements

Skills call Model Context Protocol (MCP) servers at runtime to verify volatile facts instead of hard-coding them.

MCP server Purpose Required?
AWS Knowledge MCP Service docs, regional availability, model IDs Recommended (real-time verification)
CloudFormation MCP Stack validation and deployment Optional
Bedrock MCP AI feature smoke-testing Optional

🧭 Design principles

  1. One SKILL.md, three tools β€” the Anthropic Agent Skills standard is the lowest common denominator; per-tool format variation is needless drift surface.
  2. Shared knowledge β€” shared/ lets reference, patterns, and examples be written once and referenced from a thin SKILL.md.
  3. Gate pattern β€” Discovery β†’ Design β†’ Generate β†’ Validate β†’ Deploy, with user confirmation between phases.
  4. MCP-first β€” never hard-code volatile catalogs (model IDs, region availability); verify via MCP at runtime.
  5. Golden examples β€” patterns are extracted from working reference projects, not idealized prose.
  6. No drift β€” the three SKILL.md copies are byte-identical; CI enforces it.

🀝 Contributing

Contributions are welcome. See CONTRIBUTING.md for guidelines, and CODE_OF_CONDUCT.md for community standards. To report a security issue, follow the AWS vulnerability reporting process β€” please do not open a public GitHub issue.


πŸ“„ License

This project is licensed under the MIT-0 License (MIT No Attribution). See LICENSE for details.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors