giuseppe-trisciuoglio avatar

Spring Boot Crud Patterns

If you're building Spring Boot 3 backends and tired of copy-pasting CRUD boilerplate, this generates the full stack: JPA entities with domain invariants, repository interfaces, application services with proper transaction boundaries, and REST controllers with validation. It follows a feature-focused architecture that keeps domain logic framework-free and enforces validation gates at each step, from directory structure through integration tests with Testcontainers. The examples show actual code for a Product feature with record-based DTOs, optimistic locking considerations, and proper HTTP status codes. Useful when you want consistency across endpoints without writing the same repository and controller patterns by hand every time.

skills.sh installs
4K
GitHub stars
369
last updated
Aug 21, 2026

Install

$ npx -y skills add giuseppe-trisciuoglio/developer-kit --skill spring-boot-crud-patterns --agent claude-code

Installs into .claude/skills of the current project.

Files

Spring Boot CRUD Patterns

Overview

Provides complete CRUD workflows for Spring Boot 3.5+ services using feature-focused architecture. Creates and validates domain aggregates, JPA repositories, application services, and REST controllers with proper separation of concerns. Defer detailed code listings to reference files for progressive disclosure.

When to Use

  • Create REST endpoints for create/read/update/delete workflows backed by Spring Data JPA.
  • Implement feature packages following DDD-inspired architecture with aggregates, repositories, and application services.
  • Define DTO records, request validation, and controller mappings for external clients.
  • Diagnose CRUD regressions, repository contracts, or transaction boundaries in existing Spring Boot services.
  • Trigger phrases: "implement Spring CRUD controller", "create an endpoint", "add database entity", "refine feature-based repository", "map DTOs for JPA aggregate", "add pagination to REST list endpoint".

Instructions

Follow this streamlined workflow to deliver feature-aligned CRUD services with explicit validation gates:

Sponsors

Details

Repository
github.com/giuseppe-trisciuoglio/developer-kit
Categories
Backend & APIs, Code Review & Quality, Java & JVM, Databases
First seen
Apr 16, 2026

More from giuseppe-trisciuoglio/developer-kit

All 102
1dotnet avatartemplate-discoverydotnet/skillsHelps find, inspect, and compare (at a high level) .NET project templates. Resolves natural-language project descriptions to ranked template matches with pre-fi4Kskills.sh installs
2dotnet avatartemplate-instantiationdotnet/skillsCreates .NET projects from templates with validated parameters, smart defaults, Central Package Management adaptation, and latest NuGet version resolution. USE 4Kskills.sh installs
3giuseppe-trisciuoglio avatarnestjs-best-practicesgiuseppe-trisciuoglio/developer-kitProvides comprehensive NestJS best practices including modular architecture, dependency injection scoping, exception filters, DTO validation with class-validato4Kskills.sh installs
4giuseppe-trisciuoglio avatarunit-test-service-layergiuseppe-trisciuoglio/developer-kitProvides patterns for unit testing service layer with Mockito. Creates isolated tests that mock repository calls, verify method invocations, test exception scen3.9Kskills.sh installs
5giuseppe-trisciuoglio avatarnextjs-code-reviewgiuseppe-trisciuoglio/developer-kitProvides comprehensive code review capability for Next.js applications, validates Server Components, Client Components, Server Actions, caching strategies, meta3.9Kskills.sh installs
6yaklang avatarkubernetes-pentestingyaklang/hack-skillsKubernetes penetration testing playbook. Use when targeting Kubernetes clusters via API server, RBAC enumeration, service account abuse, etcd access, Kubelet AP3.9Kskills.sh installs