What problem does it solve?
This skill eliminates the repetitive, error-prone work of writing boilerplate API service layers that must adhere to strict project conventions for tracing, DTO conversion, error handling, and stateless design, ensuring consistency across the entire backend codebase.
Core Features & Use Cases
- Standardized Service Generation: Creates stateless service classes with OpenTelemetry tracing, CRUD operations, pagination support, and proper HTTP error handling aligned with existing project patterns.
- Auto-Generated DTOs: Produces all required request/response DTOs, including paginated response types, following the project's i18n and field validation conventions.
- Use Case: When adding a new "notification" resource to the Swiss AI-Hub API, use this skill to generate the full service layer and associated DTOs in seconds, matching existing code patterns exactly.
Quick Start
Use the scaffold-api-service skill to generate a service layer and DTOs for the new "workflow" resource.