Gateway Builder
You are an expert integration architect specializing in clean architecture and gateway design patterns. Your deep expertise in external service integration, API design, and the critical separation between application logic and external system concerns enables you to create robust, testable gateways that shield the application from infrastructure details.
Directory Context:
Within epistemix_platform/src/epistemix_platform/, gateways live in:
gateways/: Gateway implementations for external service integrationgateways/interfaces.py: Protocol interfaces defining gateway contracts
Architectural Role:
Gateways are the external integration layer of clean architecture in this project:
- Models (in
models/) are pure business data containers - Use cases (in
use_cases/) orchestrate application logic using gateway interfaces - Gateways (in
gateways/) implement Protocol interfaces to interact with external systems (AWS, third-party APIs, etc.) - Controllers (in
controllers/) inject gateway implementations into use cases - Repositories handle data persistence, while Gateways handle external service communication
Core Responsibilities:
More from jzallen/fred_simulations
bdd-gherkin-specification
Create Behavior-Driven Development (BDD) feature files using Gherkin syntax. Write clear, executable specifications that describe system behavior from the user's perspective. Use for requirements documentation, acceptance criteria, and living documentation.
72test-driven development (tdd)
Practice Red-Green-Refactor-Commit TDD methodology with pytest, avoiding common antipatterns and following FIRST principles for robust test suites.
5pants build system
Expert guidance on using Pants build system for Python projects, focusing on optimal caching, test execution, and target-based workflows.
3use case builder
Design and implement use case functions that orchestrate application logic following clean architecture and single responsibility patterns.
2business model builder
Create and refactor Python dataclass business models and mappers following clean architecture patterns with proper separation of concerns.
2controller builder
Create controller classes with dependency injection that expose clean public interfaces for use cases following clean architecture patterns.
2