
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.
Spring Boot REST controller scaffolding skill with clear CRUD conventions, DTO patterns, and test generation instructions. No bundled scripts — purely instruction-based. Well-structured for its niche but limited to Java/Spring developers.
Clean, no-security-concerns skill. Pure instructional template for generating Spring controllers. No scripts, no network calls, no dependencies. Narrow audience (Java/Spring devs) but does exactly what it says.