crud-rest-controller
CRUD REST Controller
Generates a @RestController class with standard CRUD endpoints for an entity,
using a Spring Data repository, optional DTO mapping, pagination, filtering, and patch support.
CRITICAL: Code ONLY from examples/ files. If no matching example -- STOP and ask user. CRITICAL: For questions with a fixed set of choices, prefer
AskUserQuestion> its analogue > plain text list. Plain numbered text lists are the last resort when no interactive tool is available. CRITICAL: Read the conversation context BEFORE running Step 1. Half the questions in Steps 2–4 may already be answered by the user's prompt and prior turns. Re-asking what was already said is the #1 reason this skill feels slow.
Defaults
The options below are grouped by topic. language and bootVersion are
auto-detected; all other options are resolved via the Decision-making
principle (derive from context → confirm → ask).
More from amplicode/spring-skills
java-debug
>
16spring-planning
Create structured implementation plan in docs/plans/
15spring-explore
>
15spring-data-jpa
Rules and guidelines for working with Spring Data JPA in the project. ALWAYS use this skill when adding, removing, or modifying JPA entities, repositories, or projections. Trigger on any request that involves changing entity structure, adding new entities, modifying field annotations, updating database mappings, creating or modifying Spring Data repositories, or defining query projections (interfaces, DTOs).
14mapper-creator
>
14spring-security-configuration
>
14