[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6DW25W1T1DH0QYTGJZPWWH5":3,"skill-same:01M6DW25W1T1DH0QYTGJZPWWH5":92},{"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},"01M6DW25W1T1DH0QYTGJZPWWH5","ts-ddd-events",null,"ACTIVATE when implementing domain events, event store, outbox pattern, or reliable event publishing in TypeScript. ACTIVATE for 'domain event', 'outbox', 'event store', 'event-driven', 'reliable publishing'. Covers: domain event structure and naming, event store (append-only), outbox pattern for reliable publishing (no dual-write), consumer pattern. DO NOT use for: aggregate modeling (see ddd-ts-fp), general async patterns, message queue configuration.","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\u002Ftypescript\u002Fskills\u002Fts-ddd-events\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"ddd","ts ddd events","events","patterns","typescript","write","modeling","pattern","domain","structure","outbox","message","use","do","activate","general","async","publishing","queue","only","2026-11-10 10:12:30",false,"---\nname: ts-ddd-events\ndescription: \"ACTIVATE when implementing domain events, event store, outbox pattern, or reliable event publishing in TypeScript. ACTIVATE for 'domain event', 'outbox', 'event store', 'event-driven', 'reliable publishing'. Covers: domain event structure and naming, event store (append-only), outbox pattern for reliable publishing (no dual-write), consumer pattern. DO NOT use for: aggregate modeling (see ddd-ts-fp), general async patterns, message queue configuration.\"\n---\n\n# Domain Events & Event Publishing\n\n## Domain Event\n\n**A business fact that occurred** in the past. Named in past tense, immutable:\n\n```typescript\ntype ReceiptGenerated = {\n  readonly receiptId: string;\n  readonly tenantId: string;\n  readonly landlordId: string;\n  readonly period: { year: number; month: number };\n  readonly amount: number;\n  readonly generatedAt: Date;\n};\n```\n\n### Naming Conventions\n\n| Element | Convention | Example |\n|---------|-----------|---------|\n| Type | `PascalCase` past tense | `ReceiptGenerated`, `LeaseTerminated` |\n| File | `kebab-case.event.ts` | `receipt-generated.event.ts` |\n| Directory | `domain\u002Fevents\u002F` | Co-located with the aggregate |\n\n### Event Anatomy\n\n```typescript\ntype DomainEvent\u003CT> = {\n  readonly id: string;           \u002F\u002F UUID unique\n  readonly type: string;         \u002F\u002F 'receipt.generated'\n  readonly payload: T;\n  readonly createdAt: Date;\n};\n```\n\n## Event Store\n\n**Persist events** as source of truth. Append-only, never delete.\n\n## Outbox Pattern\n\n**Guarantees reliable event publishing.** The event is persisted in an `outbox` table atomically with the state change, then published asynchronously:\n\n```\nCommand -> Domain Logic -> Transaction {\n  1. Persist aggregate state\n  2. Insert event in outbox table  \u003C- atomic\n}\n\nWorker -> Poll outbox -> Publish event -> Mark as processed\n```\n\nStatus flow: `created` -> `in_progress` -> `processed` \u002F `failed`\n\n> **When implementing event store persistence, outbox tables, or outbox publishers**, read `references\u002Fevent-implementation-patterns.md` for complete Drizzle schemas and publisher implementations.\n\n> **When emitting events from handlers or writing consumers**, read `references\u002Fevent-implementation-patterns.md` for atomic transaction patterns and consumer examples.\n\n## When to Use What\n\n| Pattern | Use case |\n|---------|----------|\n| Domain Event | Business fact to communicate between bounded contexts |\n| Event Store | Audit trail, replay, event sourcing |\n| Outbox | Reliable publishing without dual-write |\n| Consumer | Asynchronous reaction to an event |\n\n## Event, Outbox & CQRS Conventions\n\n1. Two vocabularies of event must never be confused: the transport envelope Event\u003CT> (id\u002Ftype\u002Ftimestamp\u002Fversion\u002Fmetadata\u002Fdata) and the domain event DomainEvent\u003CU> (id\u002Ftype\u002Fpayload\u002FcreatedAt). No file imports both.\n   Measure: zero files import both a type named `Event` and a type named `DomainEvent`.\n2. The event is created in the handler, never in the aggregate: without a class, the aggregate cannot carry an event buffer.\n   Measure: zero methods on a domain\u002F aggregate file are named `emit*` or `raise*`.\n3. Dispatch is a domain port typed as a bare function type, whose adapter is a Record\u003Ctype, listener> table built by a make*Mapper factory.\n   Cost: one `make*Mapper` factory per bounded context, never one per event type.\n4. Emit either by returning the event in Result's success, or by calling the injected dispatcher: both are used, with no rule between them.\n   Measure: a handler uses exactly one of the two mechanisms; none returns the event in success and also calls the dispatcher.\n5. This outbox is INBOUND: it stages messages received from SQS for local consumption. It publishes nothing, so it is not the reliable publishing pattern.\n   Cost: naming it `outbox` without this note costs a reader the reliable-publishing assumption; the note is the one-line fix.\n6. The read model is not fed by events: both sides share one database and collection, so a write is immediately visible on read.\n   Measure: zero event listeners write to the read collection; only the write side's own handlers do.\n7. Only one codebase forbids Command importing Query by lint. Neither violates the rule, but the read side freely reaches into the write side.\n   Measure: exactly one of the two codebases declares a Command-cannot-import-Query ESLint zone; the other declares none.\n8. Domain purity holds even where CQRS does not: a single exception, a concrete logger, in the gap the zones do not cover.\n   Measure: exactly one concrete infrastructure import, the logger, crosses the domain boundary.\n\n## Quick Reference\n\n| Rule | Convention |\n|------|-----------|\n| Naming | Past tense (`ReceiptGenerated`) |\n| Structure | `{ id, type, payload, createdAt }` |\n| Event Store | Append-only, `domain_events` table |\n| Outbox | Atomic with state change |\n| Status | `created` -> `in_progress` -> `processed` \u002F `failed` |\n| Retries | `numberOfRetries` + `maxNumberOfRetries` |\n| Consumer | Idempotent, null-safe |\n","# Domain Events & Event Publishing\n\n## Domain Event\n\n**A business fact that occurred** in the past. Named in past tense, immutable:\n\n```typescript\ntype ReceiptGenerated = {\n  readonly receiptId: string;\n  readonly tenantId: string;\n  readonly landlordId: string;\n  readonly period: { year: number; month: number };\n  readonly amount: number;\n  readonly generatedAt: Date;\n};\n```\n\n### Naming Conventions\n\n| Element | Convention | Example |\n|---------|-----------|---------|\n| Type | `PascalCase` past tense | `ReceiptGenerated`, `LeaseTerminated` |\n| File | `kebab-case.event.ts` | `receipt-generated.event.ts` |\n| Directory | `domain\u002Fevents\u002F` | Co-located with the aggregate |\n\n### Event Anatomy\n\n```typescript\ntype DomainEvent\u003CT> = {\n  readonly id: string;           \u002F\u002F UUID unique\n  readonly type: string;         \u002F\u002F 'receipt.generated'\n  readonly payload: T;\n  readonly createdAt: Date;\n};\n```\n\n## Event Store\n\n**Persist events** as source of truth. Append-only, never delete.\n\n## Outbox Pattern\n\n**Guarantees reliable event publishing.** The event is persisted in an `outbox` table atomically with the state change, then published asynchronously:\n\n```\nCommand -> Domain Logic -> Transaction {\n  1. Persist aggregate state\n  2. Insert event in outbox table  \u003C- atomic\n}\n\nWorker -> Poll outbox -> Publish event -> Mark as processed\n```\n\nStatus flow: `created` -> `in_progress` -> `processed` \u002F `failed`\n\n> **When implementing event store persistence, outbox tables, or outbox publishers**, read `references\u002Fevent-implementation-patterns.md` for complete Drizzle schemas and publisher implementations.\n\n> **When emitting events from handlers or writing consumers**, read `references\u002Fevent-implementation-patterns.md` for atomic transaction patterns and consumer examples.\n\n## When to Use What\n\n| Pattern | Use case |\n|---------|----------|\n| Domain Event | Business fact to communicate between bounded contexts |\n| Event Store | Audit trail, replay, event sourcing |\n| Outbox | Reliable publishing without dual-write |\n| Consumer | Asynchronous reaction to an event |\n\n## Event, Outbox & CQRS Conventions\n\n1. Two vocabularies of event must never be confused: the transport envelope Event\u003CT> (id\u002Ftype\u002Ftimestamp\u002Fversion\u002Fmetadata\u002Fdata) and the domain event DomainEvent\u003CU> (id\u002Ftype\u002Fpayload\u002FcreatedAt). No file imports both.\n   Measure: zero files import both a type named `Event` and a type named `DomainEvent`.\n2. The event is created in the handler, never in the aggregate: without a class, the aggregate cannot carry an event buffer.\n   Measure: zero methods on a domain\u002F aggregate file are named `emit*` or `raise*`.\n3. Dispatch is a domain port typed as a bare function type, whose adapter is a Record\u003Ctype, listener> table built by a make*Mapper factory.\n   Cost: one `make*Mapper` factory per bounded context, never one per event type.\n4. Emit either by returning the event in Result's success, or by calling the injected dispatcher: both are used, with no rule between them.\n   Measure: a handler uses exactly one of the two mechanisms; none returns the event in success and also calls the dispatcher.\n5. This outbox is INBOUND: it stages messages received from SQS for local consumption. It publishes nothing, so it is not the reliable publishing pattern.\n   Cost: naming it `outbox` without this note costs a reader the reliable-publishing assumption; the note is the one-line fix.\n6. The read model is not fed by events: both sides share one database and collection, so a write is immediately visible on read.\n   Measure: zero event listeners write to the read collection; only the write side's own handlers do.\n7. Only one codebase forbids Command importing Query by lint. Neither violates the rule, but the read side freely reaches into the write side.\n   Measure: exactly one of the two codebases declares a Command-cannot-import-Query ESLint zone; the other declares none.\n8. Domain purity holds even where CQRS does not: a single exception, a concrete logger, in the gap the zones do not cover.\n   Measure: exactly one concrete infrastructure import, the logger, crosses the domain boundary.\n\n## Quick Reference\n\n| Rule | Convention |\n|------|-----------|\n| Naming | Past tense (`ReceiptGenerated`) |\n| Structure | `{ id, type, payload, createdAt }` |\n| Event Store | Append-only, `domain_events` table |\n| Outbox | Atomic with state change |\n| Status | `created` -> `in_progress` -> `processed` \u002F `failed` |\n| Retries | `numberOfRetries` + `maxNumberOfRetries` |\n| Consumer | Idempotent, null-safe |\n",{"name":5,"description":7},"main","479b264ec17cc5fafbf36287a1087472d3a386d3","plugins\u002Ftypescript\u002Fskills\u002Fts-ddd-events",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 ts-ddd-events",{"tool":58,"command":59},"bunx","bunx skills add FabienSalles\u002Fclaude-marketplace --skill ts-ddd-events",{"tool":61,"command":62},"pnpm","pnpm dlx skills add FabienSalles\u002Fclaude-marketplace --skill ts-ddd-events","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FFabienSalles\u002Fclaude-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Ftypescript\u002Fskills\u002Fts-ddd-events\u002FSKILL.md",true,[66,72,76,80,84,88],{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"references\u002Fevent-implementation-patterns.md","REFERENCE","参考文档",5189,"https:\u002F\u002Fgithub.com\u002FFabienSalles\u002Fclaude-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Ftypescript\u002Fskills\u002Fts-ddd-events\u002Freferences\u002Fevent-implementation-patterns.md",{"path":73,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":74,"sourceHtmlUrl":75},"steps\u002Fstep-01-gather-context.md",5144,"https:\u002F\u002Fgithub.com\u002Fvladtara\u002Fhealthcabinet\u002Fblob\u002Fmaster\u002F.agents\u002Fskills\u002Fbmad-code-review\u002Fsteps\u002Fstep-01-gather-context.md",{"path":77,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":78,"sourceHtmlUrl":79},"steps\u002Fstep-02-review.md",2142,"https:\u002F\u002Fgithub.com\u002Fvladtara\u002Fhealthcabinet\u002Fblob\u002Fmaster\u002F.agents\u002Fskills\u002Fbmad-code-review\u002Fsteps\u002Fstep-02-review.md",{"path":81,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":82,"sourceHtmlUrl":83},"steps\u002Fstep-03-triage.md",2692,"https:\u002F\u002Fgithub.com\u002Fvladtara\u002Fhealthcabinet\u002Fblob\u002Fmaster\u002F.agents\u002Fskills\u002Fbmad-code-review\u002Fsteps\u002Fstep-03-triage.md",{"path":85,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":86,"sourceHtmlUrl":87},"steps\u002Fstep-04-present.md",6366,"https:\u002F\u002Fgithub.com\u002Fvladtara\u002Fhealthcabinet\u002Fblob\u002Fmaster\u002F.agents\u002Fskills\u002Fbmad-code-review\u002Fsteps\u002Fstep-04-present.md",{"path":89,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":90,"sourceHtmlUrl":91},"workflow.md",2087,"https:\u002F\u002Fgithub.com\u002Fvladtara\u002Fhealthcabinet\u002Fblob\u002Fmaster\u002F.agents\u002Fskills\u002Fbmad-code-review\u002Fworkflow.md",[93,122,141,159,180,197],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":104,"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",[99],{"categoryNo":100,"categoryName":101,"taxonomyType":102,"taxonomyTypeDesc":103},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",[105,106,107,108,109,110,111,112,113,114,31,115,116,33,32,117,118,119,120,121],"test","vitest","conventions","vitest test conventions","testing","writing","tdd","workflow","file","testing patterns","files","nestjs","project","tests","module","fn","testing principles",{"skillNo":123,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":126,"categories":127,"keywords":131,"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",[128],{"categoryNo":129,"categoryName":130,"taxonomyType":102,"taxonomyTypeDesc":103},"01JBSEEDCAT000000000000023","Skill与智能体开发",[111,112,132,106,133,110,134,113,135,136,31,137,115,33,32,138,117,118,139,140],"tdd workflow","vitest tdd workflow","dev","examples","fix","red-green-refactor","green","feature","app",{"skillNo":142,"name":143,"nameZh":6,"description":144,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":145,"categories":146,"keywords":147,"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",[],[148,149,110,23,150,135,151,152,153,154,155,31,156,34,157,116,158,33,32,22],"refactoring","ts refactoring","code","refactor","simplify","Rules","node","redesign","up","clean","craft",{"skillNo":160,"name":161,"nameZh":6,"description":162,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":163,"categories":164,"keywords":166,"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",[165],{"categoryNo":100,"categoryName":101,"taxonomyType":102,"taxonomyTypeDesc":103},[167,168,169,105,19,170,31,171,172,116,173,33,32,174,27,175,176,177,178,179],"ports","ts ports adapters","memory","Composition","container","functions","Literal","dependency-injection","tokens","as","type","id","adapter",{"skillNo":181,"name":182,"nameZh":6,"description":183,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":184,"categories":185,"keywords":186,"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",[],[187,188,189,23,19,135,190,191,148,153,192,31,193,158,33,32,194,195,196,176],"oop","ts oop","design","methodology","immutable","ask","refactoring methodology","objects","record","collections",{"skillNo":198,"name":199,"nameZh":6,"description":200,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":201,"categories":202,"keywords":203,"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",[],[204,169,19,205,206,170,167,31,207,38,208,33,32,28,27,209,210,177,179,211],"ts layer boundaries","controller","boundary","router","endpoints","cqrs","worker","import"]