cdk-rest-api-dynamodb
Installation
SKILL.md
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