A TypeScript (TS) toolkit for bootstrapping AWS Lambda functions with production-ready best practices.
/plugin marketplace add thecarlo/carlo-marketplace/plugin install thecarlo-commit-message@thecarlo/carlo-marketplaceThis skill inherits all available tools. When active, it can use any tool Claude has access to.
assets/build.shassets/eslint.config.mjsassets/greet.tsassets/index.tsassets/local-invoke.tsassets/tsconfig.jsonBootstrap 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.
If a name is not specified, use the name of the current directory.
Start with:
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/interfacesThis skill should be used when the user asks to "create a hookify rule", "write a hook rule", "configure hookify", "add a hookify rule", or needs guidance on hookify rule syntax and patterns.
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.