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 ShipWithAIv0.5.0MITIn 1 marketplace
Catches missing @Version, broken @Transactional proxies and N+1 queries while you write Spring Boot JPA code, and scaffolds entities and endpoints that avoid them. A Java-edit hook advises on each change and blocks query-injection issues.
Trending plugins
7-day copy clicks
Claude hands work to one, or you mention it with @.
1 marketplace, most starred first
jpa, guardrails, code-review, scaffold, backend-scaffolding, entity-validation, claude-code
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Guardrail-first Spring Boot + JPA toolkit for Claude Code. Catches the subtle mistakes at the moment you write them — not in a doc you hope the model reads.
Generic Spring Boot skill packs are exhaustive and passive: one big reference doc
that loads only when a keyword happens to match. When you scaffold an @Entity, nothing
guarantees the "add @Version" rule fires. The knowledge exists but isn't activated at
the moment of the mistake.
This toolkit inverts that. Its core is a deterministic hook that fires on every Java edit and surfaces a just-in-time advisory the instant a known anti-pattern appears. Knowledge is the supporting layer, not the lead.
| Generic springboot skills | This toolkit | |
|---|---|---|
| Activation | Passive (keyword hope) | Hook on action + scaffold-correct-by-default |
| Coverage | Exhaustive, generic | Opinionated, few rules done right |
| Output | Read-a-doc | Just-in-time advisory + correct generated code |
hooks/jpa-guardrail.py) — PostToolUse on Write/Edit of *.java
(and application.properties/.yml for config rules). Reads the just-written file, runs
the heuristics in rules/ruleset.json, emits an advisory (or blocks for injection-class
issues). Stdlib-only, silent-fails, never breaks a tool.jpa-entity, spring-rest-endpoint, db-migration, rest-error-handler, idempotent-endpoint,
security-filter-chain, jwt-auth, integration-test, test-slice.springboot-conventions, fine-grained references split by domain
(persistence / web / transactions / testing) explaining the why behind each rule.springboot-reviewer, whose checklist is ruleset.json, so the
runtime hook and the PR review never disagree.rules/ruleset.json is the single source of truth shared by the hook and the reviewer — 18 rules across four domains:
Persistence / JPA
| id | What it catches | Hook | Severity |
|---|---|---|---|
jpa-optimistic-lock | @Entity without @Version (lost updates) | ✅ | warning |
jpa-entity-equals | equals/hashCode on the generated @Id instead of a business key | reviewer-only¹ | info |
jpa-eager-fetch | FetchType.EAGER association (over-fetch / N+1) | ✅ | warning |
jpa-cascade-all | CascadeType.ALL cascades remove across associations | ✅ | warning |
jpa-id-generation | GenerationType.IDENTITY disables JDBC batch inserts | ✅ | info |
jpa-osiv | spring.jpa.open-in-view=true (lazy loads leak to the view) | ✅ (config) | warning |
jpa-dto-projection | read path returns full entities where a projection fits | reviewer-only¹ | info |
nplus1-heuristic | repository call inside a loop (likely N+1) | ✅ | info |
tx-proxy | @Transactional on a non-public method (silently not proxied) | ✅ | warning |
jpql-injection | query built by string concatenation | ✅ blocks² | critical |
Web
| id | What it catches | Hook | Severity |
|---|---|---|---|
entity-in-controller | controller returns a JPA entity instead of a DTO | reviewer-only¹ | warning |
web-missing-valid | @RequestBody/@ModelAttribute param without @Valid | ✅ | warning |
web-slow-in-controller | blocking/slow work directly in a controller handler | reviewer-only¹ | warning |
Security
| id | What it catches | Hook | Severity |
|---|---|---|---|
sec-weak-hash | MD5/SHA-1 used for hashing | ✅ | warning |
sec-mass-assignment | request payload bound onto a JPA @Entity | reviewer-only¹ | warning |
sec-hardcoded-secret | hardcoded secret/key/token string literal | ✅ | warning |
sec-missing-method-auth | mutating endpoint without method-level authorization | reviewer-only¹ | warning |
Testing
| id | What it catches | Hook | Severity |
|---|---|---|---|
test-thread-sleep | Thread.sleep in a @Test (use Awaitility) | ✅ | warning |
¹ Needs reading code with judgment (which field equals uses, cross-file types) — handled by the reviewer agent, not the line-level hook, so correct-by-default code isn't falsely flagged.
² Blocks by default (strictChecks); switch to advisory in guardrails-config.json.
From a Spring Boot + JPA project, run the setup skill:
/shipwithai-java-backend-toolkit:setup
It installs the enforcement layer into the project's .claude/ (committed, shared
with the whole team — teammates get the guardrails even without the plugin):
7-day copy clicks
npx claudepluginhub shipwithai/shipwithai-plugins --plugin shipwithai-java-backend-toolkitBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground