aws-cloud-patterns
AWS cloud patterns for Lambda, ECS, S3, DynamoDB, and Infrastructure as Code with CDK/Terraform
npx skills add rohitg00/awesome-claude-code-toolkit --skill aws-cloud-patterns --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# AWS Cloud Patterns ## Lambda Function Pattern ```typescript import { APIGatewayProxyHandlerV2 } from "aws-lambda"; import { DynamoDBClient } from "@aws-sdk/client-dynamodb"; import { DynamoDBDocumentClient, GetCommand } from "@aws-sdk/lib-dynamodb"; const client = DynamoDBDocumentClient.from(new DynamoDBClient({})); export const handler: APIGatewayProxyHandlerV2 = async (event) => { const id = event.pathParameters?.id; if (!id) { return { statusCode: 400, body: JSON.stringify({ error: "Missing id" }) }; } const result = await client.send( new GetCommand({ TableName: process.env.TABLE_NAME!, Key: { pk: id } }) ); if (!result.Item) { return { statusCode: 404, body: JSON.stringify({ error: "Not found" }) }; } return { statusCode: 200, headers: { "Content-Type": "application/json" }, body: JSON.stringify(result.Item), }; }; ``` Initialize SDK clients outside the handler to reuse connections across invocations. ## DynamoDB Single-Table Design ```typescript interface OrderItem { pk: string; // USER#<userId> sk: string; // ORDER#<orderId> gsi1pk: string; // ORDER#<orderId> gsi1sk: string; // ITEM#<itemId> entityType: string; // "Order" | "OrderItem" data: Record<string, any>; ttl?: numb
- Lambda Function Pattern
- DynamoDB Single-Table Design
- CDK Infrastructure
- S3 Event Processing
- Anti-Patterns
- Checklist
What does the aws-cloud-patterns skill do?
AWS cloud patterns for Lambda, ECS, S3, DynamoDB, and Infrastructure as Code with CDK/Terraform
How do I install it?
Run `npx skills add rohitg00/awesome-claude-code-toolkit --skill aws-cloud-patterns --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From rohitg00/awesome-claude-code-toolkit, a repository with 2,438 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.