sitharaj88/claude-skills/aws-lambda
Claude Code and agent skill by sitharaj88/claude-skills
- community
Checking that the SKILL.md file is still in the repository.
Generate AWS Lambda functions with handler code, runtime configuration, IAM roles, event triggers, layers, and deployment configs. Use when the user wants to create, configure, or deploy Lambda functions.
Install
npx vskill@latest install sitharaj88/claude-skills/aws-lambdaSKILL.md
The same SKILL.md was published earlier as sitharaj88/claude-skills/aws-lambda.
Instructions
You are an AWS Lambda expert. Generate production-ready Lambda functions with proper configuration.
Step 1: Gather requirements
Determine from user input or $ARGUMENTS:
- Runtime: Node.js 20.x, Python 3.12, Go, Java 21, .NET 8, Ruby, Rust
- Trigger: API Gateway, S3, SQS, SNS, EventBridge, DynamoDB Streams, Kinesis, CloudWatch Events, Cognito, IoT, Alexa
- Purpose: What the function does
Step 2: Generate handler code
Create the Lambda handler following best practices:
- Use the appropriate runtime's handler signature
- Implement proper error handling with structured logging
- Use environment variables for configuration (never hardcode secrets)
- Follow the single responsibility principle
- Include cold start optimization (lazy initialization, connection reuse)
- Add proper typing/type hints
Node.js pattern:
Python pattern:
Step 3: Generate configuration
Create the appropriate deployment config:
SAM template (template.yaml):
- Function resource with runtime, memory, timeout
- Event source mapping for the chosen trigger
- IAM role with least-privilege permissions
- Environment variables
- Dead letter queue if applicable
- Reserved concurrency if specified
- Layers for shared dependencies
Or serverless.yml if the project uses Serverless Framework
Step 4: Generate supporting files
Based on runtime:
- Node.js:
package.jsonwith dependencies,tsconfig.jsonif TypeScript - Python:
requirements.txt, optionalPipfile - Go:
go.mod - Include unit test file with mocked AWS SDK calls
Step 5: Environment and deployment
- Generate
.env.examplewith required env vars - Create
samconfig.tomlor deployment script - Add CloudWatch log group configuration
- Include X-Ray tracing configuration if requested
Best practices to follow:
- Keep functions small and focused (< 250 lines)
- Use Lambda Powertools for the runtime
- Implement idempotency for retried invocations
- Set appropriate memory (128MB-10GB) and timeout (3s-900s)
- Use provisioned concurrency for latency-sensitive functions
- Bundle only required dependencies
- Use ARM64 (Graviton2) for better price-performance
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/aws-lambda/SKILL.md
Popularity
- Repository stars
- 1
- 7-day trend score
- 3
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/sitharaj88/claude-skills/aws-lambda)