Gateway Builder
CommunityBridge external services with clean architecture.
Software Engineering#testing#integration#protocol#clean-architecture#dependency-injection#gateway#external-service
Authorjzallen
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps teams design robust gateway components that encapsulate external service interactions, enabling clean architecture and testability by decoupling business logic from infrastructure specifics.
Core Features & Use Cases
- Interface-First Design: Define a Protocol-based gateway interface in
gateways/interfaces.pybefore implementing concrete gateways. - Domain Model Focus: Gateway methods accept a nd return business/domain models, never external API types.
- External Service Abstraction: Hide all external details behind the gateway interface; configure via constructor or constants; supports dependency injection for testing.
- Testability: Gateways are easily mockable via the Protocol interfaces for unit tests.
Quick Start
- Create a Protocol interface at
gateways/interfaces.py. 2) Implement a concrete gateway class that adheres to the interface. 3) Wire the gateway into use cases via dependency injection. 4) Run unit tests to verify behavior.
Dependency Matrix
Required Modules
None requiredComponents
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: Gateway Builder Download link: https://github.com/jzallen/fred_simulations/archive/main.zip#gateway-builder Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.