spring-persistence

Community

Production-grade Spring persistence for Java services

Authorzenobiuszeto
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It removes the guesswork and risk when building production-ready persistence layers by providing clear, secure patterns for JPA entities, repositories, schema migrations, caching, and document-store integration so teams avoid common pitfalls like incorrect mappings, N+1 queries, and unsafe migrations.

Core Features & Use Cases

  • JPA entity design with recommended annotations, UUID id generation, optimistic locking, and database-safe enums to ensure reliable domain modeling.
  • Spring Data repositories & specifications including derived queries, JPQL, projections, pessimistic locks for balance updates, and dynamic filtering for pageable APIs.
  • Flyway migration guidance and naming conventions to maintain safe, sequential schema evolution in CI/CD.
  • MongoDB audit/event document patterns and Redis caching best practices for audit stores and read-performance with Cacheable/CacheEvict semantics.
  • MapStruct mapping patterns and practical advice to avoid exposing entities across boundaries and to keep mappers build-strict.

Quick Start

Generate production-ready JPA entity, Spring Data repository with specifications, Flyway migration, MapStruct mapper, and Redis cache configuration for an Account aggregate with optimistic locking and database indexes.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: spring-persistence
Download link: https://github.com/zenobiuszeto/banking-strawman-capabilities/archive/main.zip#spring-persistence

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.