aws-serverless

Builds, deploys, debugs, and optimizes AWS serverless applications using Lambda, API Gateway, and Step Functions.

Updated Jul 1, 2026
One-click install
npx skills add https://github.com/sakicodes/BuildFestHackathon26 --skill aws-serverless-sakicodes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aws-serverless
Source: https://github.com/sakicodes/BuildFestHackathon26/tree/main/.agents/skills/aws-serverless
Command: npx skills add https://github.com/sakicodes/BuildFestHackathon26 --skill aws-serverless-sakicodes

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) components.

What problem does it solve? Building and operating serverless applications on AWS involves dozens of interacting services, quotas, and failure modes. This Skill provides domain expertise for configuring Lambda, debugging API Gateway errors, tuning concurrency, wiring event sources, and deploying with SAM or CDK, so you avoid common pitfalls like 502 errors, CORS misconfigurations, and throttling surprises. ## Core Features & Use Cases - Troubleshooting and Debugging: Diagnose 502/504 errors, CORS failures, cold starts, throttling, and event source mapping issues with error-to-cause-to-fix references. - Architecture and Deployment Guidance: Select serverless patterns (REST API, event processing, orchestration, fan-out, streaming) and deploy with SAM templates or CDK constructs. - Performance and Concurrency Tuning: Configure reserved vs provisioned concurrency, SnapStart, memory/CPU allocation, and ESM scaling for production workloads. - Use Case: Your API Gateway returns intermittent 502 errors on a Lambda proxy integration. The Skill walks you through the response format checklist, identifies that the body must be a JSON string, and provides corrected Python and TypeScript handler code. ## Quick Start Ask the assistant to help debug a Lambda timeout behind API Gateway or to generate a SAM template for an SQS-triggered function with partial batch failure handling.

Frequently Asked Questions about aws-serverless

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix 502 errors from API Gateway Lambda proxy integration?

The most common cause of 502 errors is an incorrect Lambda response format. Ensure statusCode is an integer, headers is an object with string values, and body is a JSON string produced by JSON.stringify or json.dumps, not a raw object.

Should I use REST API or HTTP API in API Gateway?

Use HTTP API for lower latency and simpler setups. Choose REST API when you need API keys, usage plans, request validation, VTL transformation, built-in caching, WAF, private endpoints, or X-Ray tracing.

What is the difference between reserved and provisioned concurrency in Lambda?

Reserved concurrency caps a function's maximum concurrent executions and reserves that capacity from the account pool. Provisioned concurrency pre-initializes warm environments to eliminate cold starts, applies only to published versions or aliases, and is billed even when idle.

Does Lambda SnapStart work with provisioned concurrency?

No, SnapStart and provisioned concurrency are mutually exclusive on the same function. SnapStart supports Java 11+, Python 3.12+, and .NET 8+ runtimes, while provisioned concurrency works with all runtimes and guarantees sub-50ms starts.

How do I handle partial batch failures with SQS and Lambda?

Set FunctionResponseTypes to ReportBatchItemFailures on the event source mapping and return a batchItemFailures list containing the messageId values of failed records. Successful messages are not retried, and Powertools provides a BatchProcessor utility for this pattern.

When should I use Step Functions Standard vs Express workflows?

Use Standard for long-running workflows up to one year, exactly-once semantics, .sync integrations, waitForTaskToken callbacks, and Distributed Map. Use Express for high-volume event processing under five minutes where at-least-once execution is acceptable.