Back to Skills

jpa-patterns

JPA/Hibernate patterns for entity design, relationships, query optimization, transactions, auditing, indexing, pagination, and pooling in Spring Boot.

175,339stars27,110forksUpdated 5/8/2026

Security Assessment

Safe(100/100)
Security Score100/100

About jpa-patterns

jpa-patterns is a reusable AI skill focused on a specific workflow. description: JPA/Hibernate patterns for entity design, relationships, query optimization, transactions, auditing, indexing, pagination, and pooling in Spring Boot.

The skill packages instructions, conventions, and task-specific guidance so an agent can execute the job more consistently. Use for data modeling, repositories, and performance tuning in Spring Boot. - Designing JPA entities and table mappings - Defining relationships (@OneToMany, @ManyToOne, @ManyToMany)

In practice, this skill is best suited for users who need repeatable execution with fewer setup steps and less ambiguity. - Optimizing queries (N+1 prevention, fetch strategies, projections) - Configuring transactions, auditing, or soft deletes - Setting up pagination, sorting, or custom repository methods - Tuning connection pooling (HikariCP) or second-level caching

FAQ

What does jpa-patterns help with?

jpa-patterns helps agents follow a focused workflow described in the source documentation, reducing ambiguity and keeping execution aligned with the intended task.

When should this skill be used?

Use it when the task matches the workflow, domain, or operating rules described in the skill documentation, especially when consistent execution matters.

What are the main limitations?

The skill is constrained by the quality and scope of its source instructions. If the underlying documentation is incomplete, the agent may still need extra context or manual validation.

Install jpa-patterns

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill