From website-deployment
Converts Express routes into Lambda functions behind API Gateway. Use when creating a serverless API, Lambda functions, or API Gateway.
How this skill is triggered — by the user, by Claude, or both
Slash command
/website-deployment:create-apiThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are converting Express routes into individual Lambda functions behind API Gateway.
You are converting Express routes into individual Lambda functions behind API Gateway.
.migration/plan.md exists with route mappinginfrastructure/ directory exists with CDK projectRead .migration/plan.md and show the user:
Route mapping table:
Express Route → Lambda Handler → API Gateway Route
GET /api/items → get-items.ts → GET /items
POST /api/items → create-item.ts → POST /items
GET /api/items/:id → get-item.ts → GET /items/{id}
PUT /api/items/:id → update-item.ts → PUT /items/{id}
DELETE /api/items/:id → delete-item.ts → DELETE /items/{id}
Express vs Lambda comparison for the simplest route:
// Before (Express):
app.get('/api/items', (req, res) => {
res.json(items);
});
// After (Lambda):
export const handler = async (event: APIGatewayProxyEvent) => {
return {
statusCode: 200,
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify(items),
};
};
Ask the user:
Create handler files at infrastructure/lambda/handlers/[name].ts
aws-lambda (APIGatewayProxyEvent, APIGatewayProxyResult)statusCode, headers, body)Create shared utilities at infrastructure/lambda/shared/
response.ts — consistent API response helpererrors.ts — error types and error response helperUpdate CDK stack at infrastructure/lib/api-stack.ts
cd infrastructure && npx cdk synth to verify compilation.migration/plan.md to mark create-api as completeAction: '*' or Resource: '*'*) — use a placeholder replaced at deploy timenpx claudepluginhub schuettc/website-deployment-plugin --plugin website-deploymentBuilds, manages, and operates APIs with Amazon API Gateway (REST, HTTP, WebSocket). Covers API type selection, configuration, IaC templates, and troubleshooting.
Builds production-ready serverless applications on AWS with patterns for Lambda, API Gateway, DynamoDB, SQS/SNS, SAM/CDK deployment, and cold start optimization.
Builds production-ready AWS serverless applications with Lambda functions, API Gateway, DynamoDB, SQS/SNS event patterns, SAM/CDK deployment, and cold start optimization.