What problem does it solve?
This Skill provides a comprehensive set of best practices and conventions for backend development, ensuring consistency, maintainability, and quality across projects.
Core Features & Use Cases
- Architecture Guidance: Promotes layered architecture (Domain, Application, Infrastructure, API) for organized code.
- API Design: Defines principles for RESTful conventions, versioning, pagination, filtering, and sorting.
- Error Handling: Establishes structured error responses and a clear error code hierarchy.
- Validation: Outlines patterns for input validation and DTO conventions.
- Security: Covers authentication, authorization, rate limiting, and input sanitization.
- Database Patterns: Details repository patterns, migrations, standard fields, soft deletes, and indexing.
- Testing: Specifies requirements for unit and integration tests with coverage targets.
- Performance: Offers strategies for caching, query optimization, and N+1 prevention.
- Use Case: A new developer joins a project and needs to implement a new API endpoint. They consult this Skill to understand the expected structure, naming conventions, error handling, and security requirements for the new endpoint.
Quick Start
Follow the backend development guidelines for implementing new API endpoints.