What problem does it solve?
This Skill helps engineering teams implement a Backend for Frontend (BFF) layer that aggregates data from multiple bounded contexts into a single client-focused API, reducing client-specific integration pain and duplication.
Core Features & Use Cases
- Architectural pattern: design and implement BFF layers that coordinate across multiple bounded contexts without embedding domain logic.
- Client-specific aggregation: expose endpoint surfaces tailored to client surfaces, with response shaping and error handling.
- Developer workflow: supports API contract design (OpenAPI), client adapters for each bounded context, and testability via mocks and DI.
- Use Case: imagine a mobile app requiring data from Sales, Inventory, and Loyalty contexts; the BFF aggregates calls, shapes payloads, and caches results for the client.
Quick Start
Set up the project skeleton, implement client adapters for each bounded context, wire dependency injection, and start the API server.