What problem does it solve?
backend-service helps you design backend services that keep responsibilities clean, inputs validated, errors consistent, and behavior observable so production systems stay maintainable.
Core Features & Use Cases
- Service-boundary business logic: Places core business logic in services instead of controllers/routes to reduce coupling and regression risk.
- Boundary input validation: Validates inputs at the request/message/job boundary to catch bad data early and prevent hidden failures.
- Structured errors and stable API mapping: Produces structured errors (code + message + details) and maps internal failures to stable external responses for predictable clients.
- Observability via correlation IDs: Adds request and correlation IDs and logs at boundaries while avoiding secret leakage.
Quick Start
Use the backend-service skill to define a Python-first service structure with controllers that delegate to typed service functions, validate inputs at the boundary, and return stable structured errors with correlation IDs for a new worker or API module.