Skip to content

giuseppe-trisciuoglio/developer-kit / plugins/developer-kit-java/skills/spring-boot-crud-patterns

spring-boot-crud-patterns

Verified

Provides and generates complete CRUD workflows for Spring Boot 3 services. Creates feature-focused architecture with Spring Data JPA aggregates, repositories, DTOs, controllers, and REST APIs. Validates domain invariants and transaction boundaries. Use when modeling Java backend services, REST API endpoints, database operations, web service patterns, or JPA entities for Spring Boot applications.

FileKindSize
SKILL.mdskill md9.8 KB
assets/specs/product.jsonconfig240 B
assets/specs/product_with_rel.jsonconfig316 B
references/crud-reference.mdmarkdown208 B
references/examples-product-feature.mdmarkdown455 B
references/generator-usage.mdmarkdown1.2 KB
references/spring-official-docs.mdmarkdown116 B
references/templates/Controller.java.tplother2.4 KB
references/templates/CreateService.java.tplother1.1 KB
references/templates/DeleteService.java.tplother699 B
references/templates/DomainModel.java.tplother378 B
references/templates/DomainRepository.java.tplother403 B
references/templates/DomainService.java.tplother1.0 KB
references/templates/DtoRequest.java.tplother110 B
references/templates/DtoResponse.java.tplother112 B
references/templates/EntityExceptionHandler.java.tplother1.5 KB
references/templates/ErrorResponse.java.tplother141 B
references/templates/ExistException.java.tplother306 B
references/templates/GetService.java.tplother847 B
references/templates/GlobalExceptionHandler.java.tplother2.5 KB
references/templates/JpaEntity.java.tplother545 B
references/templates/ListService.java.tplother1.1 KB
references/templates/Mapper.java.tplother447 B
references/templates/NotFoundException.java.tplother224 B
references/templates/PageResponse.java.tplother175 B
references/templates/PersistenceAdapter.java.tplother1.5 KB
references/templates/README.mdmarkdown1.4 KB
references/templates/SpringDataRepository.java.tplother202 B
references/templates/UpdateService.java.tplother1.1 KB
scripts/examples/product.jsonconfig240 B
scripts/examples/product_with_rel.jsonconfig641 B
scripts/generate_crud_boilerplate.pyexecutablescript36.2 KB

references/templates/DomainModel.java.tpl

View on GitHub
package $package.domain.model;

$lombok_domain_imports
$extra_imports

$lombok_domain_annotations_block
public class $entity {
$domain_fields_decls

    private $entity($domain_ctor_params) {
$domain_assigns
    }

    public static $entity create($domain_ctor_params) {
        // TODO: add invariant checks
        return new $entity($all_names_csv);
    }

$domain_getters
}
deprecation-and-migrationaddyosmani/agent-skillsManages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when migrating a database schema in production, such as renaming or dropping a column without downtime (expand/contract). Use when deciding whether to maintain or sunset existing code.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
performance-optimizationaddyosmani/agent-skillsOptimizes application performance across frontend, backend, queries, and databases. Use when performance requirements exist, when you suspect performance regressions, when Core Web Vitals or load times need improvement, when N+1 query patterns need fixing, or when profiling reveals bottlenecks.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
Agent Cost Reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json.Stars: 118kUpdated Claude CodeCodexVerifiedInstall
Agent Cost Reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json.Stars: 118kUpdated Claude CodeCodexVerifiedInstall