java-spring-boot

java-spring-boot is a skill for Claude Code, Codex from hoangatg/ai-agent-toolkit. It costs 48 tokens per session (571 once invoked), scanned A, original, MIT.

Java and Spring Boot development guidance for backend services and REST APIs. Spring Boot is a Java framework that supplies common application setup, while the guidance covers security, databases, validation, reactive code, and production operations.

In plain words
What is it for?
Use it when building or reviewing enterprise Java services, REST endpoints, Spring Security configuration, JPA/Hibernate models, and automated tests.
Why use it?
It helps organize large Java applications and choose consistent patterns for business logic, data access, security, and testing.

Skill for Claude CodeCodex

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

Good fit Use it when building or reviewing enterprise Java services, REST endpoints, Spring Security configuration, JPA/Hibernate models, and automated tests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hoangatg/ai-agent-toolkit/java-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 hoangatg/ai-agent-toolkit --skill java-spring-boot
Clone the repo
git clone --depth 1 https://github.com/hoangatg/ai-agent-toolkit

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 java-spring-boot

README.md
[![agentmods](https://agentmods.dev/badge/skills/hoangatg/ai-agent-toolkit/java-spring-boot/github.svg)](https://agentmods.dev/skills/hoangatg/ai-agent-toolkit/java-spring-boot)
Your own site
<a href="https://agentmods.dev/skills/hoangatg/ai-agent-toolkit/java-spring-boot"><img src="https://agentmods.dev/badge/skills/hoangatg/ai-agent-toolkit/java-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 java-spring-boot

Your own site · 80×15
<a href="https://agentmods.dev/skills/hoangatg/ai-agent-toolkit/java-spring-boot"><img src="https://agentmods.dev/badge/skills/hoangatg/ai-agent-toolkit/java-spring-boot.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 571 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.
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.00048 $0.00571
Opus 5.5 $0.00019 $0.00228
Sonnet 5.5 $0.00010 $0.00114
Haiku 4.5 $0.00005 $0.00057

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

Security

Grade A, and why

java-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.

.agent/skills/java-spring-boot/SKILL.md · 74 lines

How it starts

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

Java & Spring Boot

Enterprise-grade Java development with Spring Boot 3.x, Spring Security, and modern patterns.

Core Principles

  • Convention over Configuration: Spring Boot auto-configuration
  • Production-Ready: Actuator, health checks, metrics out of the box
  • Type Safety: Leverage Java's strong type system
  • Dependency Injection: Constructor injection preferred

Stack Decisions

Concern Recommended
Build Gradle (Kotlin DSL) or Maven
Java Version 21+ (virtual threads, records, sealed classes)
Framework Spring Boot 3.x
ORM Spring Data JPA + Hibernate
Validation Jakarta Validation (Bean Validation 3.0)
Security Spring Security 6.x
Testing JUnit 5 + Mockito + Testcontainers
API Docs SpringDoc OpenAPI

Project Structure

src/
├── main/
│   ├── java/com/example/app/
│   │   ├── config/           # Configuration classes
│   │   ├── controller/       # REST controllers
│   │   ├── service/          # Business logic
│   │   ├── repository/       # Data access
│   │   ├── model/            # JPA entities
│   │   ├── dto/              # Data transfer objects
│   │   ├── exception/        # Custom exceptions
│   │   └── Application.java  # Entry point
│   └── resources/
│       ├── application.yml
│       └── db/migration/     # Flyway migrations
└── test/

Key Patterns

  • DTO Pattern: Separate API shape from entity shape
  • Service Layer: Business logic in @Service classes
  • Repository Pattern: Spring Data JPA repositories
  • Global Exception Handling: @ControllerAdvice
  • Virtual Threads: spring.threads.virtual.enabled=true

Anti-Patterns

❌ Don't ✅ Do
Business logic in controllers Use service layer
Field injection (@Autowired) Constructor injection
Expose entities in API Use DTOs
Ignore N+1 queries Use @EntityGraph or JOIN FETCH

Read the full file on GitHub · 74 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 First seen · 74 lines · 48 tokens per session scan A 151f60dd24d1

Subscribe to this mod's changes

java-spring-boot is a skill published in the GitHub repository hoangatg/ai-agent-toolkit (1 stars, last pushed 7mo ago), licensed MIT. It adds 48 tokens to every session and 571 once invoked, about $0.0002 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-09-03.

Related

Other skills, from other repositories

springboot-patterns

Spring Boot architecture patterns, REST API design, layered services, data access, caching, async processing, and logging. Use for Java Spring Boot backend work.

deepelementlab/jupyter-studio · 36 tokens

java-spring-best-practices

Enterprise-grade Spring Boot 3.5.x/4.x development guide. Use when building Spring Boot APIs, microservices, or enterprise Java applications. Covers Java Records as DTOs, Virtual Threads, ProblemDetail (RFC 7807), RestClient, structured logging, Testcontainers, observability, sealed exception hierarchies, and GraalVM…

cosbort/agent-skills · 104 tokens

spring-boot-in-action

Write and review Spring Boot applications using practices from "Spring Boot in Action" by Craig Walls. Covers auto-configuration, starter dependencies, externalizing configuration with properties and profiles, Spring Security, testing with MockMvc and @SpringBootTest, Spring Actuator for production observability, and…

booklib-ai/booklib · 161 tokens

java-coding-standards

Java coding standards for Spring Boot services: naming, immutability, Optional usage, streams, exceptions, generics, and project layout.

hashgraph-online/awesome-codex-plugins · 35 tokens

java-spring-development

Java Spring Boot development guidelines with best practices for building robust, secure, and maintainable enterprise applications.

Mindrally/skills · 24 tokens

java-coding-standards

A set of Java coding standards for Spring Boot services, covering naming, immutable data, optional values, streams, and exceptions.

loulanyue/awesome-claude-notes · 50 tokens