spring-boot

spring-boot is a skill for Claude Code, Codex from nimadorostkar/Claude-Skills-collection. It costs 30 tokens per session (1,077 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 CodeCodex

Written for no agent in particular: nothing here depends on one.

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, Codex.

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 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,077 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.00030 $0.01077
Opus 5 $0.00015 $0.00539
Sonnet 5 $0.00006 $0.00215
Haiku 4.5 $0.00003 $0.00108

Measured 11d ago against content hash 8e703d182a9d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, 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 11d 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. 11d 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 (26 stars, last pushed 23d ago), licensed MIT. It adds 30 tokens to every session and 1,077 once invoked, about $0.0002 per session on Opus 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

Other skills, from other repositories

spring-boot-engineer

Generates Spring Boot 3.x configurations, creates REST controllers, implements Spring Security 6 authentication flows, sets up Spring Data JPA repositories, and configures reactive WebFlux endpoints. Use when building Spring Boot 3.x applications, microservices, or reactive Java applications; invoke for Spring Data…

Jeffallan/claude-skills · 91 tokens

java-architect

Use when building, configuring, or debugging enterprise Java applications with Spring Boot 3.x, microservices, or reactive programming. Invoke to implement WebFlux endpoints, optimize JPA queries and database performance, configure Spring Security with OAuth2/JWT, or resolve authentication issues and async processing…

Jeffallan/claude-skills · 67 tokens

authoring-java-sdk-tasks

Writes Airflow task logic in Java, Kotlin, or any JVM language using the Airflow Java SDK. Use when the user wants to implement Airflow tasks in Java/JVM, asks about @Builder.Dag/@Builder.Task/@Builder.XCom, the Task/BundleBuilder interfaces, reading connections/variables/XComs from Java, the JSON-to-Java type…

astronomer/agents · 152 tokens

remove-deprecated-api

AEM Cloud Service expert skill — migrate deprecated and removed Java APIs to comply with AEM as a Cloud Service enforcement policies. Detection is plugin-driven, not table-driven: the skill runs the AEM Analyser Maven Plugin (com.adobe.aem:aemanalyser-maven-plugin) at its latest published version against the project…

adobe/skills · 174 tokens

outbound-call-timeouts

AEM Cloud Service expert skill — add explicit connect/read/socket timeouts to outbound HTTP clients constructed without one (Apache HttpClient 4.x/5.x, OkHttp, JDK java.net.http.HttpClient), including the JDK per-request read timeout on HttpRequest. Use for "add HTTP timeouts", "this external/outbound call has no…

adobe/skills · 151 tokens

inject-in-sling-model

AEM Cloud Service expert skill — migrate javax.inject.@Inject fields in Sling Model (@Model) classes to injector-specific annotations (@ValueMapValue / @OSGiService / @SlingObject). Self-discoverable (scan for @Model classes with field-level @Inject); the replacement is chosen deterministically from each field's…

adobe/skills · 126 tokens