impl-wrapper

Official

Pure wrapper patterns for stable impls.

Authorzerobias-org
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Defines a disciplined Impl-Client pattern where the Impl acts as a pure delegating wrapper around the underlying Client, ensuring no business logic or HTTP calls exist in the Impl layer.

Core Features & Use Cases

  • Enforces a two-class pattern with separate Impl.ts and Client.ts implementations to promote clean separation of concerns.
  • Implements lazy, wrapped Producer APIs to cache and decorate producers without moving logic into the Impl.
  • Standardizes framework methods like metadata() and isSupported() as placeholders for platform-driven behavior, ensuring consistent contracts.
  • Centralizes error handling and HTTP communication in the Client, with the Impl serving as a pass-through.
  • Real-world use: apply across multiple services in a monorepo to maintain uniform architecture and reduce boilerplate.

Quick Start

Create the Impl and connect a Client so all business logic remains in the Client and the Impl remains a delegating façade.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: impl-wrapper
Download link: https://github.com/zerobias-org/module/archive/main.zip#impl-wrapper

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.