Java crud
Skill limited-grisaille833/claude-java-plugins/plugins/java-spring/skills/java-crud
Boost Claude Code with Java plugins for Java 8–21 projects, including core, Spring, and quality checks tailored to your target version
npx -y skills add limited-grisaille833/claude-java-plugins --skill java-crudAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Generates a complete Spring Boot CRUD feature (entity, repository, service, controller, DTOs, tests) in an existing project. Use when user asks to "add CRUD for", "generate entity", "create a feature for", "add REST endpoints for", "scaffold a feature", or "build CRUD for".
SKILL.md
2.7 KB, as published. Nobody here has run it
/java-crud — Spring Boot CRUD Generator
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.
Step 1 — Gather requirements
Parse arguments if provided. Otherwise ask (in a single message):
- Entity name — e.g.,
Product,CustomerOrder - Fields — name and type, e.g.,
name:String, price:BigDecimal, category:String, active:boolean - Soft delete? — yes/no
- Java version — check
pom.xml/build.gradle, ask if not found - Spring Boot version — 2.x (
javax.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)
Step 2 — Detect base package
Check src/main/java/ for the existing package structure. Match the project's conventions.
Step 3 — Generate all layers
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.java
Spring Boot version rules:
- 3.x+: use
jakarta.persistence.*,@SQLRestrictionfor soft delete - 2.x: use
javax.persistence.*,@Where(clause = "deleted = false")for soft delete
Java version rules:
- 16+: use records for DTOs
- 8–15: use plain classes with constructors and getters
Step 4 — Post-generation checklist
- Replace
com.examplewith actual base package - Add
spring-boot-starter-validationif not already in build file - Add a
GlobalExceptionHandler(@RestControllerAdvice) if not already present - Run
mvn compileor./gradlew buildto verify
Step 5 — Next Steps
- Add more tests →
/java-test - Review the generated code →
/java-review - Check JPA patterns →
/java-jpa - Security review →
/java-security-check