Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By adityamparikhApache-2.0In 1 marketplace
Claude Code skill for Hibernate/JPA validation inspired by Vlad Mihalcea's Hypersistence Optimizer
Claude loads one when your task matches it, or you run it by name.
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A Claude Code skill for comprehensive Hibernate/JPA analysis, inspired by Vlad Mihalcea's Hypersistence Optimizer.
This skill brings Hypersistence Optimizer's philosophy to AI-assisted code review: when you ask Claude to review an entity, it runs the full checklist — not just what you asked about.
| Area | Details |
|---|---|
| Entity Mapping | equals/hashCode correctness, @NaturalId, access strategies, @Immutable, @DynamicUpdate, column definitions, indexes |
| Lombok on Entities | @Data / @EqualsAndHashCode / @ToString / @Builder.Default / @SuperBuilder / @FieldNameConstants gotchas |
| Java Records | Records as @Entity (no) vs @Embeddable / @IdClass / @EmbeddedId vs Spring Data class projection vs JPQL constructor result |
| Kotlin Data Classes | kotlin-jpa + kotlin-allopen plugins, field vs property access, Long? for @Id, data class copy() footgun, @JvmInline value class pitfalls, val vs var, by lazy vs Hibernate lazy |
| Identifier Strategies | SEQUENCE > IDENTITY > TABLE > AUTO, pooled/pooled-lo optimizers, UUID strategies (random vs time-ordered), composite keys |
| Association Mappings | @ManyToOne (LAZY always), @OneToMany with mappedBy, @ManyToMany with Set (bag vs set semantics), @OneToOne with @MapsId, bidirectional sync methods, cascade rules |
| N+1 Detection | How N+1 occurs, JOIN FETCH, @EntityGraph, @BatchSize, @Fetch(SUBSELECT), MultipleBagFetchException, Hibernate statistics, datasource-proxy |
| Query Optimization | JPQL best practices, Criteria API, DTO projections, keyset pagination, query plan cache, Blaze Persistence, jOOQ, @QueryHints |
| Batch Processing | jdbc.batch_size, order_inserts/updates, flush/clear pattern, StatelessSession, JPQL bulk UPDATE/DELETE, Spring chunk patterns, p6spy verification |
| Second-Level Caching | Entity/collection/query cache, concurrency strategies, Ehcache/Caffeine/Redis config, @NaturalIdCache, query cache invalidation gotchas |
| Connection Pooling | HikariCP tuning, pool sizing formula, leak detection, statement caching, metrics |
| Inheritance Strategies | SINGLE_TABLE (usually best), JOINED, TABLE_PER_CLASS (avoid), @MappedSuperclass, composition over inheritance |
| Spring Data JPA | BaseJpaRepository, findAll/findById anti-patterns, persist vs save, EXISTS optimization, Stream methods, QBE, Jakarta Data, derived queries, @Query, @Modifying pitfalls, custom fragments, Specification API, projections, auditing, bidirectional sync, OSIV |
| Spring Transactions | @Transactional boundaries, propagation, isolation, optimistic/pessimistic locking, LazyConnectionDataSourceProxy, read-write routing, @TransactionalEventListener, OSIV |
| Testing | Testcontainers + @ServiceConnection, @DataJpaTest correctness, query count assertions, cleanup strategies, @Sql, migration tests |
| Schema Migrations | Flyway, ddl-auto=validate, repeatable migrations, zero-downtime column changes, CREATE INDEX CONCURRENTLY, multi-tenant schemas |
| Hibernate 6 Features | @DynamicUpdate/Insert, @Immutable, @Subselect, @Filter, @SQLRestriction, @SoftDelete, @TenantId, Statistics, custom types |
| Migration 5→6 | javax→jakarta, naming changes, type system, HQL parser, Criteria API, Spring Boot 3 alignment |
This skill uses the open Agent Skills format (a folder with SKILL.md), which all major coding agents read. They just look in different folders.
npx skills (Node 22.20+) detects the agents you have installed and links one copy into each agent's folder:
npx skills add adityamparikh/hibernate-jpa-validator-skill -g
Drop -g to install into the current project only. Use -a claude-code -a codex … to choose agents, and npx skills update to pull new versions.
Codex, GitHub Copilot (CLI and cloud agent), Cursor, Gemini CLI, Junie, OpenCode, Goose, Amp, Cline, Roo Code and Devin Desktop read the shared ~/.agents/skills/ folder:
git clone https://github.com/adityamparikh/hibernate-jpa-validator-skill ~/.agents/skills/hibernate-jpa-validator
Claude Code and Kiro don't read ~/.agents/skills/, so link the same copy into their folders:
mkdir -p ~/.claude/skills && ln -s ~/.agents/skills/hibernate-jpa-validator ~/.claude/skills/hibernate-jpa-validator
mkdir -p ~/.kiro/skills && ln -s ~/.agents/skills/hibernate-jpa-validator ~/.kiro/skills/hibernate-jpa-validator
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub adityamparikh/hibernate-jpa-validator-skill --plugin hibernate-jpa-validatorPlugins from other owners that cover similar ground