giuseppe-trisciuoglio avatar

Aws Lambda Typescript Integration

This handles the cold start optimization decisions you'll face when building TypeScript Lambdas. You get two paths: NestJS for dependency injection and complex APIs (500ms cold start, 100KB+ bundles) or raw TypeScript for simple handlers (under 100ms, sub-50KB bundles). Includes working handler patterns for both approaches, API Gateway and ALB integration configs, and the usual gotchas around connection pooling and bundle size. Most useful when you're past the hello world stage and need to actually ship something that won't timeout on first invocation. The deployment validation checklist is genuinely helpful.

skills.sh installs
3.7K
GitHub stars
369
last updated
Aug 21, 2026

Install

$ npx -y skills add giuseppe-trisciuoglio/developer-kit --skill aws-lambda-typescript-integration --agent claude-code

Installs into .claude/skills of the current project.

Files

AWS Lambda TypeScript Integration

Patterns for creating high-performance AWS Lambda functions in TypeScript with optimized cold starts.

Overview

Two approaches for TypeScript Lambda:

  1. NestJS Framework - Dependency injection, modular architecture, larger bundle (100KB+)
  2. Raw TypeScript - Minimal overhead, smaller bundle (<50KB), maximum control

Both support API Gateway and ALB integration.

When to Use

  • Creating new Lambda functions in TypeScript
  • Optimizing cold start performance
  • Choosing between NestJS and minimal TypeScript
  • Configuring API Gateway or ALB integration
  • Setting up CI/CD for TypeScript Lambda

Instructions

1. Choose Your Approach

ApproachCold StartBundle SizeBest ForComplexity
NestJS< 500msLarger (100KB+)Complex APIs, enterprise apps, DI neededMedium
Raw TypeScript< 100msSmaller (< 50KB)Simple handlers, microservices, minimal depsLow

2. Project Structure

Sponsors

Details

Repository
github.com/giuseppe-trisciuoglio/developer-kit
Categories
Backend & APIs, DevOps & CI/CD, Release Management, Debugging, Cloud & Infrastructure
First seen
May 16, 2026

More from giuseppe-trisciuoglio/developer-kit

All 102
1giuseppe-trisciuoglio avatarbetter-authgiuseppe-trisciuoglio/developer-kitProvides Better Auth integration patterns for NestJS backend and Next.js frontend with Drizzle ORM and PostgreSQL. Use when setting up Better Auth with NestJS b3.7Kskills.sh installs
2giuseppe-trisciuoglio avataraws-lambda-java-integrationgiuseppe-trisciuoglio/developer-kitProvides AWS Lambda integration patterns for Java with cold start optimization. Use when deploying Java functions to AWS Lambda, choosing between Micronaut and 3.7Kskills.sh installs
3giuseppe-trisciuoglio avataraws-lambda-php-integrationgiuseppe-trisciuoglio/developer-kitProvides AWS Lambda integration patterns for PHP with Symfony using the Bref framework. Creates Lambda handler classes, configures runtime layers, sets up SQS/S3.7Kskills.sh installs
4cloudflare avatarbuilding-mcp-server-on-cloudflarecloudflare/skillsBuilds remote MCP (Model Context Protocol) servers on Cloudflare Workers with tools, OAuth authentication, and production deployment. Generates server code, con3.4Kskills.sh installs
5netlify avatarnetlify-edge-functionsnetlify/context-and-toolsGuide for writing Netlify Edge Functions. Use when building middleware, geolocation-based logic, request/response manipulation, authentication checks, A/B testi3.3Kskills.sh installs
6aj-geddes avatarnodejs-express-serveraj-geddes/useful-ai-promptsBuild production-ready Express.js servers with middleware, authentication, routing, and database integration. Use when creating REST APIs, managing requests/res3.3Kskills.sh installs