What problem does it solve?
This Skill standardizes backend development for Node.js/Express/TypeScript microservices, eliminating inconsistencies, improving error handling, and ensuring scalable, maintainable code. It automates the process of applying best practices, allowing developers to focus on business logic rather than boilerplate.
Core Features & Use Cases
- Layered Architecture: Enforces clear separation of concerns (routes β controllers β services β repositories) for modularity and easier maintenance.
- Automated Error Tracking: Integrates Sentry for comprehensive error monitoring and reporting, reducing manual debugging and improving system reliability.
- Robust Input Validation: Utilizes Zod for type-safe schema validation, preventing common API errors and enhancing data integrity.
- Use Case: When building a new API endpoint, activate this Skill to automatically generate the correct file structure, apply Zod validation, set up Sentry tracking, and ensure adherence to the BaseController pattern, saving hours of setup and code review.
Quick Start
To create a new backend feature, follow the "New Backend Feature Checklist" in the backend-dev-guidelines skill.
For example, to create a new route with validation:
1. Define a Zod schema in validators/.
2. Create a service in services/ for business logic.
3. Implement a controller in controllers/ extending BaseController.
4. Define the route in routes/ delegating to the controller.