Nov 21, 2026
Spring Boot Skills Fills Your Agent In on Your Team's Java Conventions
A catalog of 44 topics in Boot 3 and Boot 4 flavors stops the classic Spring hallucinations — field injection, invented exception hierarchies, dead pre-GA Spring AI artifacts — before your agent writes a line.
AI coding agents are great at Python and hallucinate in Spring Boot, as the README puts it: they generate @Autowired field injection instead of constructor injection, ignore your exception hierarchy and invent a new one, hand-write schema SQL when your project uses Flyway, and emit pre-GA Spring AI artifact names that no longer exist in Maven Central. This catalog of battle-tested skills fixes exactly that — a skill is a Markdown file your agent reads before touching your code, and it describes your stack and gotchas, not generic Spring Boot from 2020.
Why This Skill Matters
The catalog ships 44 topics, each in two version trees: skills/spring-boot-4/ targets Boot 4.x, Framework 7, Spring Security 7, Jackson 3 and Spring AI 2.0, while skills/spring-boot-3/ covers Boot 3.x, Framework 6 and Spring AI 1.x. The topics span architecture (layered, hexagonal, DDD, Modulith, multi-tenancy), API design (response envelopes, RFC 9457 Problem Details, idempotency, HATEOAS), data and persistence (JPA with Hibernate 7, Flyway, Redis, transactions), messaging, batch, security (JWT, OAuth2 resource server, supply chain), and an AI & MCP group — with the README calling the mcp-server skill the most powerful one, built on MCP Java SDK 2.x and Spring AI 2.0 starters. Every skill follows one anatomy: a trigger-style description ("use when…"), conventions, side-by-side good and bad examples, and a Gotchas section phrased as "Agent does X — do Y instead".
Installation
Install Claude Code if needed, then either drop skill folders into your project:
PROJECT_DIR=/path/to/my-spring-app
mkdir -p "$PROJECT_DIR/.claude/skills"
# Spring Boot 4 project
cp -r skills/spring-boot-4/rest-api-conventions "$PROJECT_DIR/.claude/skills/"
cp -r skills/spring-boot-4/spring-data-jpa "$PROJECT_DIR/.claude/skills/"
(Commands run from the root of a local clone; Codex users copy into .codex/skills/ the same way.) Or install the marketplace plugin for all 44 topics of a version tree at once:
claude plugin marketplace add rrezartprebreza/spring-boot-skills
claude plugin install spring-boot-4-skills@spring-boot-skills
# or for a Boot 3 project:
claude plugin install spring-boot-3-skills@spring-boot-skills
Codex has its own manifest: codex plugin marketplace add rrezartprebreza/spring-boot-skills, then codex plugin add spring-boot-4-skills@spring-boot-skills. For persistent project guidance, the repo also ships CLAUDE.md and AGENTS.md templates for both Boot versions under templates/.
Real Workflow: Add an Orders Endpoint That Fits Your Codebase
- Drop
rest-api-conventionsandspring-data-jpainto.claude/skills/(above), and fill in the response-envelope template the conventions skill carries — that file is where your status mapping and pagination contract live. - Start your agent and ask for the work:
Generate a CRUD endpoint for the Order entity following our REST conventions
- The agent matches the skill triggers — REST code loads
rest-api-conventions, persistence loadsspring-data-jpa— and writes the endpoint with your envelope, your status mapping, and your pagination contract, instead ofResponseEntity<?>defaults.
The README's Before/After contrast shows the same controller rewritten from an @Autowired field-injection web layer into a @RequiredArgsConstructor adapter returning ApiResponse<OrderResponse> with a 201 Created. For Maven-heavy work, the same trigger flow loads multi-module-maven when the task touches module conventions — it sits in the catalog's Architecture table.
Six optional specialists (spring-architect, spring-implementer, spring-reviewer, spring-security-reviewer, spring-test-engineer, spring-migration-engineer) coordinate work using the versioned skills; the Claude marketplace packages include them, and a scripts/specialist_agents.py installer covers Codex.
Tips
- The Gotchas section is the most valuable part per the README's own advice — add to it every time the agent does something wrong in your codebase.
- Don't describe what Spring Boot already knows; skills should push the agent out of its default behavior, not repeat the docs.
- Version-specific topics may live only in the relevant tree; shared topics normally have both flavors.
- Fast-moving integrations were last verified in August 2026 against Spring Boot 4.1 and Spring AI 2.0 — recheck the linked official sources before adopting a newer release line.
- Fork the repo and customize: every team's conventions differ, and the README says these are starting points, not gospel.
When Not to Use This
The scaffolding skill is guidance, not a bundled generator, and verification does not deploy or bypass gates — the README says so directly. The catalog scopes itself to Spring Boot stacks; the project templates are starting points you adapt, not drop-in truth, and the README's own anti-pattern table warns against giant SKILL.md files, "always use constructor injection" rules that are already agent defaults, and never updating. If your backend is not Spring, the conventions here don't transfer.
See the leaderboard for more skills.