giuseppe-trisciuoglio avatar

Aws Lambda Python Integration

Handles the two most common Python Lambda patterns: Chalice for REST APIs with routing built in, and raw Python for minimal overhead. The skill covers cold start optimization (keeping them under 200ms for Chalice, under 100ms for raw), connection pooling for boto3 clients, and deployment configs for both Serverless Framework and SAM. What's useful here is the practical guidance on memory settings and dependency management, since bloated packages are usually what kill Python Lambda performance. If you're choosing between framework convenience and maximum control for a Python serverless project, this walks through both paths with actual tradeoffs instead of just picking one.

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

Install

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

Installs into .claude/skills of the current project.

Files

AWS Lambda Python Integration

Patterns for creating high-performance AWS Lambda functions in Python with optimized cold starts and clean architecture.

Overview

AWS Lambda Python integration with two approaches: AWS Chalice (full-featured framework) and Raw Python (minimal overhead). Both support API Gateway/ALB integration with production-ready configurations.

When to Use

Use this skill when:

  • Creating new Lambda functions in Python
  • Migrating existing Python applications to Lambda
  • Optimizing cold start performance for Python Lambda
  • Choosing between framework-based and minimal Python approaches
  • Configuring API Gateway or ALB integration
  • Setting up deployment pipelines for Python Lambda

Instructions

1. Choose Your Approach

ApproachCold StartBest ForComplexity
AWS Chalice< 200msREST APIs, rapid development, built-in routingLow
Raw Python< 100msSimple handlers, maximum control, minimal dependenciesLow

2. Project Structure

Sponsors

Details

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

More from giuseppe-trisciuoglio/developer-kit

All 102
1giuseppe-trisciuoglio avataraws-lambda-typescript-integrationgiuseppe-trisciuoglio/developer-kitProvides AWS Lambda integration patterns for TypeScript with cold start optimization. Use when creating or deploying TypeScript Lambda functions, choosing betwe3.7Kskills.sh installs
2giuseppe-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
3giuseppe-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
4giuseppe-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
5cloudflare 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
6netlify 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