api-designREST contract conventions between the Next.js frontend and NestJS backend — naming, status codes, error shape, pagination, versioning, OpenAPI. Load when adding or changing API endpoints.
ci-webThe Node/TypeScript half of CI — shipped templates, the typecheck/lint/format/boundaries gate, cross-repo resolution, lockfiles, reproducing a red run locally. Load together with aidlc:ci-cd on a Node/TS repo.
coding-standards-tsTypeScript coding standards — typing, error handling, naming, module structure, async. Load when writing or reviewing TypeScript or JavaScript on the web stack.
db-migrationsMigration safety — expand-contract, rollback, backfills and risky-DDL rules for Postgres and MongoDB. Load whenever a change touches schema or indexes, or needs a backfill.
dockerDocker conventions — multi-stage Node builds, compose dev environments, image hygiene, container security, running the CI image locally. Load for Dockerfiles or compose files, build or run changes, or a CI failure that won't reproduce locally.
mongodbMongoDB conventions — document modeling, indexes, aggregations and update discipline. Load when designing collections, writing queries or reviewing MongoDB changes.
nestjsNestJS conventions — module boundaries, dependency injection, DTO validation, errors, configuration, testing. Load when implementing, planning or reviewing NestJS backend work.
nextjsNext.js App Router conventions — server/client split, data fetching, server actions, routing, caching, performance. Load when implementing, planning or reviewing Next.js frontend work.
postgresPostgreSQL conventions — schema design, indexing, query patterns and review heuristics. Load when designing schemas, writing queries or reviewing Postgres changes.
project-structureEnterprise project structure for the web stack — folder trees, layering rules and state/data conventions for NestJS and Next.js or SPA frontends. Load when scaffolding a repo, placing new code, or reviewing that code sits in the right layer.