Review JPA queries and fetch strategies

java-jpaskillsetup L10
limited-grisaille833/claude-java-plugins
What it does

Review Spring Data JPA code for performance issues

Best for

Specialized N+1 detection and fetch strategy tuning beats generic code review.

Inputs
  • · Java/Spring Boot project
  • · target file or class (optional)
Outputs
  • · structured review report with findings
Requires
  • · Spring Data JPA
  • · Spring AI
Preconditions
  • · Java/Spring Boot project exists
  • · Build file (pom.xml or build.gradle) present
Failure modes
  • · Incorrect Spring Boot or Java version
  • · Missing dependencies in build file
  • · Syntax errors in generated code
  • · Network timeout or connection error
  • · Rate limiting or throttling
Trust signals
  • · Explicit N+1 detection example with fix
  • · @EntityGraph and JOIN FETCH patterns
  • · Spring Boot version awareness (2.x vs 3.x)
  • · Concrete code examples
  • · Structured workflow with clear phases