aws-lambda-typescript-integration
Skill by giuseppe-trisciuoglio
Provides AWS Lambda patterns for TypeScript, comparing NestJS and raw TypeScript approaches with cold start optimization. It is aimed at developers creating or deploying TypeScript Lambda functions behind API Gateway or ALB.
Install aws-lambda-typescript-integration
Built from the published package, never by AI.
git clone --depth 1 https://github.com/giuseppe-trisciuoglio/developer-kit /tmp/developer-kit && mkdir -p ~/.claude/skills && cp -r /tmp/developer-kit/plugins/developer-kit-typescript/skills/aws-lambda-typescript-integration ~/.claude/skills/aws-lambda-typescript-integrationRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install aws-lambda-typescript-integration in Claude Code
git clone --depth 1 https://github.com/giuseppe-trisciuoglio/developer-kit /tmp/developer-kit && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/developer-kit/plugins/developer-kit-typescript/skills/aws-lambda-typescript-integration ~/.gemini/antigravity-cli/skills/aws-lambda-typescript-integrationAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install aws-lambda-typescript-integration in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill gives an AI assistant patterns for building AWS Lambda functions in TypeScript. It compares two approaches: NestJS, which offers dependency injection and a modular structure with a larger bundle, and raw TypeScript, which has less overhead and a smaller bundle. Both approaches support API Gateway and ALB integration. The skill includes suggested project layouts, sample handlers, and guidance on cold start optimization, such as lazy loading, tree shaking, minification, and instance caching.
It also covers reusing clients between invocations, validating environment variables, returning structured error responses, and writing structured logs for CloudWatch. Deployment examples use the Serverless Framework or AWS SAM, with pre-deploy and post-deploy checks. The source points to separate reference guides for testing, CI/CD, and serverless configuration. It is aimed at developers who need to choose between NestJS and a minimal TypeScript setup for Lambda.
Written from the project's SKILL.md and checked against it.
What it can do
- Approach selectionCompares NestJS and raw TypeScript for Lambda by cold start, bundle size, and complexity.
- Project structureSuggests folder layouts for NestJS and raw TypeScript Lambda projects.
- Handler examplesProvides sample NestJS and raw TypeScript Lambda handlers for API Gateway.
- Cold start optimizationDescribes lazy loading, tree shaking, minification, and instance caching to reduce cold starts.
- Connection managementShows creating AWS SDK clients at module level so they are reused across invocations.
- Error handling and loggingShows HTTP error responses and structured JSON logging for CloudWatch Insights.
- Deployment configsProvides Serverless Framework and AWS SAM templates for an API Gateway function.
- Deployment validationLists pre-deploy and post-deploy checks, including local invoke and CloudWatch log review.
What you need
- Node.js 20.x runtime
- Serverless Framework or AWS SAM
- TypeScript 5.x
Try asking
- Create a TypeScript Lambda REST API using NestJS for a todo app
- Create a minimal raw TypeScript Lambda with optimal cold start
- Configure a GitHub Actions pipeline to deploy my TypeScript Lambda with SAM
Good to know
- Deployment package limit is 250MB unzipped (50MB zipped)
- Native modules must be compiled for Amazon Linux 2
- Lambda timeout maximum is 15 minutes
Security check
B- Allowed to use Write, Edit, Bash without limitsIn
SKILL.md
Checked automatically: plugins/developer-kit-typescript/skills/aws-lambda-typescript-integration/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: ReadWriteEditGlobGrepBash
Alternatives to aws-lambda-typescript-integration
All alternatives →Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.
Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.
Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.
Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.
Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.
Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.
Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli
aws-lambda-typescript-integration: common questions
When should I use NestJS instead of raw TypeScript for Lambda?
The source suggests NestJS for complex APIs, enterprise apps, and cases needing dependency injection, with a larger bundle and cold start under 500ms. Raw TypeScript is suggested for simple handlers and microservices with minimal dependencies.
Does this skill support API Gateway and ALB?
Yes. The source says both the NestJS and raw TypeScript approaches support API Gateway and ALB integration.
How can I reduce TypeScript Lambda cold starts?
The source recommends lazy loading heavy imports, tree shaking, minifying with esbuild or terser, and caching initialized services between invocations.
How do I install aws-lambda-typescript-integration?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is aws-lambda-typescript-integration free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is aws-lambda-typescript-integration safe to use?
It scores 66 of 100. Grades: maintenance B, licence A, quality B. Security check: grade B (allowed to use write, edit, bash without limits). Review the code before you install. How grades work.
What are alternatives to aws-lambda-typescript-integration?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
