What problem does it solve?
This Skill helps you avoid brittle, tangled service code by providing a consistent system shape for backend services and full-stack apps, including module boundaries, API contracts, persistence choices, and observability standards.
Core Features & Use Cases
- Bounded contexts (DDD-lite): Organizes code by business concept so features remain cohesive, testable, and changeable without cross-cutting refactors.
- API surface conventions (REST + WS): Defines routing, state transitions, correlation IDs, and a reliable WebSocket event envelope with replay safety.
- Persistence + observability defaults: Establishes Postgres-first persistence with sqlc/goose patterns, optional Valkey hot-path caching with in-process fallbacks, and standardized slog/Prometheus request metrics plus error-handling rules.
Quick Start
Use the software-architecture skill to draft the architecture skeleton for your new backend service and specify REST routes, WebSocket envelopes, bounded contexts, and persistence/observability conventions for a coherent system shape.