gbourgeat

Ddd TS Kit — Git skill for Claude Code

Git community

DDD, Clean Architecture and Clean Code for TypeScript backends: Claude Code plugin, CLI (bootstrap, scaffolding, architecture checks), framework-agnostic runtime packages, ESLint plugin, GitHub and Gi.

How to install Ddd TS Kit

This entry records only its repository, not the path inside it, so there is no exact command to give. Open gbourgeat/ddd-ts-kit and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Ddd TS Kit does

DDD, Clean Architecture and Clean Code for TypeScript backends: Claude Code plugin, CLI (bootstrap, scaffolding, architecture checks), framework-agnostic runtime packages, ESLint plugin, GitHub and GitLab pipelines.

Alternatives in Git

  • Gh Fix CI — Debug and fix failing GitHub Actions PR checks using log inspection 14.6k ★
  • GitHub Review Failures — Use when CI checks are failing on a PR — fetches failure logs, diagnoses root causes, implements fixes, and pu 1.5k ★
  • Icpg Bootstrap — /icpg-bootstrap — Bootstrap from Git History 705 ★

README

ddd-ts-kit

Domain-Driven Design, Clean Architecture and Clean Code for TypeScript backends, held by tools rather than by good intentions.

It is three things that share one definition of the architecture ([docs/ARCHITECTURE.md](docs/ARCHITECTURE.md)):

  • a Claude Code plugin: skills, agents and hooks that make a coding agent work inside the architecture, generate instead of typing boilerplate, and stop when a rule is broken;
  • a CLI: bootstrap a project in minutes, scaffold every building block from templates, verify the structure, generate the documentation;
  • runtime packages and analyzers: framework-agnostic building blocks, an ESLint plugin and a CI pipeline for GitHub and GitLab.

TypeScript only. No framework imposed: Express, Fastify or NestJS; zod, class-validator or any Standard Schema library; tsyringe, NestJS or manual wiring; Drizzle, Knex, Prisma or TypeORM; RabbitMQ, Kafka, NATS JetStream or Redis Streams; JWT or Keycloak; roles, attributes or relationships. `ddd-ts-kit init` without a flag takes Express, zod, tsyringe, Drizzle on PostgreSQL and Vitest.

Quick start

mkdir orders-api && cd orders-api
npx ddd-ts-kit init --http express --validation zod --di tsyringe --orm drizzle \
  --context ordering:core --context billing:supporting
npm install
npm run infra:up      # PostgreSQL (and a tracing backend with the observability profile)
npm run dev           # auto reload; API documentation on /docs
npm run verify        # types, lint, format, tests, e2e, architecture, import graph, dead code, documentation drift

Then, the ubiquitous language first, code second:

npx ddd-ts-kit generate aggregate ordering Order --term "Order=A customer's request to buy products"
npx ddd-ts-kit generate repository ordering Order
npx ddd-ts-kit generate command ordering PlaceOrder --permission order.place --aggregate Order \
  --term "Place=To submit an order for fulfilment"
npx ddd-ts-kit generate route ordering PlaceOrder --me