This covers the essentials for working with AWS Lambda: creating functions, configuring triggers from S3/SQS/Kinesis, managing layers, and debugging invocations. The cold start optimization section is practical, especially the tip about initializing connections outside the handler to reuse them across invocations. Good reference for event source mappings and the differences between synchronous, asynchronous, and poll-based invocations. The troubleshooting section addresses real pain points like VPC latency and memory errors. One thing to note is that Lambda's pricing model really does favor smaller, focused functions over monoliths, so the guidance on right-sizing memory and timeout settings can directly impact your AWS bill.
- skills.sh installs
- 178
- GitHub stars
- 1.2K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add itsmostafa/aws-agent-skills --skill lambda --agent claude-codeInstalls into .claude/skills of the current project.
Files
AWS Lambda
AWS Lambda runs code without provisioning servers. You pay only for compute time consumed. Lambda automatically scales from a few requests per day to thousands per second.
Table of Contents
Core Concepts
Function
Your code packaged with configuration. Includes runtime, handler, memory, timeout, and IAM role.
Invocation Types
| Type | Description | Use Case |
|---|---|---|
| Synchronous | Caller waits for response | API Gateway, direct invoke |
| Asynchronous | Fire and forget | S3, SNS, EventBridge |
| Poll-based | Lambda polls source | SQS, Kinesis, DynamoDB Streams |
Execution Environment
Lambda creates execution environments to run your function. Components:
- Cold start: New environment initialization
- Warm start: Reusing existing environment
- Handler: Entry point function
- Context: Runtime information
Layers
Sponsors
Details
- Repository
- github.com/itsmostafa/aws-agent-skills
- Categories
- Backend & APIs, AI & Agent Building, Debugging, Cloud & Infrastructure
- License
- MIT
- First seen
- Jun 3, 2026
