adapter-pattern-typescript
TypeScript/Node object adapters for boundary translation (DTO mapping, error model, sync/async), fitting ports/adapters or NestJS layers, with trade-offs and testing guidance.
Explorez les skills IA publiés de ilkeozi et consultez leurs instructions source.
Skills indexés
19Étoiles des dépôts des skills indexés
0Forks du dépôt
0Moyenne des étoiles par skill indexé
0Les étoiles d’un dépôt peuvent se répéter entre ses skills.
TypeScript/Node object adapters for boundary translation (DTO mapping, error model, sync/async), fitting ports/adapters or NestJS layers, with trade-offs and testing guidance.
TypeScript guidance and examples for Prototype: cloning without coupling, explicit clone semantics, presets/registries, and pitfalls like deep copy ambiguity, circular refs, and external resources.
TypeScript guidance and examples for snapshot/restore undo and rollback while preserving encapsulation; clarifies originator/memento/caretaker roles, Command+Memento undo flows, and memory trade-offs versus Com...
TypeScript/Node decorator pattern using wrapper objects (not TS language decorators), same-interface composition, order sensitivity, and trade-offs vs Adapter/Proxy.
TypeScript guidance for Strategy with interchangeable algorithms, context delegation, client selection, runtime swapping, removing switch/if ladders, DI or registry selection, per-algorithm tests, and disambigu...
Simplified entrypoint over complex subsystems with TS/Node wiring, hidden lifecycle/ordering, testability via DI, and trade-offs vs Adapter/Mediator/Proxy.
TypeScript guidance for Flyweight with intrinsic/extrinsic split, immutable flyweights, Map-based factory/pool, and RAM-vs-CPU trade-offs.
TypeScript/Node singleton patterns (module instance, classic singleton class, DI singleton scope) with trade-offs on testability and hidden deps, plus safe usage guidance.
Represent actions as objects for decoupled invocation, queue/schedule/retry/audit, and optional undo/redo; TS/Node async-friendly command bus; trade-offs vs Strategy/CoR/Events.
TypeScript guidance for Visitor to separate algorithms from object structure via accept/visitor double dispatch, add new operations without modifying elements, and handle trade-offs when adding new element type...
Same-interface substitution for lifecycle control (lazy init/close/retry) and cross-cutting concerns (caching/logging/auth) in TS/Node, with trade-offs vs Decorator/Adapter/Facade.
TypeScript guidance for Observer with dynamic subscribe/unsubscribe, typed event payloads, sync vs async dispatch, lifecycle/memory leak avoidance, ordering/error isolation, and disambiguation vs Mediator, Pub/...
Provide TypeScript guidance, examples, and when to use Factory Method to reduce coupling to concretes and support product variants across environments.
Composable handler chains for checks/pipelines with early-exit; TS/Node-friendly functional or object handlers, runtime ordering, and trade-offs vs middleware/decorator/strategy.
Split two varying axes into abstraction + implementation using TS/Node composition, enable runtime swapping, and compare trade-offs vs Strategy/Adapter.
TypeScript guidance and examples for Abstract Factory to create families of related objects, keep variants consistent, and avoid coupling to concrete implementations.
Traverse without exposing representation; multiple traversal orders; pause/resume; TS Iterable/generators and async iterables; trade-offs vs Generator/Visitor/Composite.
Reduce many-to-many dependencies via a mediator for UI/workflow coordination with typed events; TS/Node composition; trade-offs vs Observer/Facade/Command; avoid God Object drift.
TypeScript guidance for tree structures with uniform leaf/composite operations, including trade-offs and disambiguation vs Decorator/Visitor.
Le classement utilise les étoiles du dépôt GitHub indexé. Plusieurs skills peuvent partager ce nombre : ce n’est ni un nombre d’installations ni une note de qualité.