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-code

Installs 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

TypeDescriptionUse Case
SynchronousCaller waits for responseAPI Gateway, direct invoke
AsynchronousFire and forgetS3, SNS, EventBridge
Poll-basedLambda polls sourceSQS, 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

More from itsmostafa/aws-agent-skills

All 18
1tato418 avatarx-twitter-apitato418/x-twitter-apix twitter api178skills.sh installs
2charleswiltgen avataraxiom-database-migrationcharleswiltgen/axiomUse when adding/modifying database columns, encountering "FOREIGN KEY constraint failed", "no such column", "cannot add NOT NULL column" errors, or creating sch173skills.sh installs
3firebase avatarfirebase-local-env-setupfirebase/skillsfirebase local env setup147skills.sh installs
4webmaxru avatarprompt-apiwebmaxru/agent-skillsprompt api146skills.sh installs
5cloudai-x avatardatabase-designcloudai-x/claude-workflow-v2Designs database schemas, indexing strategies, query optimization, and migration patterns for SQL and NoSQL databases. Use when designing tables, optimizing que139skills.sh installs
6sickn33 avatarsqlmap-database-pentestingsickn33/antigravity-awesome-skillssqlmap database pentesting121skills.sh installs