Guides design, debugging, and review of AWS serverless services: Lambda cold starts, Layers, packaging, concurrency, Powertools, logging, tracing, alarms, DLQs, API Gateway choices, and Step Functions vs Lambda decisions.
Ships in aws-infrastructure-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
| Topic | Reference File | Key Insight |
|---|---|---|
| Lambda internals | references/lambda-patterns.md | Cold start happens per concurrent execution, not just once |
| Lambda Layers | references/lambda-patterns.md | Binaries, custom runtimes and Powertools; NOT a package manager |
| Observability | references/lambda-powertools.md | Structured JSON logs; choose tracing deliberately (X-Ray SDK is in maintenance) |
| Monitoring/alarms | references/monitoring.md | Alert on symptoms (errors, latency), not causes (CPU) |
| Event-driven | references/event-driven.md | Single Lambda vs Step Functions decision; Standard/Express/Hybrid; Saga pattern |
| API Gateway | references/api-gateway.md | HTTP API ~70% cheaper; use REST API only for WAF/caching/usage plans |
requests or pydantic are not layer candidates. Each function bundles what it imports, from a lockfile.logging_config { log_format = "JSON" } and use the language's logger, or Powertools Logger. Set the log level in one place, not in both"Use Lambda to transform data, not to transport data between services." — Jérôme Van Der Linden
| Use Lambda When | Use Step Functions When |
|---|---|
| Single operation < 15 mins | Workflow with multiple steps |
| Simple request-response | Need retry/error handling per step |
| Stateless processing | Long-running or human-in-loop |
| Visual workflow debugging needed |
| Use Lambda When | Use ECS When |
|---|---|
| Execution < 15 minutes | Long-running processes |
| Bursty, unpredictable traffic | Steady, high-volume traffic |
| Cold start acceptable | Sub-100ms latency required |
| Pay-per-invocation preferred | Need GPU or special hardware |
For prices, use the AWS Pricing MCP server (awslabs.aws-pricing-mcp-server). Its README has the setup. Prices in this skill are dated examples, not quotes.
| Feature | AWS GA | Supported Runtimes |
|---|---|---|
| SnapStart | Nov 2021 (Java); Oct 2024 (Python, .NET) | Java 11+, Python 3.12+, .NET 8+ — not Node, Ruby, or container images |
Load references based on what the user is asking:
references/lambda-patterns.mdreferences/lambda-powertools.mdreferences/monitoring.mdreferences/event-driven.mdreferences/api-gateway.mdWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
7 skills in this plugin
/aws-connectUse when writing or reviewing Terraform for Amazon Connect: contact flows and flow modules, a Lambda function invoked from a flow, queues, routing profiles, security profiles and access-control tags, users, approved origins, adopting console-built resources, PHI in flow logs and contact attributes, or contact events to EventBridge and SQS. Not for general Lambda tuning (aws-serverless) or IAM and pipelines (terraform-aws)./aws-dynamodbUse when designing or reviewing a DynamoDB table: access patterns, partition and sort keys, single-table design, GSIs and sparse indexes, hot partitions, one-to-many and many-to-many modeling, capacity mode and cost, or the Terraform for the table./Other plugins' skills for the same job
/aws-infrastructure-skills:aws-serverlessfrom aws-infrastructure-skills
npx claudepluginhub a-pavithraa/aws-serverless-skill --plugin aws-infrastructure-skills