aws-cdk-lambda

Implement AWS Lambda patterns with CDK and Powertools for Python serverless projects.

3|Updated Feb 25, 2026
One-click install
npx skills add https://github.com/Basilisk-Systems/claude-toolkit --skill aws-cdk-lambda
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aws-cdk-lambda
Source: https://github.com/Basilisk-Systems/claude-toolkit/tree/main/skills/aws-cdk-lambda
Command: npx skills add https://github.com/Basilisk-Systems/claude-toolkit --skill aws-cdk-lambda

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Standardizes AWS Lambda development by providing canonical patterns for writing handlers, configuring CDK-backed deployments, and wiring API Gateway integrations with Lambda Powertools, reducing ad-hoc approaches and deployment fragility.

Core Features & Use Cases

  • Enforces best practices for Lambda naming (avoid explicit function_name) and layered deployment patterns to support safe replacements.
  • Demonstrates practical CDK-based Lambda definitions, API Gateway routing, and Powertools-powered observability for Python Lambdas.
  • Includes architectural guidance for common serverless patterns such as Lambda handlers, API handlers, and DynamoDB stream processing with proper error handling and recovery.

Quick Start

In your project, adopt the Lambda pattern templates and Powertools scaffolding to start building consistent, production-grade handlers.

Frequently Asked Questions about aws-cdk-lambda

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

FAQPage Schema
How do I structure production-ready AWS Lambda handlers with CDK and Powertools?

Production-ready AWS Lambda handlers using CDK and Powertools require standardized scaffolding for API Gateway integrations, shared layers, and environment configuration to enforce consistent error handling and minimize deployment fragility.

Why should I avoid explicit function_name when deploying AWS Lambda with CDK?

Avoiding explicit function_name in CDK Lambda deployments enforces naming conventions that support safe replacements and minimize operational risk during stack updates, preventing resource replacement failures.

What is the best way to process DynamoDB streams in Python Lambda functions?

Processing DynamoDB streams in Python Lambda functions is best handled through canonical serverless patterns that integrate Powertools for proper error handling, recovery mechanisms, and consistent observability.

Can I use AWS Lambda Powertools to standardize API Gateway routing in CDK?

Yes, AWS Lambda Powertools standardizes API Gateway routing in CDK by providing utilities for handler scaffolding, observability, and API integrations, reducing ad-hoc approaches to serverless deployment.

How does sharing Lambda layers in CDK improve serverless deployment reliability?

Sharing Lambda layers in CDK improves serverless deployment reliability by centralizing dependencies and configuration, ensuring consistent runtime environments across handlers while reducing deployment fragility.

When do I need AWS Lambda Powertools for Python serverless projects?

You need AWS Lambda Powertools for Python serverless projects when standardizing handlers, API Gateway routing, and DynamoDB stream processing with production-grade observability, error handling, and architectural best practices.