From lambdakit-ts
A TypeScript (TS) toolkit for bootstrapping AWS Lambda functions with production-ready best practices.
npx claudepluginhub thecarlo/carlo-marketplace --plugin lambdakit-tsThis skill uses the workspace's default tool permissions.
Bootstrap a new TypeScript AWS Lambda using the instructions below.
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Generates original PNG/PDF visual art via design philosophy manifestos for posters, graphics, and static designs on user request.
Bootstrap a new TypeScript AWS Lambda using the instructions below.
If the desired event source is not specified, create a Lambda with API Gateway as the event source.
Start with:
what should the lambda be called?, and pre-populate it with the name of the current directory in kebab-case.The Lambda will be created at ${path}. Please confirm
Then give the user 2 options:
npm init -ynpm install -D @types/aws-lambda @types/node esbuild typescript prettier eslint eslint-plugin-prettier eslint-plugin-check-file eslint-config-prettier @typescript-eslint/parser @typescript-eslint/eslint-pluginnpm install @aws-lambda-powertools/logger @middy/coremkdir -p src/functions src/interfaces to create the directoriesassets/tsconfig.json fileassets/eslint.config.mjs fileassets/index.ts file and change the serviceName value according to the provided name or directory nameassets/local-invoke.ts file and change the functionName value according to the provided name or directory nameassets/greet.ts file and copy it to the src/functions/ directorybuild.sh file and run chmod + x to assign execute permissions.prettierrc file.gitignore filepackage.json from the section add package.json scripts belowFinal Instructions section belowadd the following scripts in package.json:
{
"scripts": {
"typecheck": "tsc --noEmit",
"build": "bash build.sh",
"invoke:local": "npx tsx src/local-invoke.ts",
"prettier": "prettier --check '**/*.{ts,json}'",
"prettier:fix": "prettier --write '**/*.{ts,json}'",
"lint": "eslint . --ext .ts",
"lint:fix": "eslint . --ext .ts --fix"
}
}
npm run buildnpm run prettier:fixnpm run lint:fixtsconfig.jsonsrc/functionssrc/interfaces