What problem does it solve?
Designing APIs often lacks consistency across teams, leading to duplicated logic and brittle contracts. This skill provides a disciplined pattern to structure RPC-style endpoints with a clean separation of concerns: Controller for request exposure, Manager for business logic, and Repository for data access.
Core Features & Use Cases
- Layered Architecture Pattern: enforces separation of concerns and testability by routing requests through Controller → Manager → Repository.
- API Contract Design: standardizes endpoint naming, parameter handling, error formats, and response models to streamline collaboration and reviews.
- Review & Gatekeeping: useful for auditing existing APIs or drafting new endpoints to ensure consistency with organizational design rules.
Quick Start
Define a new API endpoint using the Controller → Manager → Repository pattern and validate it against your organization's API design rules.