Skip to content
Back to skills

Springboot Conventions

ASecurity

Fine-grained Spring Boot 3.x + JPA conventions and the rationale behind the toolkit's guardrail rules. Split by domain — load the reference for what you're touching. Use when working on persistence, controllers, transactions, or tests and you want the why, not just the what. Trigger phrases: "spring boot conventions", "jpa best practice", "why @Version", "transactional not working", "n+1 spring", "entity vs dto".

  • 10 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added August 31, 2026
developmentspringtesting

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned August 31, 2026

npx -y skills add ShipWithAI/shipwithai-plugins --skill springboot-conventions --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Springboot Conventions?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Springboot Conventions
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/shipwithai-springboot-conventions/badge)](https://www.skillsdirectory.com/skills/shipwithai-springboot-conventions)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: springboot-conventions
description: >
  Fine-grained Spring Boot 3.x + JPA conventions and the rationale behind the
  toolkit's guardrail rules. Split by domain — load the reference for what you're
  touching. Use when working on persistence, controllers, transactions, or tests
  and you want the why, not just the what.
  Trigger phrases: "spring boot conventions", "jpa best practice", "why @Version",
  "transactional not working", "n+1 spring", "entity vs dto".
---

# Spring Boot Conventions

The rules enforced by the guardrail hook (`ruleset.json`) and the always-on summary
in CLAUDE.md are deliberately terse. This skill holds the **rationale and the fix
patterns**, split by domain so you only load what's relevant.

Load the reference for the layer you're in:

| You're working on… | Read | Covers rules |
|--------------------|------|--------------|
| Entities, repositories, queries | `references/persistence.md` | `jpa-optimistic-lock`, `jpa-entity-equals`, `nplus1-heuristic`, `jpql-injection` |
| Controllers, request/response | `references/web.md` | `entity-in-controller` |
| Service methods, `@Transactional` | `references/transactions.md` | `tx-proxy` |
| Tests | `references/testing.md` | (slice tests, Testcontainers) |

Each reference explains: the failure mode, why it bites, the correct pattern, and how
to suppress the guardrail (`// jbt:ignore <rule-id>`) when a deviation is intentional.

This is reference material, not a tutorial — it assumes you know Spring Boot and
focuses on the mistakes that are easy to miss.

Files in this skill

  • SKILL.md1.5 KB
  • evals.json1.6 KB
  • references/persistence.md5.6 KB
  • references/security.md4.5 KB
  • references/testing.md2.8 KB
  • references/transactions.md1.5 KB
  • references/web.md4.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.