aws-agentic-ai
AWS Bedrock AgentCore comprehensive expert for deploying and managing AI agents at scale. Use when working with any AgentCore…
AWS serverless and event-driven architecture expert based on Well-Architected Framework. Use when building serverless APIs, Lambda functions, REST APIs, microservices, or async workflows. Covers Lambda with TypeScript/Python, API Gateway (REST/HTTP), DynamoDB, Step Functions,
Claude Code
$ npx -y skills add zxkane/aws-skills --skill aws-serverless-eda --agent claude-code
Codex
$ npx skills add zxkane/aws-skills --skill aws-serverless-eda -a codex -y
Cursor
$ npx skills add zxkane/aws-skills --skill aws-serverless-eda -a cursor -y
Gemini CLI
$ npx skills add zxkane/aws-skills --skill aws-serverless-eda -a gemini-cli -y
GitHub Copilot
$ npx skills add zxkane/aws-skills --skill aws-serverless-eda -a github-copilot -y
OpenCode
$ npx skills add zxkane/aws-skills --skill aws-serverless-eda -a opencode -y
Windsurf
$ npx skills add zxkane/aws-skills --skill aws-serverless-eda -a windsurf -y
name: aws-serverless-eda
description: AWS serverless and event-driven architecture expert based on Well-Architected Framework. Use when building serverless APIs, Lambda functions, REST APIs, microservices, or async workflows. Covers Lambda with TypeScript/Python, API Gateway (REST/HTTP), DynamoDB, Step Functions, EventBridge, SQS, SNS, and serverless patterns. Essential when user mentions serverless, Lambda, API Gateway, event-driven, async processing, queues, pub/sub, or wants to build scalable serverless applications with AWS best practices.
context: fork
skills:
- aws-mcp-setup
- aws-cdk-development
allowed-tools:
- mcp__aws-mcp__*
- mcp__awsdocs__*
- mcp__cdk__*
- Bash(sam *)
- Bash(aws lambda *)
- Bash(aws apigateway *)
- Bash(aws apigatewayv2 *)
- Bash(aws dynamodb *)
- Bash(aws stepfunctions *)
- Bash(aws events *)
- Bash(aws sqs *)
- Bash(aws sns *)
- Bash(aws sts get-caller-identity)
hooks:
PreToolUse:
- matcher: Bash(sam deploy*)
command: aws sts get-caller-identity --query Account --output text
once: trueThis skill provides comprehensive guidance for building serverless applications and event-driven architectures on AWS based on Well-Architected Framework principles.
Always verify AWS facts using MCP tools (`mcp__aws-mcp__*` or `mcp__*awsdocs*__*`) before answering. The `aws-mcp-setup` dependency is auto-loaded — if MCP tools are unavailable, guide the user through that skill's setup flow.
This skill leverages the CDK MCP server (provided via `aws-cdk-development` dependency) and AWS Documentation MCP for serverless guidance.
> **Note**: The following AWS MCP servers are available separately via the Full AWS MCP Server (see `aws-mcp-setup` skill) and are not bundled with this plugin: > - AWS Serverless MCP — SAM CLI lifecycle (init, deploy, local test) > - AWS Lambda Tool MCP — Direct Lambda invocation > - AWS Step Functions MCP — Workflow orchestration > - Amazon SNS/SQS MCP — Messaging and queue management
Use this skill when:
**Functions should be concise and single-purpose**
// ✅ GOOD - Single purpose, focused function
export const processOrder = async (event: OrderEvent) => {
// Only handles order processing
const order = await validateOrder(event);
await saveOrder(order);
await publishOrderCreatedEvent(order);
return { statusCode: 200, body: JSON.stringify({ orderId: order.id }) };
};
// ❌ BAD - Function does too much
export const handleEverything = async (event: any) => {
// Handles orders, inventory, payments, shipping...
// Too many responsibilities
};**Keep functions environmentally efficient and cost-aware**:
**Design for concurrency, not volume**
Lambda scales horizontally - design considerations should focus on:
// Consider concurrent Lambda executions accessing DynamoDB
const table = new dynamodb.Table(this, 'Table', {
billingMode: dynamodb.BillingMode.PAY_PER_REQUEST, // Auto-scales with load
});
// Or with provisioned capacity + auto-scaling
const table = new dynamodb.Table(this, 'Table', {
billingMode: dynamodb.BillingMode.PROVISIONED,
readCapacity: 5,
writeCapacity: 5,
});
// Enable auto-scaling for concurrent load
table.autoScaleReadCapacity({ minCapacity: 5, maxCapacity: 100 });
table.autoScaleWriteCapacity({ minCapacity: 5, maxCapacity: 100 });**Function runtime environments are short-lived**
// ❌ BAD - Relying on local file system
export const handler = async (event: any) => {
fs.writeFileSync('/tmp/data.json', JSON.stringify(data)); // Lost after execution
};
// ✅ GOOD - Use persistent storage
export const handler = async (event: any) => {
await s3.putObject({
Bucket: process.env.BUCKET_NAME,
Key: 'data.json',
Body: JSON.stringify(data),
});
};**State management**:
**Applications must be hardware-agnostic**
Infrastructure can change without notice:
**Design for portability**:
**Use Step Functions for orchestration**
// ❌ BAD - Lambda function chaining
export const handler1 = async (event: any) => {
const result = await processStep1(event);
await lambda.invoke({
FunctionName: 'handler2',
Payload: JSON.stringify(result),
});
};
// ✅ GOOD - Step Functions orchestration
const stateMachine = new stepfunctions.StateMachine(this, 'OrderWorkflow', {
definition: stepfunctions.Chain
.start(validateOrder)
.next(processPayment)
.next(shipOrder)
.next(sendConfirmation),
});**Benefits of Step Functions**:
Claude Code plugins for AWS development with specialized knowledge and MCP server integrations, including CDK, serverless architecture, cost optimization, and Bedrock AgentCore for AI agent deployment.
AWS Bedrock AgentCore comprehensive expert for deploying and managing AI agents at scale. Use when working with any AgentCore…
Configure AWS MCP servers for documentation search and API access. Use when setting up AWS MCP, configuring AWS documentation…
AWS cost optimization, monitoring, and operational excellence expert. Use when analyzing AWS bills, estimating costs, setting up…
AWS Cloud Development Kit (CDK) expert for building cloud infrastructure with TypeScript/Python. Use when creating CDK stacks,…
SST v4 (Ion) expert for managing AWS resources as code with the Pulumi-backed framework. Use when writing or editing…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.