[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6DW2GRXZFYT05HEDB26C9B8":3,"skill-same:01M6DW2GRXZFYT05HEDB26C9B8":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},"01M6DW2GRXZFYT05HEDB26C9B8","ts-oop",null,"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).","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-oop\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"ts oop","oop","use","as","collections","record","objects","do","activate","craft","refactoring methodology","design","ask","Rules","refactoring","immutable","methodology","examples","ddd","typescript","2026-11-10 10:12:30",false,"---\nname: ts-oop\ndescription: \"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).\"\n---\n\n# OOP — TypeScript Examples\n\n> The **rules** are defined in `craft:oop-principles`. This skill provides TypeScript \u002F NestJS examples plus TS-specific patterns (`Symbol.iterator`, branded types).\n\n> See also: `ts-conventions` for typing rules (strict mode, etc.).\n\n> **Domain models under `features\u002F\u003Cfeature>\u002Fdomain\u002F` are typed, not classed** — `frontend-clean-architecture` owns that shape. The classes below apply to value objects and collections outside that layer.\n\n## Example — Rule 1: Tell Don't Ask\n\n```typescript\n\u002F\u002F ❌ AVOID — caller interrogates and decides\nconst requiredFields = identityDocument.getRequiredFieldNames();\nfor (const fieldName of requiredFields) {\n  const file = identityDocument.getFileByFieldName(fieldName);\n  if (file !== null) continue;\n\n  const existing = existingFiles.find(fieldName);\n  if (existing === null) continue;\n\n  \u002F\u002F ... re-download logic\n}\n\n\u002F\u002F ✅ CORRECT — object exposes behavior\nfor (const [fieldName, existingFile] of identityDocument.getMissingExistingFiles()) {\n  \u002F\u002F Object already determined which files are missing\n}\n```\n\n## Example — Rule 2: Collection Over Named Properties\n\n```typescript\n\u002F\u002F ❌ AVOID — N separate fields with parallel handling\nclass FormData {\n  private frontFile: File | null = null;\n  private backFile: File | null = null;\n  private passportFile: File | null = null;\n\n  getFileByFieldName(name: string): File | null {\n    switch (name) {\n      case 'front_file':    return this.frontFile;\n      case 'back_file':     return this.backFile;\n      case 'passport_file': return this.passportFile;\n      default:              return null;\n    }\n  }\n}\n\n\u002F\u002F ✅ CORRECT — one keyed collection\nclass FormData {\n  private readonly files = new Map\u003Cstring, File>();\n\n  addFile(fieldName: string, file: File): void {\n    this.files.set(fieldName, file);\n  }\n\n  getFiles(): ReadonlyMap\u003Cstring, File> {\n    return this.files;\n  }\n}\n```\n\n## Example — Rule 3: Whole Object\n\n```typescript\n\u002F\u002F ❌ AVOID — caller destructures\ncollection.add({\n  documentType: document.type,\n  documentName: document.originalFileName,\n  downloadUrl: url,\n});\n\n\u002F\u002F ✅ CORRECT — pass the whole object\ncollection.addFromDocument(document, url);\n```\n\n## Example — Rule 4: Iterable Collections via `Symbol.iterator`\n\nTS-specific: implement `Symbol.iterator` to allow `for...of` while keeping internals private.\n\n```typescript\nclass FilesCollection implements Iterable\u003C[string, FileInfo]> {\n  private readonly files = new Map\u003Cstring, FileInfo>();\n\n  add(name: string, file: FileInfo): void {\n    this.files.set(name, file);\n  }\n\n  [Symbol.iterator](): Iterator\u003C[string, FileInfo]> {\n    return this.files.entries();\n  }\n}\n\n\u002F\u002F Clean usage\nfor (const [name, file] of collection) { \u002F* ... *\u002F }\n```\n\n## Example — Rule 5: Self-Descriptive Value Object\n\n```typescript\n\u002F\u002F ❌ AVOID — consumer needs an external mapping\nclass UploadFile {\n  constructor(\n    readonly content: Buffer,\n    readonly originalFileName: string,\n  ) {}\n}\n\u002F\u002F Controller maintains fieldName → fileType outside the object\n\n\u002F\u002F ✅ CORRECT — object carries its own type\nclass UploadFile {\n  constructor(\n    readonly type: FileType,\n    readonly content: Buffer,\n    readonly originalFileName: string,\n  ) {}\n}\n```\n\n## TS-specific: Branded Types for Primitive Identifiers\n\nUse branded types to make identifiers self-descriptive and prevent accidental swaps at compile-time:\n\n```typescript\ntype TenantId   = string & { readonly __brand: 'TenantId' };\ntype LandlordId = string & { readonly __brand: 'LandlordId' };\n\n\u002F\u002F ❌ Compile-time error — cannot pass TenantId where LandlordId expected\nfunction getReceipts(landlordId: LandlordId): Receipt[] { \u002F* ... *\u002F }\ngetReceipts(tenantId); \u002F\u002F Type error\n\n\u002F\u002F Factory function\nfunction toTenantId(id: string): TenantId {\n  return id as TenantId;\n}\n```\n\n> See also: `ts-conventions` for more on branded types and type-safety patterns.\n","# OOP — TypeScript Examples\n\n> The **rules** are defined in `craft:oop-principles`. This skill provides TypeScript \u002F NestJS examples plus TS-specific patterns (`Symbol.iterator`, branded types).\n\n> See also: `ts-conventions` for typing rules (strict mode, etc.).\n\n> **Domain models under `features\u002F\u003Cfeature>\u002Fdomain\u002F` are typed, not classed** — `frontend-clean-architecture` owns that shape. The classes below apply to value objects and collections outside that layer.\n\n## Example — Rule 1: Tell Don't Ask\n\n```typescript\n\u002F\u002F ❌ AVOID — caller interrogates and decides\nconst requiredFields = identityDocument.getRequiredFieldNames();\nfor (const fieldName of requiredFields) {\n  const file = identityDocument.getFileByFieldName(fieldName);\n  if (file !== null) continue;\n\n  const existing = existingFiles.find(fieldName);\n  if (existing === null) continue;\n\n  \u002F\u002F ... re-download logic\n}\n\n\u002F\u002F ✅ CORRECT — object exposes behavior\nfor (const [fieldName, existingFile] of identityDocument.getMissingExistingFiles()) {\n  \u002F\u002F Object already determined which files are missing\n}\n```\n\n## Example — Rule 2: Collection Over Named Properties\n\n```typescript\n\u002F\u002F ❌ AVOID — N separate fields with parallel handling\nclass FormData {\n  private frontFile: File | null = null;\n  private backFile: File | null = null;\n  private passportFile: File | null = null;\n\n  getFileByFieldName(name: string): File | null {\n    switch (name) {\n      case 'front_file':    return this.frontFile;\n      case 'back_file':     return this.backFile;\n      case 'passport_file': return this.passportFile;\n      default:              return null;\n    }\n  }\n}\n\n\u002F\u002F ✅ CORRECT — one keyed collection\nclass FormData {\n  private readonly files = new Map\u003Cstring, File>();\n\n  addFile(fieldName: string, file: File): void {\n    this.files.set(fieldName, file);\n  }\n\n  getFiles(): ReadonlyMap\u003Cstring, File> {\n    return this.files;\n  }\n}\n```\n\n## Example — Rule 3: Whole Object\n\n```typescript\n\u002F\u002F ❌ AVOID — caller destructures\ncollection.add({\n  documentType: document.type,\n  documentName: document.originalFileName,\n  downloadUrl: url,\n});\n\n\u002F\u002F ✅ CORRECT — pass the whole object\ncollection.addFromDocument(document, url);\n```\n\n## Example — Rule 4: Iterable Collections via `Symbol.iterator`\n\nTS-specific: implement `Symbol.iterator` to allow `for...of` while keeping internals private.\n\n```typescript\nclass FilesCollection implements Iterable\u003C[string, FileInfo]> {\n  private readonly files = new Map\u003Cstring, FileInfo>();\n\n  add(name: string, file: FileInfo): void {\n    this.files.set(name, file);\n  }\n\n  [Symbol.iterator](): Iterator\u003C[string, FileInfo]> {\n    return this.files.entries();\n  }\n}\n\n\u002F\u002F Clean usage\nfor (const [name, file] of collection) { \u002F* ... *\u002F }\n```\n\n## Example — Rule 5: Self-Descriptive Value Object\n\n```typescript\n\u002F\u002F ❌ AVOID — consumer needs an external mapping\nclass UploadFile {\n  constructor(\n    readonly content: Buffer,\n    readonly originalFileName: string,\n  ) {}\n}\n\u002F\u002F Controller maintains fieldName → fileType outside the object\n\n\u002F\u002F ✅ CORRECT — object carries its own type\nclass UploadFile {\n  constructor(\n    readonly type: FileType,\n    readonly content: Buffer,\n    readonly originalFileName: string,\n  ) {}\n}\n```\n\n## TS-specific: Branded Types for Primitive Identifiers\n\nUse branded types to make identifiers self-descriptive and prevent accidental swaps at compile-time:\n\n```typescript\ntype TenantId   = string & { readonly __brand: 'TenantId' };\ntype LandlordId = string & { readonly __brand: 'LandlordId' };\n\n\u002F\u002F ❌ Compile-time error — cannot pass TenantId where LandlordId expected\nfunction getReceipts(landlordId: LandlordId): Receipt[] { \u002F* ... *\u002F }\ngetReceipts(tenantId); \u002F\u002F Type error\n\n\u002F\u002F Factory function\nfunction toTenantId(id: string): TenantId {\n  return id as TenantId;\n}\n```\n\n> See also: `ts-conventions` for more on branded types and type-safety patterns.\n",{"name":5,"description":7},"main","479b264ec17cc5fafbf36287a1087472d3a386d3","plugins\u002Ftypescript\u002Fskills\u002Fts-oop",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-oop",{"tool":58,"command":59},"bunx","bunx skills add FabienSalles\u002Fclaude-marketplace --skill ts-oop",{"tool":61,"command":62},"pnpm","pnpm dlx skills add FabienSalles\u002Fclaude-marketplace --skill ts-oop","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FFabienSalles\u002Fclaude-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Ftypescript\u002Fskills\u002Fts-oop\u002FSKILL.md",true,[66,72,76,80,84,88],{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"steps\u002Fstep-01-validate-prerequisites.md","REFERENCE","参考文档",10048,"https:\u002F\u002Fgithub.com\u002Fvladtara\u002Fhealthcabinet\u002Fblob\u002Fmaster\u002F.agents\u002Fskills\u002Fbmad-create-epics-and-stories\u002Fsteps\u002Fstep-01-validate-prerequisites.md",{"path":73,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":74,"sourceHtmlUrl":75},"steps\u002Fstep-02-design-epics.md",7238,"https:\u002F\u002Fgithub.com\u002Fvladtara\u002Fhealthcabinet\u002Fblob\u002Fmaster\u002F.agents\u002Fskills\u002Fbmad-create-epics-and-stories\u002Fsteps\u002Fstep-02-design-epics.md",{"path":77,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":78,"sourceHtmlUrl":79},"steps\u002Fstep-03-create-stories.md",8351,"https:\u002F\u002Fgithub.com\u002Fvladtara\u002Fhealthcabinet\u002Fblob\u002Fmaster\u002F.agents\u002Fskills\u002Fbmad-create-epics-and-stories\u002Fsteps\u002Fstep-03-create-stories.md",{"path":81,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":82,"sourceHtmlUrl":83},"steps\u002Fstep-04-final-validation.md",4477,"https:\u002F\u002Fgithub.com\u002Fvladtara\u002Fhealthcabinet\u002Fblob\u002Fmaster\u002F.agents\u002Fskills\u002Fbmad-create-epics-and-stories\u002Fsteps\u002Fstep-04-final-validation.md",{"path":85,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":86,"sourceHtmlUrl":87},"templates\u002Fepics-template.md",1105,"https:\u002F\u002Fgithub.com\u002Fvladtara\u002Fhealthcabinet\u002Fblob\u002Fmaster\u002F.agents\u002Fskills\u002Fbmad-create-epics-and-stories\u002Ftemplates\u002Fepics-template.md",{"path":89,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":90,"sourceHtmlUrl":91},"workflow.md",3020,"https:\u002F\u002Fgithub.com\u002Fvladtara\u002Fhealthcabinet\u002Fblob\u002Fmaster\u002F.agents\u002Fskills\u002Fbmad-create-epics-and-stories\u002Fworkflow.md",[93,122,140,157,178,195],{"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,21,115,116,27,26,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,36,135,21,136,115,27,26,137,117,118,138,139],"tdd workflow","vitest tdd workflow","dev","fix","red-green-refactor","green","feature","app",{"skillNo":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":146,"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",[],[33,147,110,38,148,36,149,150,32,151,152,21,153,154,155,116,28,27,26,156],"ts refactoring","code","refactor","simplify","node","redesign","up","general","clean","patterns",{"skillNo":158,"name":159,"nameZh":6,"description":160,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":161,"categories":162,"keywords":164,"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",[163],{"categoryNo":100,"categoryName":101,"taxonomyType":102,"taxonomyTypeDesc":103},[165,166,167,105,37,168,21,169,170,116,171,27,26,172,173,174,22,175,176,177],"ports","ts ports adapters","memory","Composition","container","functions","Literal","dependency-injection","domain","tokens","type","id","adapter",{"skillNo":179,"name":180,"nameZh":6,"description":181,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":182,"categories":183,"keywords":184,"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",[],[185,167,37,186,187,168,165,21,188,189,190,27,26,191,173,192,193,175,177,194],"ts layer boundaries","controller","boundary","router","only","endpoints","structure","cqrs","worker","import",{"skillNo":196,"name":197,"nameZh":6,"description":198,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":199,"categories":200,"keywords":206,"publishedAt":39},"01M6DW29A825FAK3T1VGKTK3EM","ts-functional","ACTIVATE when writing functional-style TypeScript: pipe, compose, currying, Result types, railway-oriented programming, or AsyncResult. ACTIVATE for 'pipe', 'Result type', 'railway', 'functional', 'chain'. Covers: type-safe pipe implementation, currying patterns, generic Result type, railway-oriented error handling, AsyncResult for async pipelines. DO NOT use for: DDD aggregate modeling (see ddd-ts-fp), OOP patterns (see ts-oop), imperative code.","https:\u002F\u002Fgithub.com\u002FFabienSalles\u002Fclaude-marketplace\u002Fblob\u002Fmain\u002Fplugins\u002Ftypescript\u002Fskills\u002Fts-functional\u002FSKILL.md",[201],{"categoryNo":202,"categoryName":203,"taxonomyType":204,"taxonomyTypeDesc":205},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[207,110,208,38,148,209,37,210,21,211,212,213,27,26,156,214,215,175,216,217],"ts functional","safe","error handling","programming","compose","implementation","async","pipe","modeling","style","chain"]