CtrlK
BlogDocsLog inGet started
Tessl Logo

jpa-patterns

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

90

1.28x
Quality

77%

Does it follow best practices?

Impact

98%

1.28x

Average score across 6 eval scenarios

SecuritybySnyk

Passed

No known issues

Optimize this skill with Tessl

npx tessl skill review --optimize ./docs/ja-JP/skills/jpa-patterns/SKILL.md
SKILL.md
Quality
Evals
Security

Evaluation results

100%

20%

Booking Platform: Core Data Model

Entity design and auditing

Criteria
Without context
With context

Table index annotation

0%

100%

Identity generation strategy

100%

100%

Auditing listener

100%

100%

Audit timestamp fields

100%

100%

EnableJpaAuditing config

100%

100%

Enum stored as string

100%

100%

Non-null column constraints

50%

100%

OneToMany cascade and orphan

50%

100%

Collection initialized

100%

100%

Lazy loading default

100%

100%

JOIN FETCH query

100%

100%

No EAGER on collection

100%

100%

Projection for reads

50%

100%

95%

14%

Product Catalog API: Scalable Browsing and Search

Repository patterns, pagination, and transactions

Criteria
Without context
With context

JpaRepository extension

100%

100%

Interface projection

0%

100%

Pageable parameter

100%

100%

PageRequest sort

0%

44%

JPQL @Query

100%

100%

@Param binding

100%

100%

Cursor pagination query

100%

100%

Service @Transactional

100%

100%

readOnly = true for reads

100%

100%

No EAGER collection fetch

100%

100%

Avoid select *

100%

100%

100%

32%

Order Processing Service: Production Readiness Hardening

Performance config, batch writes, migrations, and data access testing

Criteria
Without context
With context

HikariCP maximum-pool-size

100%

100%

HikariCP minimum-idle

100%

100%

HikariCP connection-timeout

100%

100%

HikariCP validation-timeout

0%

100%

Batch size property

100%

100%

saveAll for bulk insert

100%

100%

Flyway or Liquibase migration

100%

100%

No Hibernate auto DDL

100%

100%

@DataJpaTest annotation

0%

100%

Testcontainers usage

0%

100%

SQL debug logging

100%

100%

Bind parameter trace logging

40%

100%

Repository
affaan-m/everything-claude-code
Evaluated
Agent
Claude Code
Model
Claude Sonnet 4.6

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.