What problem does it solve?
Manually creating consistent, production-ready REST API controllers with proper authentication, DTOs, pagination, and project-specific conventions is time-consuming and prone to human error, especially for teams building on the Swiss AI Hub core stack.
Core Features & Use Cases
- Full Controller Generation: Creates a complete REST controller with CRUD endpoints, fluent builder pattern, and role-based permission checks aligned with Swiss AI Hub core architecture rules.
- Integrated Boilerplate Setup: Automatically generates associated DTOs, service stubs, directory structure, application entrypoint registration, i18n keys, and test stubs to match existing project patterns.
- Use Case: For example, if you need to add a new "dataset" API endpoint to your Swiss AI Hub deployment, this skill generates all required files and configuration in seconds instead of manually writing hundreds of lines of repetitive boilerplate code.
Quick Start
Use the scaffold-api-endpoint skill to generate a complete REST API controller for the "client" resource, including all associated DTOs, service stubs, and main.py registration.