/spring-boot-template:code-qualityfrom Spring Boot Template
Review checklist for Java/Spring Boot code covering correctness, security, performance, REST semantics, and code smells. Activates on code review, PR checks, refactoring, or API review requests.
Ships in Spring Boot Template. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Knowledge for reviewing Java / Spring Boot changes: what to flag and how to recognize it. The review process, scope, and report format belong to the code-reviewer agent; project rules belong to the conventions skill.
No duplication: this skill holds only what no other skill states (generic Java quality, smells, REST semantics, detection signals). Project rules live in conventions, spring-boot, and jpa-patterns; the references here point to them and never restate them, so a rule change is made in one place.
Read only the references that match the changed files.
| If the change contains | Read |
|---|---|
| Any Java code | references/correctness.md, references/spring-conventions.md (signals; rules in conventions) |
| Controllers, DTOs, OpenAPI, error handling | references/api-contract.md |
| Input handling, auth, config, secrets, actuator | references/security.md |
| Repositories, queries, entity loops | references/performance.md |
Entities, *.sql migrations, spring.jpa.*, Flyway | conventions → Relational Database Schema (Flyway); spring-boot → references/data.md |
| Any non-trivial logic | references/smells.md |
Any code in a project whose architecture block says style: cqrs (conventions → Architecture Decision): handlers, events, projections, outbox, Kafka listeners | event-driven → references/cqrs.md (Review Signals), and references/kafka.md when the diff touches the outbox or a listener |
Any code in a project whose architecture block says style: cqrs-event-sourcing: aggregates, events, upcasters, event store, projections, migrations | event-driven → references/cqrs.md and references/event-sourcing.md (Review Signals); references/axon.md with event-store: axon |
deploy/**, skaffold.yaml, docker-compose.yml, Kubernetes manifests | spring-boot → references/cloud.md (overlays, probes, Compose healthchecks); references/security.md (secrets) |
Related skills, loaded only when the diff needs them:
| Topic | Skill |
|---|---|
| Project rules (No Lombok, RestClient, Flyway, Problem Details) | conventions |
| Lazy loading, fetching, optimistic locking | jpa-patterns |
Test quality, RestTestClient, Testcontainers | testing-patterns |
| Log levels, MDC, structured logging | logging-patterns |
| UI contract details | spring-boot → references/ui-contract.md |
| Records, sealed types, pattern matching | java-modern |
| CQRS and Event Sourcing: handlers, events, outbox, event store, projections | event-driven |
references/smells.md)CLAUDE.md / AGENTS.md, conventions, or an existing documented decision overrides a rule here, the repo wins| Category | Red flags |
|---|---|
| Null safety | chained calls, Optional.get(), returning null |
| Exceptions | empty catch, broad catch, lost stack trace |
| Resources | manual close() |
| Transactions | multi-step writes without @Transactional, self-invocation |
| API | wrong verb or status |
| Performance | N+1, findAll() without paging, LIKE from user input |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub piomin/claude-ai-spring-boot --plugin spring-boot-template10 skills in this plugin
/conventionsSpring Boot project conventions and mandatory rules. Auto-loads when working with Spring Boot, Java, or Maven projects, and before a new Spring Boot project or REST API is generated - it asks for the architecture style (layered CRUD, CQRS, Event Sourcing) first. Enforces No-Lombok, constructor injection, RestClient, Flyway for relational databases, Problem Details errors, and other standards; adds OpenAPI contract rules when the API is built for a UI./design-patternsDesign patterns with Java examples - classic (Factory, Builder, Strategy, Observer, Decorator, Adapter) and enterprise/microservices (Saga, Outbox, CQRS). Use when user asks about patterns, designing extensible components, or distributed transaction strategies./event-drivenCQRS and Event Sourcing for Spring Boot 4.x - command and query handlers, read models updated from domain events, transactional outbox with Apache Kafka or in-process events with Spring Modulith, an append-only PostgreSQL event store with aggregates rebuilt from events, upcasting and rebuildable projections, or Axon Framework, as separate command and query services or a single service. Use when the architecture block in the project's CLAUDE.md or AGENTS.md names the cqrs or cqrs-event-sourcing style, or when the user asks for CQRS, Event Sourcing, an event store, an outbox, projections or read models./java-modernJava 21+ features for Spring Boot - records, sealed classes, pattern matching, virtual threads, text blocks. Use when user asks about modern Java, Java 21 features, or when modernizing existing code./jpa-patternsJPA/Hibernate patterns and common pitfalls (N+1, lazy loading, transactions, queries). Use when user has JPA performance issues, LazyInitializationException, or asks about entity relationships and fetching strategies./logging-patternsJava logging best practices with SLF4J, structured logging (JSON), and MDC for request tracing. Includes AI-friendly log formats for AI coding assistant debugging. Use when user asks about logging, debugging application flow, or analyzing logs.Other plugins' skills for the same job