# java-spring-boot

Generates production-grade Spring Boot 3.x code, covering REST controllers, Spring Security with JWT, Spring Data JPA repositories, and Actuator metrics.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 11800 installs · ★ 41
- Author: pluginagentmarketplace
- License: LicenseRef-Proprietary · policy=link-only · description only; the file stays with the author
- Source: https://github.com/pluginagentmarketplace/custom-plugin-java/tree/HEAD/skills/java-spring-boot/SKILL.md
- Updated: 2026-01-05
- HTML: https://affpapa.org/en/nevibecode/skills/java-spring-boot

## What it does

This skill equips coding assistants with blueprints for modern Spring Boot 3 applications, defaulting to version 3.2. It guides the model through writing REST endpoints and handling payload validation via Java records. Exceptions follow standard problem detail structures.

On the infrastructure side, it outlines stateless `SecurityFilterChain` beans with OAuth2 JWT support, layered controller-service architecture, and Actuator Prometheus metrics. Because it targets Spring Boot 3, legacy Spring Boot 2 security configurations directly clash with its filter chain conventions.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add pluginagentmarketplace/custom-plugin-java --skill java-spring-boot -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/java-spring-boot/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/java-spring-boot/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add pluginagentmarketplace/custom-plugin-java --skill java-spring-boot -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/java-spring-boot/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add pluginagentmarketplace/custom-plugin-java --skill java-spring-boot -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/java-spring-boot/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install pluginagentmarketplace/custom-plugin-java java-spring-boot
```

2. **Manually: put the files in place**
- File: `.github/skills/java-spring-boot/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add pluginagentmarketplace/custom-plugin-java --skill java-spring-boot -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/pluginagentmarketplace/custom-plugin-java --path skills/java-spring-boot
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/java-spring-boot/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add pluginagentmarketplace/custom-plugin-java --skill java-spring-boot -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/pluginagentmarketplace/custom-plugin-java/tree/HEAD/skills/java-spring-boot/SKILL.md

## When to use it
- configure stateless JWT authentication using `SecurityFilterChain`
- build validated REST APIs with custom `ProblemDetail` exception handlers
- expose Actuator health probes and Prometheus metrics in `application.yml`
- set up Spring Data JPA repositories with batching and pagination

## Example prompts
- Configure a stateless SecurityFilterChain in Spring Boot 3.2 supporting JWT resource servers.
- Write a REST controller for user registration using Java records for input validation.
- Set up application.yml to enable Actuator health probes and Prometheus metric endpoints.

## Similar
- [spring-boot-engineer](https://affpapa.org/en/nevibecode/skills/spring-boot-engineer.md) — skill · 8400 installs
- [spring-boot-actuator](https://affpapa.org/en/nevibecode/skills/spring-boot-actuator.md) — skill · 3800 installs
- [spring-boot-crud-patterns](https://affpapa.org/en/nevibecode/skills/spring-boot-crud-patterns.md) — skill · 3900 installs
- [spring-boot](https://affpapa.org/en/nevibecode/skills/spring-boot.md) — skill · 832 installs
- [create-spring-boot-java-project](https://affpapa.org/en/nevibecode/skills/create-spring-boot-java-project.md) — skill · 9516 installs
- [spring-boot-development](https://affpapa.org/en/nevibecode/skills/spring-boot-development.md) — skill · 534 installs

From the same set: [pluginagentmarketplace/custom-plugin-java](https://affpapa.org/en/nevibecode/by/pluginagentmarketplace/custom-plugin-java.md) — 4 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
