cdk-rest-api-dynamodb
Purpose
Use this skill to design and implement DynamoDB-backed REST APIs on AWS in a way that fits the target repository, with DynamoDB as the default datastore.
When local reusable CDK constructs exist, use them as the source of truth. When they do not, use the references in this skill as portable patterns to generate an equivalent structure rather than one-off code.
Portable references live in references/. Load only the patterns needed for the task:
references/rest-api-pattern.mdfor API Gateway REST route compositionreferences/node-lambda-pattern.mdfor Lambda defaults and bundling shapereferences/dynamodb-pattern.mdfor DynamoDB table and access-pattern guidancereferences/importer-pattern.mdfor importing existing AWS resources when no local importer helper existsreferences/response-pattern.mdfor standardized API responses when no localRestResult-style helper existsreferences/jwt-pattern.mdfor JWT verification when no local token service existsreferences/runtime-composition-pattern.mdforsrc/app.ts-style singleton dependency wiring and repository context compositionreferences/middleware-pattern.mdfor reusable Middy middleware such as auth, validation, and HTTP error translationreferences/services-pattern.mdfor portable logger, storage, notification, and mapper service designreferences/utilities-pattern.mdfor shared response helpers, error types, status codes, cursor helpers, and other runtime utilities
More from stack-shifter/skills
spec-workflow
Drives a spec-first workflow where the spec is the locked source of truth and implementation runs through plan mode. Use whenever the user wants a feature spec drafted with explicit clarification questions, locked requirements in `docs/specs`, or a "do the next chunk then check in" implementation loop.
26cdk-rest-api-postgres
Designs and implements REST APIs on AWS using the target repository's CDK patterns first, with AWS Lambda handlers and Postgres via Drizzle as the default datastore. Use this whenever the user wants to add or modify API Gateway REST endpoints, Lambda handlers, Cognito auth, request models, reusable CDK constructs, Drizzle schema, SQL repositories, or database-backed CRUD routes, even if they only ask for "an endpoint", "a handler", "a table", "a repository", or "some CDK wiring".
12expressjs-rest-api
Designs and implements REST APIs using Express 5 with TypeScript, following the target repository's patterns first. Use this whenever the user wants to add or modify Express routes, controllers, middleware, validation, authentication, repositories, services, or runtime composition — even if they only ask for "a route", "a controller", "a handler", "validation", or "some middleware".
3cdk-rest-api
Designs and implements REST APIs on AWS using the target repository's CDK patterns first. Use this whenever the user wants to add or modify API Gateway REST endpoints, Lambda handlers, Cognito auth, middleware, request models, reusable CDK constructs, runtime composition, scheduled jobs, or repository-backed CRUD routes, even if they only ask for "an endpoint", "a handler", "some CDK wiring", or "an API route".
1dynamodb-design
Designs DynamoDB data models from access patterns first. Use this whenever the user needs help modeling a DynamoDB schema, choosing between single-table and multi-table design, defining partition and sort keys, GSIs, item collections, one-to-many or many-to-many relationships, filtering, sorting, uniqueness, TTL, pagination, or deciding whether DynamoDB is even the right fit for the workload.
1