This covers the essentials for building serverless apps on AWS with Lambda, API Gateway, DynamoDB, and event-driven patterns using SQS/SNS. You get proper handler structures for both Node.js and Python, SAM templates for API Gateway integration, and batch processing patterns with partial failure handling. The sharp edges section calls out cold start issues and gives you concrete fixes like measuring INIT phase and tuning memory allocation. It's Apache 2.0 licensed from vibeship-spawner-skills. Honestly, the anti-patterns section could use more depth, but the code examples are solid and cover the stuff you'll actually need when wiring together a production serverless API.

skills.sh installs
334
GitHub stars
33.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add davila7/claude-code-templates --skill aws-serverless --agent claude-code

Installs into .claude/skills of the current project.

Files

AWS Serverless

Patterns

Lambda Handler Pattern

Proper Lambda function structure with error handling

When to use: ['Any Lambda function implementation', 'API handlers, event processors, scheduled tasks']

```javascript
// Node.js Lambda Handler
// handler.js

// Initialize outside handler (reused across invocations)
const { DynamoDBClient } = require('@aws-sdk/client-dynamodb');
const { DynamoDBDocumentClient, GetCommand } = require('@aws-sdk/lib-dynamodb');

const client = new DynamoDBClient({});
const docClient = DynamoDBDocumentClient.from(client);

// Handler function
exports.handler = async (event, context) => {
  // Optional: Don't wait for event loop to clear (Node.js)
  context.callbackWaitsForEmptyEventLoop = false;

  try {
    // Parse input based on event source
    const body = typeof event.body === 'string'
      ? JSON.parse(event.body)
      : event.body;

    // Business logic
    const result = await processRequest(body);

Sponsors

Details

Repository
github.com/davila7/claude-code-templates
Categories
Backend & APIs, Cloud & Infrastructure, Databases
First seen
Jun 3, 2026

More from davila7/claude-code-templates

All 618
1pedronauck avatarmermaid-diagramspedronauck/skillsComprehensive guide for creating software diagrams using Mermaid syntax. Use when users need to create, visualize, or document software through diagrams includi333skills.sh installs
2nocobase avatarnocobase-ui-buildernocobase/skillsINTERNAL CONTINUATION ONLY. Never select this skill from a raw user UI request. Use it only after nocobase-portal-manage has already resolved exactly one enable331skills.sh installs
3paperclipai avatarcreate-agent-adapterpaperclipai/paperclipCreate or modify Paperclip agent adapters across server, UI, and CLI surfaces. Use when adding support for a new CLI agent, API agent, custom process, or adapte329skills.sh installs
4mryll avatarvertical-slice-architecturemryll/skillsEnforce Vertical Slice Architecture (VSA) when building applications in any language (Go, .NET/C#, Java, Kotlin, TypeScript, Python, etc.) and any type (web API327skills.sh installs
5sanjay3290 avataratlassiansanjay3290/ai-skillsManage Jira issues and Confluence wiki pages in Atlassian Cloud. Use when: (1) searching/creating/updating Jira issues with JQL, (2) searching/reading/creating 327skills.sh installs
6jezweb avatarcloudflare-agentsjezweb/claude-skillsBuild AI agents with Cloudflare Agents SDK on Workers + Durable Objects. Provides WebSockets, state persistence, scheduling, and multi-agent coordination. Preve326skills.sh installs