
from claude-code-training230
Generate a Spring Boot REST controller with CRUD endpoints, DTOs, validation, OpenAPI annotations, and integration tests scaffolded for a named entity.
This skill scaffolds a Spring Boot REST controller for a named entity, producing controller code, request/response DTOs, validation annotations, OpenAPI documentation annotations, and a corresponding integration test suite. It codifies common REST conventions (status codes, Location header on create, pagination on list endpoints) so the agent can produce consistent, test-backed controller scaffolds for standard Java projects.
Invoke when the developer asks for a ready-to-run REST controller scaffold for an entity (e.g., /spring-controller User). Suitable during rapid prototyping, training demos, or when adding standard CRUD endpoints to an existing Spring project that follows conventional package/layout and build files (pom.xml/build.gradle).
@SpringBootTest + MockMvc. The SKILL.md provides exact endpoint behaviors and test expectations.Best for code-generation/code-assistant agents (Code models, Copilot/Claude Code/Cursor-like assistants) and any agent that can emit multi-file Java code and tests.
This skill has not been reviewed by our automated audit pipeline yet.