typescript-engineering
Opinionated architecture for TypeScript client-server projects. Stack is tRPC, Zod, strict TypeScript, pnpm, RxJS, Hono or Express. Code is organized as a monorepo with modules as bounded contexts and a three-layer slice (services, domain, infrastructure) per module. Use this skill whenever the user is doing TypeScript client-server work, designing a feature, adding or modifying a module, deciding where code belongs, structuring packages, wiring cross-module communication, reviewing a design choice, or making any architectural call about layers, ports, events, or dependency direction. Triggers on phrases like "design this feature", "where should this live", "what module", "is this the right layer", "should this go in domain", "how do these modules talk", "review this architecture", "is this code clean", plus explicit references to tRPC architecture, bounded contexts, hexagonal architecture, ports and adapters, or DDD in a TS context.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。