Skill
AWS Lambda Serverless
Builds AWS Lambda functions that handle cold starts, timeouts, memory sizing and retries, with idempotent handlers and clear failure paths.
1Write for the Lambda lifecycle: cold start, warm reuse, retry and timeout.
2Steps
31. Identify the trigger and its retry behavior. Async invokes and SQS retry; API Gateway does not. Decide what a duplicate event does.
42. Create clients, load config and open connections outside the handler so warm invocations reuse them. Keep imports lean and import only the SDK clients you use.
53. Make the handler idempotent: derive an idempotency key from the event (message ID, request ID or business key) and record it with a conditional write (`attribute_not_exists`) before the side effect.
aws
AWS Lambda Serverless
Skillaws
Free