[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6DVWHVZGW7KTC7TD4ABCQP7":3,"skill-same:01M6DVWHVZGW7KTC7TD4ABCQP7":72},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":47,"repositoryHtmlUrl":48,"repositoryHomepageUrl":6,"ownerHtmlUrl":49,"ownerBlogUrl":50,"ownerDescription":6,"updatedAt":51,"install":52,"resources":65},"01M6DVWHVZGW7KTC7TD4ABCQP7","nest-conventions",null,"ACTIVATE when creating NestJS modules, controllers, services, guards, pipes, or configuring dependency injection. ACTIVATE for 'NestJS', '@Module', '@Controller', '@Injectable', 'guard', 'pipe', 'DI token'. Covers: module-per-bounded-context structure, thin controllers, ZodValidationPipe, guards for auth, exception filters, Symbol token-based DI for interfaces, constructor injection only. DO NOT use for: domain layer code (see nest-ddd-conventions), Zod schema design (see zod-conventions).","FabienSalles\u002Fclaude-marketplace","FabienSalles","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F937901?v=4","01M6DVJBD31CJKRB382FQFZ5FH","Fabien Salles","01M6DVJBQNY8Q18KJD1ESAD6TX",9,"MIT","https:\u002F\u002Fgithub.com\u002FFabienSalles\u002Fclaude-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fnest\u002Fskills\u002Fnest-conventions\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"nest conventions","conventions","filters","module","dependency injection","domain","bounded-context","do","activate","nestjs","design","modules","only","schema","use","zod","guard","ddd","code","auth","2026-11-10 10:12:30",false,"---\nname: nest-conventions\ndescription: \"ACTIVATE when creating NestJS modules, controllers, services, guards, pipes, or configuring dependency injection. ACTIVATE for 'NestJS', '@Module', '@Controller', '@Injectable', 'guard', 'pipe', 'DI token'. Covers: module-per-bounded-context structure, thin controllers, ZodValidationPipe, guards for auth, exception filters, Symbol token-based DI for interfaces, constructor injection only. DO NOT use for: domain layer code (see nest-ddd-conventions), Zod schema design (see zod-conventions).\"\n---\n\n# NestJS Conventions\n\n## Module Structure\n\n**1 module = 1 bounded context.** Each module encapsulates its own controllers, services, and providers.\n\n```typescript\n\u002F\u002F ✅ CORRECT - Self-contained module\n@Module({\n  imports: [SharedModule],\n  controllers: [ReceiptController],\n  providers: [\n    ReceiptService,\n    { provide: RECEIPT_REPOSITORY, useClass: DrizzleReceiptRepository },\n  ],\n  exports: [ReceiptService], \u002F\u002F Only export what other modules need\n})\nexport class ReceiptModule {}\n```\n\n## File Naming\n\n| Type | Pattern | Example |\n|------|---------|---------|\n| Module | `*.module.ts` | `receipt.module.ts` |\n| Controller | `*.controller.ts` | `receipt.controller.ts` |\n| Service | `*.service.ts` | `receipt.service.ts` |\n| Guard | `*.guard.ts` | `auth.guard.ts` |\n| Pipe | `*.pipe.ts` | `zod-validation.pipe.ts` |\n| Filter | `*.filter.ts` | `http-exception.filter.ts` |\n| Interceptor | `*.interceptor.ts` | `logging.interceptor.ts` |\n| Test | `*.spec.ts` | `receipt.service.spec.ts` |\n\n## Thin Controllers\n\nControllers handle HTTP concerns only. **Delegate all business logic to services.**\n\n```typescript\n\u002F\u002F ❌ AVOID - Business logic in controller\n@Controller('receipts')\nexport class ReceiptController {\n  @Post()\n  async create(@Body() dto: CreateReceiptDto) {\n    const lease = await this.leaseRepo.findById(dto.leaseId);\n\n    if (!lease) {\n      throw new NotFoundException('Lease not found');\n    }\n\n    const amount = lease.monthlyRent;\n    const receipt = { leaseId: dto.leaseId, amount, period: dto.period };\n    return this.receiptRepo.save(receipt);\n  }\n}\n\n\u002F\u002F ✅ CORRECT - Controller delegates to service\n@Controller('receipts')\nexport class ReceiptController {\n  constructor(private readonly receiptService: ReceiptService) {}\n\n  @Post()\n  async create(@Body(ZodValidationPipe) dto: CreateReceiptDto) {\n    return this.receiptService.generate(dto);\n  }\n}\n```\n\n## Guards (Authentication \u002F Authorization)\n\n```typescript\n@Injectable()\nexport class AuthGuard implements CanActivate {\n  canActivate(context: ExecutionContext): boolean {\n    const request = context.switchToHttp().getRequest();\n    const token = request.headers.authorization?.replace('Bearer ', '');\n\n    if (!token) {\n      throw new UnauthorizedException();\n    }\n\n    \u002F\u002F Validate token...\n    return true;\n  }\n}\n\n\u002F\u002F Usage: at controller or route level\n@UseGuards(AuthGuard)\n@Controller('receipts')\nexport class ReceiptController { ... }\n```\n\n## Pipes (Validation)\n\n**Use a ZodValidationPipe** for DTO validation with Zod schemas:\n\n```typescript\n@Injectable()\nexport class ZodValidationPipe implements PipeTransform {\n  constructor(private readonly schema: ZodSchema) {}\n\n  transform(value: unknown) {\n    const result = this.schema.safeParse(value);\n\n    if (!result.success) {\n      throw new BadRequestException(result.error.flatten());\n    }\n\n    return result.data;\n  }\n}\n\n\u002F\u002F Usage\n@Post()\nasync create(\n  @Body(new ZodValidationPipe(CreateReceiptSchema)) dto: CreateReceiptDto,\n) {\n  return this.receiptService.generate(dto);\n}\n```\n\n> **See also**: `zod-conventions` for Zod schema patterns.\n\n## Exception Filters\n\nCentralized error handling:\n\n```typescript\n@Catch(HttpException)\nexport class HttpExceptionFilter implements ExceptionFilter {\n  catch(exception: HttpException, host: ArgumentsHost) {\n    const ctx = host.switchToHttp();\n    const response = ctx.getResponse();\n    const status = exception.getStatus();\n\n    response.status(status).json({\n      statusCode: status,\n      message: exception.message,\n      timestamp: new Date().toISOString(),\n    });\n  }\n}\n\n\u002F\u002F Register globally in main.ts\napp.useGlobalFilters(new HttpExceptionFilter());\n```\n\n## Dependency Injection\n\n### Token-based injection for interfaces\n\n```typescript\n\u002F\u002F Define token\nexport const RECEIPT_REPOSITORY = Symbol('ReceiptRepository');\n\n\u002F\u002F Register in module\n@Module({\n  providers: [\n    { provide: RECEIPT_REPOSITORY, useClass: DrizzleReceiptRepository },\n  ],\n})\n\n\u002F\u002F Inject in service\n@Injectable()\nexport class ReceiptService {\n  constructor(\n    @Inject(RECEIPT_REPOSITORY) private readonly repo: ReceiptRepository,\n  ) {}\n}\n```\n\n### Prefer constructor injection\n\n```typescript\n\u002F\u002F ✅ CORRECT - Constructor injection\n@Injectable()\nexport class ReceiptService {\n  constructor(@Inject(RECEIPT_REPOSITORY) private readonly repo: ReceiptRepository) {}\n}\n\n\u002F\u002F ❌ AVOID - Property injection\n@Injectable()\nexport class ReceiptService {\n  @Inject() repo: ReceiptRepository;\n}\n```\n\n## Quick Reference\n\n| Rule | Convention |\n|------|-----------|\n| Module scope | 1 module = 1 bounded context |\n| Controllers | Thin — delegate to services |\n| Validation | ZodValidationPipe in @Body() |\n| Auth | Guards at controller\u002Froute level |\n| Error handling | Global exception filters |\n| DI for interfaces | Symbol tokens + @Inject() |\n| DI style | Constructor injection only |\n| File naming | `feature.type.ts` pattern |\n","# NestJS Conventions\n\n## Module Structure\n\n**1 module = 1 bounded context.** Each module encapsulates its own controllers, services, and providers.\n\n```typescript\n\u002F\u002F ✅ CORRECT - Self-contained module\n@Module({\n  imports: [SharedModule],\n  controllers: [ReceiptController],\n  providers: [\n    ReceiptService,\n    { provide: RECEIPT_REPOSITORY, useClass: DrizzleReceiptRepository },\n  ],\n  exports: [ReceiptService], \u002F\u002F Only export what other modules need\n})\nexport class ReceiptModule {}\n```\n\n## File Naming\n\n| Type | Pattern | Example |\n|------|---------|---------|\n| Module | `*.module.ts` | `receipt.module.ts` |\n| Controller | `*.controller.ts` | `receipt.controller.ts` |\n| Service | `*.service.ts` | `receipt.service.ts` |\n| Guard | `*.guard.ts` | `auth.guard.ts` |\n| Pipe | `*.pipe.ts` | `zod-validation.pipe.ts` |\n| Filter | `*.filter.ts` | `http-exception.filter.ts` |\n| Interceptor | `*.interceptor.ts` | `logging.interceptor.ts` |\n| Test | `*.spec.ts` | `receipt.service.spec.ts` |\n\n## Thin Controllers\n\nControllers handle HTTP concerns only. **Delegate all business logic to services.**\n\n```typescript\n\u002F\u002F ❌ AVOID - Business logic in controller\n@Controller('receipts')\nexport class ReceiptController {\n  @Post()\n  async create(@Body() dto: CreateReceiptDto) {\n    const lease = await this.leaseRepo.findById(dto.leaseId);\n\n    if (!lease) {\n      throw new NotFoundException('Lease not found');\n    }\n\n    const amount = lease.monthlyRent;\n    const receipt = { leaseId: dto.leaseId, amount, period: dto.period };\n    return this.receiptRepo.save(receipt);\n  }\n}\n\n\u002F\u002F ✅ CORRECT - Controller delegates to service\n@Controller('receipts')\nexport class ReceiptController {\n  constructor(private readonly receiptService: ReceiptService) {}\n\n  @Post()\n  async create(@Body(ZodValidationPipe) dto: CreateReceiptDto) {\n    return this.receiptService.generate(dto);\n  }\n}\n```\n\n## Guards (Authentication \u002F Authorization)\n\n```typescript\n@Injectable()\nexport class AuthGuard implements CanActivate {\n  canActivate(context: ExecutionContext): boolean {\n    const request = context.switchToHttp().getRequest();\n    const token = request.headers.authorization?.replace('Bearer ', '');\n\n    if (!token) {\n      throw new UnauthorizedException();\n    }\n\n    \u002F\u002F Validate token...\n    return true;\n  }\n}\n\n\u002F\u002F Usage: at controller or route level\n@UseGuards(AuthGuard)\n@Controller('receipts')\nexport class ReceiptController { ... }\n```\n\n## Pipes (Validation)\n\n**Use a ZodValidationPipe** for DTO validation with Zod schemas:\n\n```typescript\n@Injectable()\nexport class ZodValidationPipe implements PipeTransform {\n  constructor(private readonly schema: ZodSchema) {}\n\n  transform(value: unknown) {\n    const result = this.schema.safeParse(value);\n\n    if (!result.success) {\n      throw new BadRequestException(result.error.flatten());\n    }\n\n    return result.data;\n  }\n}\n\n\u002F\u002F Usage\n@Post()\nasync create(\n  @Body(new ZodValidationPipe(CreateReceiptSchema)) dto: CreateReceiptDto,\n) {\n  return this.receiptService.generate(dto);\n}\n```\n\n> **See also**: `zod-conventions` for Zod schema patterns.\n\n## Exception Filters\n\nCentralized error handling:\n\n```typescript\n@Catch(HttpException)\nexport class HttpExceptionFilter implements ExceptionFilter {\n  catch(exception: HttpException, host: ArgumentsHost) {\n    const ctx = host.switchToHttp();\n    const response = ctx.getResponse();\n    const status = exception.getStatus();\n\n    response.status(status).json({\n      statusCode: status,\n      message: exception.message,\n      timestamp: new Date().toISOString(),\n    });\n  }\n}\n\n\u002F\u002F Register globally in main.ts\napp.useGlobalFilters(new HttpExceptionFilter());\n```\n\n## Dependency Injection\n\n### Token-based injection for interfaces\n\n```typescript\n\u002F\u002F Define token\nexport const RECEIPT_REPOSITORY = Symbol('ReceiptRepository');\n\n\u002F\u002F Register in module\n@Module({\n  providers: [\n    { provide: RECEIPT_REPOSITORY, useClass: DrizzleReceiptRepository },\n  ],\n})\n\n\u002F\u002F Inject in service\n@Injectable()\nexport class ReceiptService {\n  constructor(\n    @Inject(RECEIPT_REPOSITORY) private readonly repo: ReceiptRepository,\n  ) {}\n}\n```\n\n### Prefer constructor injection\n\n```typescript\n\u002F\u002F ✅ CORRECT - Constructor injection\n@Injectable()\nexport class ReceiptService {\n  constructor(@Inject(RECEIPT_REPOSITORY) private readonly repo: ReceiptRepository) {}\n}\n\n\u002F\u002F ❌ AVOID - Property injection\n@Injectable()\nexport class ReceiptService {\n  @Inject() repo: ReceiptRepository;\n}\n```\n\n## Quick Reference\n\n| Rule | Convention |\n|------|-----------|\n| Module scope | 1 module = 1 bounded context |\n| Controllers | Thin — delegate to services |\n| Validation | ZodValidationPipe in @Body() |\n| Auth | Guards at controller\u002Froute level |\n| Error handling | Global exception filters |\n| DI for interfaces | Symbol tokens + @Inject() |\n| DI style | Constructor injection only |\n| File naming | `feature.type.ts` pattern |\n",{"name":5,"description":7},"main","479b264ec17cc5fafbf36287a1087472d3a386d3","plugins\u002Fnest\u002Fskills\u002Fnest-conventions",2,"https:\u002F\u002Fgithub.com\u002FFabienSalles\u002Fclaude-marketplace","https:\u002F\u002Fgithub.com\u002FFabienSalles","https:\u002F\u002Ffabiensalles.com","2026-10-13 04:33:22",{"source":8,"skillName":5,"commands":53,"prompt":63,"zipAvailable":64},[54,57,60],{"tool":55,"command":56},"npx","npx skills add FabienSalles\u002Fclaude-marketplace --skill nest-conventions",{"tool":58,"command":59},"bunx","bunx skills add FabienSalles\u002Fclaude-marketplace --skill nest-conventions",{"tool":61,"command":62},"pnpm","pnpm dlx skills add FabienSalles\u002Fclaude-marketplace --skill nest-conventions","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FFabienSalles\u002Fclaude-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fnest\u002Fskills\u002Fnest-conventions\u002FSKILL.md",true,[66],{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"STRATEGY.json","REFERENCE","参考文档",499,"https:\u002F\u002Fgithub.com\u002Fhefarica\u002Farbitragex-v2\u002Fblob\u002Fmain\u002Fskills\u002Farbitragex-ultra\u002Fstrategies\u002FMEV-11-003\u002FSTRATEGY.json",[73,94,110,130,150,166],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":39},"01M6DW2YS1MGF65JNS1QQ15QHS","vitest-test-conventions","ACTIVATE when writing Vitest tests, creating test files, using vi.fn()\u002Fvi.mock()\u002Fvi.spyOn(), or test factories. ACTIVATE for 'Vitest', 'it.each', 'NestJS testing module', 'supertest', 'vi.fn', 'vi.mock', 'spyOn'. Provides Vitest\u002FNestJS-specific testing patterns; cross-language testing principles (DAMP, AAA, spy over mock, what NOT to test) live in craft:testing-principles. DO NOT use for: node:test files (a file importing node:test) or a project whose tests run under node --test (see node-test:node-test-conventions), TDD workflow\u002Fiterations (see vitest:vitest-tdd-workflow), PHP\u002FPHPUnit tests (see phpunit:php-test-conventions).","https:\u002F\u002Fgithub.com\u002FFabienSalles\u002Fclaude-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fvitest\u002Fskills\u002Fvitest-test-conventions\u002FSKILL.md",[],[80,81,20,82,83,84,85,86,87,88,33,89,28,27,26,90,91,22,92,93],"test","vitest","vitest test conventions","testing","writing","tdd","workflow","file","testing patterns","files","project","tests","fn","testing principles",{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":39},"01M6DW2VFE6NPFCGQKQ68P1MVZ","vitest-tdd-workflow","ACTIVATE when building new features, endpoints, or user stories using TDD with Vitest in a TypeScript\u002FNestJS context. ACTIVATE for '\u002Ffeature-tdd-dev', 'TDD', 'red-green-refactor' in TS context. Provides Vitest\u002FNestJS-specific TDD examples and commands; cross-language TDD workflow (cross-layer iterations, RED-GREEN-REFACTOR, working app, bug-fix-first-test, mocks-hiding-bugs) lives in craft:tdd-workflow-principles. DO NOT use for: node:test files (a file importing node:test) or a project whose tests run under node --test (see node-test:node-test-conventions), test writing conventions (see vitest:vitest-test-conventions), PHP TDD (see phpunit:php-tdd-workflow).","https:\u002F\u002Fgithub.com\u002FFabienSalles\u002Fclaude-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Fvitest\u002Fskills\u002Fvitest-tdd-workflow\u002FSKILL.md",[],[85,86,101,81,102,84,103,87,104,105,33,106,89,27,26,107,90,91,108,109],"tdd workflow","vitest tdd workflow","dev","examples","fix","red-green-refactor","green","feature","app",{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":39},"01M6DW2RGMQE10D8C5Z5MA2RMY","ts-refactoring","ACTIVATE when refactoring TypeScript code. ACTIVATE for 'refactor', 'extract', 'redesign', 'simplify', or 'clean up' in a TypeScript \u002F Node \u002F NestJS context. This skill provides TS-specific examples for the cross-language refactoring rules defined in craft:refactoring-principles. DO NOT use for: writing new features from scratch, general OOP patterns (see ts-oop).","https:\u002F\u002Fgithub.com\u002FFabienSalles\u002Fclaude-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Ftypescript\u002Fskills\u002Fts-refactoring\u002FSKILL.md",[],[117,118,84,119,37,104,120,121,122,123,124,33,125,126,127,28,128,27,26,129],"refactoring","ts refactoring","typescript","refactor","simplify","Rules","node","redesign","up","general","clean","craft","patterns",{"skillNo":131,"name":132,"nameZh":6,"description":133,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":134,"categories":135,"keywords":136,"publishedAt":39},"01M6DW2MHYXNBBVYEGB058Y48J","ts-ports-adapters","ACTIVATE when a TypeScript codebase with no dependency-injection container has to declare a port and wire its adapter — a repository, a clock, an id generator, an event dispatcher the domain depends on. ACTIVATE for 'port', 'adapter', 'SPI', 'dependency inversion' or 'composition root' in a codebase that wires its dependencies by hand. Covers: the port as a type of functions in the domain layer, the adapter as an object literal annotated with it, the handler that takes its dependencies first and its data second, the composition root in the infrastructure layer, and the in-memory stub that substitutes for the adapter in a unit test. DO NOT use for: NestJS, or any container-based DI with decorators and tokens (see nest-ddd-conventions), aggregate operations and smart constructors (see ddd-ts-fp), the Result type itself (see ts-functional).","https:\u002F\u002Fgithub.com\u002FFabienSalles\u002Fclaude-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Ftypescript\u002Fskills\u002Fts-ports-adapters\u002FSKILL.md",[],[137,138,139,80,36,140,33,141,142,28,143,27,26,144,24,145,146,147,148,149],"ports","ts ports adapters","memory","Composition","container","functions","Literal","dependency-injection","tokens","as","type","id","adapter",{"skillNo":151,"name":152,"nameZh":6,"description":153,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":154,"categories":155,"keywords":156,"publishedAt":39},"01M6DW2GRXZFYT05HEDB26C9B8","ts-oop","ACTIVATE when designing TypeScript classes, and the value objects or collections modelled as classes, or when the user asks about object design, encapsulation, Tell Don't Ask, or Symbol.iterator. Provides TS-specific examples for the cross-language OOP rules defined in craft:oop-principles, plus TS-specific patterns (Symbol.iterator, branded types for primitive identifiers). DO NOT use for: a value object or an aggregate modelled as an immutable record rather than a class (see ddd-ts-fp), refactoring methodology (see ts-refactoring).","https:\u002F\u002Fgithub.com\u002FFabienSalles\u002Fclaude-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Ftypescript\u002Fskills\u002Fts-oop\u002FSKILL.md",[],[157,158,29,119,36,104,159,160,117,122,161,33,162,128,27,26,163,164,165,146],"oop","ts oop","methodology","immutable","ask","refactoring methodology","objects","record","collections",{"skillNo":167,"name":168,"nameZh":6,"description":169,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":170,"categories":171,"keywords":172,"publishedAt":39},"01M6DW2D26XG5MJMTP9MSE43S2","ts-layer-boundaries","ACTIVATE when wiring a Worker entry point, a Router, a controller, or a domain event consumer in a TypeScript CQRS codebase, or when deciding where a port belongs. ACTIVATE for 'composition root', 'layer boundary', 'ESLint zones', 'domain must not import infrastructure'. Covers: the *Worker.ts composition root, the curried consumer, Router wiring of command endpoints, the five-gesture controller, the domain-to-infrastructure import boundary enforced by ESLint, infrastructure-only ports, in-memory doubles for every port, the read-can-reach-write asymmetry, and read endpoints going through a domain handler. DO NOT use for: the port's own shape and adapter binding (see ts-ports-adapters), the Result type (see ts-functional), domain event structure (see ts-ddd-events).","https:\u002F\u002Fgithub.com\u002FFabienSalles\u002Fclaude-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Ftypescript\u002Fskills\u002Fts-layer-boundaries\u002FSKILL.md",[],[173,139,36,174,175,140,137,33,176,31,177,27,26,178,24,179,180,147,149,181],"ts layer boundaries","controller","boundary","router","endpoints","structure","cqrs","worker","import"]