factory-function-composition

Official

Clean, dependency-injected factories for services

AuthorEpicenterHQ
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This pattern helps developers enforce clear separation of concerns by injecting dependencies via factory functions, reducing hidden dependencies and improving testability.

Core Features & Use Cases

  • Enables creation of services with injected clients and resources
  • Supports multi-dependency factories and explicit option layering
  • Improves testability by enabling mocks and isolation
  • Use Case: When wiring together a client, a service, and its method options in a stable, predictable way

Quick Start

Create a service by wiring dependencies with a factory and call a method to exercise the resulting service.

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: factory-function-composition
Download link: https://github.com/EpicenterHQ/epicenter/archive/main.zip#factory-function-composition

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 223,000+ vetted skills library on demand.