aws-serverless
Specialized skill for building production-ready serverless applications on AWS. Covers Lambda functions, API Gateway, DynamoDB, SQS/SNS event-driven patterns, SAM/CDK deployment, and cold start optimization.
npx skills add sickn33/agentic-awesome-skills --skill aws-serverless --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.
What it does
Specialized skill for building production-ready serverless applications on AWS. Covers Lambda functions, API Gateway, DynamoDB, SQS/SNS event-driven patterns, SAM/CDK deployment, and cold start optimization.
How it works
- Emphasizes right-sizing memory and timeouts, reducing cold starts, and using SnapStart for Java/.NET.
- Prefers HTTP API over REST API for simple use cases.
- Designs for failure with DLQs and retries, keeps deployment packages small, uses environment variables for configuration, and implements structured logging with correlation IDs.
- Provides concrete code examples for Lambda Handlers in Node.js and Python, demonstrating initialization outside the handler for warm invocations, API Gateway-compatible responses, and DynamoDB access via AWS SDK v3 or boto3.
- Includes API Gateway integration patterns with a SAM template (template.yaml) for HttpApi and Lambda events, plus example routes and DynamoDB policies.
- Details patterns for event-driven SQS processing, with a sample SES of queues, dead-letter queues, and batch processing in JavaScript and Python.
- Describes DynamoDB Streams processing pattern and a DynamoDB-based event handler skeleton.
- Contains best practices: initialize clients outside handlers, proper API Gateway responses, structured JSON logging, and including request IDs in error logs.
- Offers SAM Local Development Pattern with commands for local testing, building, invoking, and debugging, plus example test events and launch configurations.
- Includes a CDK Serverless Pattern example showing how to create a stack with infrastructure components like DynamoDB and API gateway integrations.
When to use it
- Use when building production-ready serverless applications on AWS that require Lambda, API Gateway (HTTP API preferred for simple APIs), DynamoDB, SQS/SNS event processing, and infrastructure as code via SAM/CDK.
- Triggered when aiming to optimize cold starts, structure logging, and design for failure with DLQs and retries.
What it can touch
- "Lambda functions" via code patterns and handlers shown in Node.js and Python.
- "API Gateway" via REST/HTTP API integration patterns and SAM template usage.
- "DynamoDB" via GetItem examples, environment-based table names, and DynamoDB Streams patterns.
- "SQS" via event-driven processing patterns and queue configurations in YAML blocks.
- "SNS" (mentioned in patterns) as part of event-driven integration notes.
- Tools listed: claude-code, codex, cursor.
Caveats
- Declared risk is critical.
- License indicated as MIT.
- The skill primarily provides patterns and sample code; effectiveness depends on adaptation to specific use cases and AWS account configurations.
# AWS Serverless Specialized skill for building production-ready serverless applications on AWS. Covers Lambda functions, API Gateway, DynamoDB, SQS/SNS event-driven patterns, SAM/CDK deployment, and cold start optimization. ## Principles - Right-size memory and timeout (measure before optimizing) - Minimize cold starts for latency-sensitive workloads - Use SnapStart for Java/.NET functions - Prefer HTTP API over REST API for simple use cases - Design for failure with DLQs and retries - Keep deployment packages small - Use environment variables for configuration - Implement structured logging with correlation IDs ## Patterns ### Lambda Handler Pattern Proper Lambda function structure with error handling **When to use**: Any Lambda function implementation,API handlers, event processors, scheduled tasks ```javascript // Node.js Lambda Handler // handler.js // Initialize outside handler (reused across invocations) const { DynamoDBClient } = require('@aws-sdk/client-dynamodb'); const { DynamoDBDocumentClient, GetCommand } = require('@aws-sdk/lib-dynamodb'); const client = new DynamoDBClient({}); const docClient = DynamoDBDocumentClient.from(client); // Handler function exports.handler
- Principles
- Patterns
- Lambda Handler Pattern
- Bestpractices
- API Gateway Integration Pattern
- Structure
- Apicomparison
- Event-Driven SQS Pattern
- DynamoDB Streams Pattern
- Streamviewtypes
- Cold Start Optimization Pattern
- 1. Optimize Package Size
- 2. Use SnapStart (Java/.NET)
- 3. Right-size Memory
Install SAM CLI pip install aws-sam-cli Initialize new project sam init --runtime nodejs20.x --name my-api Build the project sam build Run locally sam local start-api Invoke single function sam local invoke GetItemFunction --event events/get.json
What does the aws-serverless skill do?
Specialized skill for building production-ready serverless applications on AWS. Covers Lambda functions, API Gateway, DynamoDB, SQS/SNS event-driven patterns, SAM/CDK deployment, and cold start optimization.
How do I install it?
Run `npx skills add sickn33/agentic-awesome-skills --skill aws-serverless --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 sickn33/agentic-awesome-skills, a repository with 44,414 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.