aws-lambda

Installation
SKILL.md

AWS Lambda Development

Overview

AWS Lambda allows you to run code without provisioning or managing servers, executing only when triggered by events. This skill should be invoked when building microservices, event-driven architectures, background jobs, or API backends that require rapid scaling.

Core Principles

  • Statelessness: Lambda functions are ephemeral. Any persistent state must be stored in external services (like DynamoDB, S3, or RDS).
  • Event-Driven: Functions should be designed to react to specific triggers (API Gateway requests, S3 bucket uploads, SQS messages).
  • Fast Execution: AWS charges based on execution time and memory. Optimize code for fast startup and quick processing.
  • Least Privilege: Grant the Lambda execution role only the specific AWS permissions required to perform its task.

Preparation Checklist

  • Determine the trigger source (e.g., API Gateway, EventBridge, SQS).
  • Select the appropriate runtime (Node.js, Python, Go, etc.) based on team expertise and performance needs.
  • Identify dependencies and plan how they will be packaged (e.g., Lambda Layers, bundling with Webpack/esbuild).
Installs
1
GitHub Stars
3
First Seen
2 days ago
aws-lambda — heldinhow/awesome-opencode-dev-skills