dependency-wrapper

Community

Wrap external libraries for testability and swapability.

AuthorProfPowell
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Direct calls to third-party libraries hinder testing and future replacements. Create wrappers to isolate dependencies.

Core Features & Use Cases

  • Wrapper Patterns: Simple wrapper, factory, adapter, and DI patterns.
  • Testability: Swap implementations in tests with mock wrappers.
  • Configuration: Centralized dependency management.

Quick Start

Wrap an HTTP client behind a simple wrapper and inject it into a service.

Dependency Matrix

Required Modules

date-fns

Components

scripts

💻 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: dependency-wrapper
Download link: https://github.com/ProfPowell/project-template/archive/main.zip#dependency-wrapper

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