iamp5/springboot-plugin/springboot-best-practices
Claude Code and agent skill by iamp5/springboot-plugin
- community
Checking that the SKILL.md file is still in the repository.
Write or review Java and Spring code using records, var, streams, functional interfaces, sealed types, exhaustive switches, domain validators, modern APIs, collection ownership, concurrency, transactions, persistence, tests, and existing architecture. Apply concrete rules with version bounds and justified exceptions.
Install
npx vskill@latest install iamp5/springboot-plugin/springboot-best-practicesSKILL.md
The same SKILL.md was published earlier as iamp5/springboot-plugin/springboot-best-practices.
Java and Spring rules for generation and review
Read project context, then select the rules whose trigger appears in the task or diff. Load recent API changes through java-spring-updates when dependencies, imports, or configuration differ from familiar examples.
| Trigger | Rule | Priority | |
|---|---|---|---|
| DTOs, value objects, or non-entity domain data | Use records by default | High | |
| Local declarations, generics, or numeric inference | Prefer clear local type inference | Medium | |
| Filtering, mapping, aggregation, or strategy lambdas | Use declarative transformations | Medium | |
| Closed domain alternatives or instanceof chains | Seal variants and exhaust switches | High | |
| Entity creation, state changes, cross-field rules, or request validation | Keep domain validation unavoidable | High | |
| Collection-returning APIs, record components, or toList conversions | Preserve collection ownership | High | |
| Handwritten string/file/batching utilities or newer syntax | Select stable modern APIs, then the Java 11–25 feature index | Medium | |
| Virtual threads or increased concurrent external requests | Bound constrained resources | High | |
| Catching InterruptedException or retrying after cancellation | Preserve interruption | High | |
| New interfaces, factories, or generic base classes | Require a purpose for abstractions | Medium | |
| Self-invocation or a new transaction/propagation boundary | Make interception real | High | |
| N+1 query evidence, a fetch join, or pagination changes | Measure the fetch plan | High | |
| New or modified regression tests | Assert observable behavior | Medium | |
| Moving classes, adding dependencies, or creating a component | Follow existing boundaries | High |
For each applicable rule:
- Check its version/runtime conditions and exceptions against the repository. Prefer records for value-like data, clear
varlocals, declarative transformations, and exhaustive closed-domain modeling in new or changed code. State a concrete exception when retaining another form; avoid unrelated whole-repository rewrites. - During generation, choose a correction that fits the intended behavior and existing boundaries. During review, identify the affected code and a concrete consequence before raising a finding.
- Run the rule's verification and the repository's required checks through
spring-verify.
Report findings with the rule ID, file/line, consequence, and evidence. Treat advisory design judgments as review guidance; only repository-adopted executable policy can turn them into mandatory build failures. A pattern match alone is insufficient evidence of a defect.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/springboot-best-practices/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/iamp5/springboot-plugin/springboot-best-practices)