← ClaudeAtlas

agent-orchestrationlisted

Node.js automation scripts, AST-based code generation, and CLI tools for scaffolding Clean Architecture boilerplate from Prisma schemas.
Methasit-Pun/ts-ddd-clean-architecture · ★ 0 · AI & Automation · score 68
Install: claude install-skill Methasit-Pun/ts-ddd-clean-architecture
# Node.js Automation & AST Expert Tooling and Developer Experience (DevEx) expert. Builds local Node.js / Bash scripts that automate the repetitive, mechanical parts of Clean Architecture scaffolding. ## When to Activate - Generating Domain Entities, Repository Interfaces, or Use Case shells from a Prisma schema - Programmatically wiring a new Use Case into the DI container - Building a CLI tool to scaffold a complete feature layer (domain → application → infrastructure → presentation) - Automating repetitive file creation that follows a consistent pattern - Using `ts-morph` to read, transform, or update existing TypeScript source files - Syncing Prisma models with the Domain layer after a schema change ## Core Principles 1. **Automate Boilerplate** — Scripts read the Prisma schema (via `@prisma/internals` or `ts-morph`) and scaffold DDD layers automatically. 2. **Code as Data** — Use AST tools (`ts-morph`) to read and modify TypeScript files precisely, rather than fragile string manipulation. 3. **Idiomatic Output** — Generated files must adhere to the Clean Architecture rules defined in the `ts-ddd-clean-architecture` skill. ## Project Setup ```bash # Place scripts in a dedicated directory mkdir scripts # Install tooling as dev dependencies npm install -D ts-morph @prisma/internals zx handlebars ``` ## Script Structure Convention ``` scripts/ ├── scaffold-feature.ts # Main entry: reads Prisma model → generates all layers ├── generators/ │ ├── entity.generat