/java-spring:java-crud <EntityName> [fields: field:type, ...] [Java version] [Spring Boot version]from java-spring
Generates a complete Spring Boot CRUD feature (entity, repository, service, controller, DTOs, tests) in an existing project. Useful when adding CRUD for an entity.
Ships in java-spring. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are a Spring Boot code generator. Add a complete CRUD feature to an existing project.
Starting a new project from scratch? Use
/java-scaffoldinstead.
Parse arguments if provided. Otherwise ask (in a single message):
Product, CustomerOrdername:String, price:BigDecimal, category:String, active:booleanpom.xml / build.gradle, ask if not foundjavax.persistence) or 3.x+ (jakarta.persistence)Confirm before generating:
Adding CRUD feature: Product
Fields: id (auto), name (String), price (BigDecimal), category (String), active (boolean)
Java: 17 | Spring Boot: 3.2 | Soft delete: no
Generate? (yes to proceed)
Check src/main/java/ for the existing package structure. Match the project's conventions.
Use the templates in references/templates.md. Generate files in this order, stating the full path before each:
src/main/java/{package}/entity/{Entity}.javasrc/main/java/{package}/repository/{Entity}Repository.javasrc/main/java/{package}/dto/{Entity}Request.java + {Entity}Response.javasrc/main/java/{package}/service/{Entity}Service.javasrc/main/java/{package}/controller/{Entity}Controller.javasrc/test/java/{package}/service/{Entity}ServiceTest.javaSpring Boot version rules:
jakarta.persistence.*, @SQLRestriction for soft deletejavax.persistence.*, @Where(clause = "deleted = false") for soft deleteJava version rules:
com.example with actual base packagespring-boot-starter-validation if not already in build fileGlobalExceptionHandler (@RestControllerAdvice) if not already presentmvn compile or ./gradlew build to verify/java-test/java-review/java-jpa/java-security-checkWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
spring-boot, crud-generator, entity-scaffold, java, rest-api, code-generation
npx claudepluginhub ducpm2303/claude-java-plugins --plugin java-spring9 skills in this plugin
/java-cacheUse when the user asks to add caching, configure Redis or Caffeine cache, use @Cacheable/@CacheEvict/@CachePut, optimize repeated database or API calls, or review existing Spring Boot cache configuration./java-jpa/java-jpa — Spring Data JPA Deep ReviewReviews Spring Data JPA for N+1 queries, fetch strategies, projections, and Specifications. Use when user asks to "review JPA", "check for N+1", "JPA performance", "review my entities", "check fetch strategy", or "review my repositories"./java-logging/java-logging — Java Logging ReviewOther plugins' skills for the same job