spring-boot

spring-boot is a skill for Claude Code from nimadorostkar/Claude-Skills-collection. It costs 75 tokens per session (1,122 once invoked), scanned A, original, MIT.

A set of development guidelines for building services with Spring Boot, a Java framework for backend applications. It covers dependency injection, database transactions, JPA data access, configuration, validation, and focused tests.

In plain words
What is it for?
Use it when creating or reviewing Spring Boot services, setting transaction boundaries, improving JPA queries, validating configuration, and writing tests with focused Spring test slices or Testcontainers.
Why use it?
It helps avoid unclear transaction behavior, slow database access such as fetching one extra query per result, and tests that load more of the application than necessary.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the backend plugin — 11 skills shipped together

Good fit Use it when creating or reviewing Spring Boot services, setting transaction boundaries, improving JPA queries, validating configuration, and writing tests with focused Spring test slices or Testcontainers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nimadorostkar/claude-skills-collection/spring-boot
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add nimadorostkar/Claude-Skills-collection --skill spring-boot
Clone the repo
git clone --depth 1 https://github.com/nimadorostkar/Claude-Skills-collection

Made for: Claude Code.

Or install backend, the plugin that ships this one along with the rest of its 11 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for spring-boot

README.md
[![agentmods](https://agentmods.dev/badge/skills/nimadorostkar/claude-skills-collection/spring-boot/github.svg)](https://agentmods.dev/skills/nimadorostkar/claude-skills-collection/spring-boot)
Your own site
<a href="https://agentmods.dev/skills/nimadorostkar/claude-skills-collection/spring-boot"><img src="https://agentmods.dev/badge/skills/nimadorostkar/claude-skills-collection/spring-boot/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for spring-boot

Your own site · 80×15
<a href="https://agentmods.dev/skills/nimadorostkar/claude-skills-collection/spring-boot"><img src="https://agentmods.dev/badge/skills/nimadorostkar/claude-skills-collection/spring-boot.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,122 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00075 $0.01122
Opus 5.5 $0.00030 $0.00449
Sonnet 5.5 $0.00015 $0.00224
Haiku 4.5 $0.00007 $0.00112

Measured 1mo ago against content hash bab956c17a2b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

spring-boot scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/backend/spring-boot/SKILL.md · 109 lines

How it starts

The opening of the file, as written. The whole thing — 109 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Spring Boot

Purpose

Build Spring Boot services with correct transaction boundaries and a JPA layer that does not issue a hundred queries to render a list. Spring's defaults are safe; its abstractions hide the cost of getting them wrong.

When to Use

  • Building or reviewing a Spring Boot application.
  • Diagnosing lazy-loading exceptions or N+1 query behavior.
  • Getting transaction boundaries and propagation right.
  • Structuring a test suite that is faster than a full context load per class.

Capabilities

  • Constructor injection and bean lifecycle.
  • Declarative transactions: propagation, isolation, rollback rules.
  • JPA/Hibernate: fetch strategies, entity graphs, projections.
  • Configuration properties with validation and profiles.
  • Test slices: @WebMvcTest, @DataJpaTest, Testcontainers.

Inputs

  • The service, its entities, and the slow endpoint if there is one.
  • Database engine and connection pool configuration.

Outputs

  • Services with explicit transaction boundaries.
  • Repositories that fetch exactly what the caller needs.
  • Tests that load the narrowest context that proves the behavior.

Workflow

  1. Use constructor injection — Field injection with @Autowired hides dependencies and makes the class untestable without a container.
  2. Place @Transactional at the service layer — Not on the repository (too narrow, one transaction per call) and not on the controller (too wide, the transaction spans view rendering).
  3. Fetch deliberately — Every association is LAZY. Then use an entity graph or a fetch join for the specific query that needs it, and a DTO projection for read-only views.
  4. Validate configuration at startup — @ConfigurationProperties with @Validated. A missing property should prevent boot, not surface as a null at runtime.
  5. Test in slices — @DataJpaTest for repositories against Testcontainers, @WebMvcTest for controllers with mocked services, @SpringBootTest only for the handful of genuine end-to-end paths.

Read the full file on GitHub · 109 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +45 tokens per session bab956c17a2b
  2. 3mo ago First seen · 109 lines · 30 tokens per session scan A 8e703d182a9d

Subscribe to this mod's changes

spring-boot is a skill published in the GitHub repository nimadorostkar/Claude-Skills-collection (41 stars, last pushed today), licensed MIT. It adds 75 tokens to every session and 1,122 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

spring-boot compared with skills from other repositories

spring-boot next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
spring-bootnimadorostkar/Claude-Skills-collectionSkill41todayMITA75Claude Code
create-pubsub-javadiagrid-labs/dapr-skillsSkill135d agoMITA61Claude Code
create-workflow-javadiagrid-labs/dapr-skillsSkill135d agoMITA45Claude Code
check-prereq-javadiagrid-labs/dapr-skillsSkill135d agoMITA37Claude Code
java-architectJeffallan/claude-skillsSkill13ktodayMITA67Claude Code
spring-boot-engineerJeffallan/claude-skillsSkill13ktodayMITA91Claude Code
remove-deprecated-apiadobe/skillsSkill339todayApache-2.0A174Claude Code