Agent skill

Spring Boot Idioms

by irahardianto in irahardianto/awesome-agv

Spring Boot 3.x framework patterns: constructor-based DI, Spring Data JPA, REST controllers with RFC 7807 error handling, Actuator observability, and slice testing.

MITAuto-check passedBackend & APIs

Install Spring Boot Idioms

skills CLI
$ npx skills add irahardianto/awesome-agv --skill spring-boot-idioms -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install irahardianto/awesome-agv spring-boot-idioms --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/irahardianto/awesome-agv.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/spring-boot-idioms .claude/skills/spring-boot-idioms && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
spring-boot-idioms
GitHub stars
156
Token cost
~794 tokens
SKILL.md length
145 words
Files
1
Skills in repo
34
Repo updated
First seen
Licence
MIT

At a glance

Spring Boot 3.x framework patterns: constructor-based DI, Spring Data JPA, REST controllers with RFC 7807 error handling, Actuator observability, and slice testing.

  • Works in 2 steps: Constructor injection only — never field… → @ConfigurationProperties over @Value for…
  • Maintaining Spring Boot microservices
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Tasks that involve Backend development

What it does

Spring Boot Idioms is an agent skill from irahardianto/awesome-agv. Spring Boot 3.x framework patterns: constructor-based DI, Spring Data JPA, REST controllers with RFC 7807 error handling, Actuator observability, and slice testing. Use when building or maintaining Spring Boot microservices. Pair with java-idioms.

Its SKILL.md is about 790 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Backend & APIs, covering Backend development, Observability and Microservices. It works with Spring Boot and Java. The repository describes itself as: Comprehensive sets of standards and practices designed to elevate the capabilities of AI coding agents. The licence is MIT.

When your agent uses it

  • Maintaining Spring Boot microservices
  • Tasks that involve Backend development
  • Tasks that involve Observability

Example prompts

  • “/spring-boot-idioms”

Workflow steps

2 steps, taken from the first numbered list in SKILL.md.

  1. Constructor injection only — never field injection
  2. @ConfigurationProperties over @Value for typed config.

What it can do on your machine

Read from SKILL.md and the folder at commit 9e997ba. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are java).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Spring Boot Idioms loads about 794 tokens when it runs. Until then it costs about 67 tokens; SKILL.md has 145 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~67
When it runs · the whole SKILL.md, loaded when a task matches
~794

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from irahardianto/awesome-agv at commit 9e997ba, republished under its MIT licence (© irahardianto). 145 words, ~794 tokens.

Download SKILL.mdSave it as .claude/skills/spring-boot-idioms/SKILL.md (or your agent's skills folder).
name
spring-boot-idioms
description
Spring Boot 3.x framework patterns: constructor-based DI, Spring Data JPA, REST controllers with RFC 7807 error handling, Actuator observability, and slice testing. Use when building or maintaining Spring Boot microservices. Pair with java-idioms.

Spring Boot Idioms and Patterns

Spring Boot (3.x) rewards auto-configuration, constructor injection, and actuator-driven observability. Idiomatic Spring = annotation-driven, testable, production-ready.

Scope: Spring Boot-specific patterns. For Java: @.agents/skills/java-idioms/SKILL.md.

Dependency Injection
  1. Constructor injection only — never field injection:

    java
    @Service
    public class TaskService {
        private final TaskRepository repository;
        private final TaskMapper mapper;
    
        public TaskService(TaskRepository repository, TaskMapper mapper) {
            this.repository = repository;
            this.mapper = mapper;
        }
    }
  2. @ConfigurationProperties over @Value for typed config.

Spring Data JPA
  1. Query methods for simple queries:

    java
    interface TaskRepository extends JpaRepository<Task, UUID> {
        List<Task> findByStatusOrderByCreatedAtDesc(TaskStatus status);
        @Query("SELECT t FROM Task t WHERE t.priority = :priority AND t.status = 'ACTIVE'")
        List<Task> findActivByPriority(@Param("priority") Priority priority);
    }
  2. Projections for read-only views — avoid loading full entities.

  3. @Transactional on service methods, never on repositories.

REST Controllers
  1. @RestController + DTOs — never expose entities directly:

    java
    @RestController
    @RequestMapping("/api/v1/tasks")
    public class TaskController {
        @PostMapping
        @ResponseStatus(HttpStatus.CREATED)
        public TaskResponse create(@Valid @RequestBody CreateTaskRequest request) {
            return taskService.create(request);
        }
    }
  2. @ControllerAdvice for global exception handling.

Actuator and Observability
  1. Actuator endpoints enabled for health, metrics, info.
  2. Micrometer for custom metrics.
  3. Structured logging with MDC for correlation IDs.
Testing

For universal testing principles, see .agents/rules/testing-strategy.md. Below: language-specific patterns only.

  1. @SpringBootTest for integration, @WebMvcTest for controller slices:

    java
    @WebMvcTest(TaskController.class)
    class TaskControllerTest {
        @Autowired MockMvc mockMvc;
        @MockBean TaskService taskService;
    
        @Test
        void createTask_returns201() throws Exception {
            mockMvc.perform(post("/api/v1/tasks")
                .contentType(MediaType.APPLICATION_JSON)
                .content("{\"title\":\"Test\",\"priority\":\"HIGH\"}"))
                .andExpect(status().isCreated());
        }
    }
  2. TestContainers for database integration tests.

  • Java Idioms @.agents/skills/java-idioms/SKILL.md
  • Database Design Principles @.agents/rules/database-design-principles.md
  • API Design Principles @.agents/rules/api-design-principles.md

© irahardianto, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/spring-boot-idioms of irahardianto/awesome-agv.

Open the folder on GitHubat commit 9e997ba

Compare with similar skills

Spring Boot Idioms next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Spring Boot Idioms compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Spring Boot Idioms this skillirahardianto/awesome-agv156—~794Automated safety check: PassMIT
Dr Jskilljdubois/dr-jskill342—~4.6kAutomated safety check: NotesApache-2.0
Java ArchitectJeffallan/claude-skills12k—~1.5kAutomated safety check: PassMIT
Spring Boot EngineerJeffallan/claude-skills12k—~1.9kAutomated safety check: PassMIT
Senior Javabenchflow-ai/skillsbench1.8k—~5kAutomated safety check: PassMIT
Spring Boot Project Creatorgiuseppe-trisciuoglio/developer-kit357—~3.4kAutomated safety check: NotesMIT

Similar skills

  • Dr Jskill

    jdubois/dr-jskill

    Creates Java + Spring Boot projects: Web applications, full-stack apps with Vue.js or Angular or React or vanilla JS, PostgreSQL, REST APIs, and Docker.

    342 GitHub stars~4.6k tokensUpdated 11 days ago
    Backend & APIsAuto-check: notes
  • Java Architect

    Jeffallan/claude-skills

    Builds Spring Boot 3.x services on Java 21 with domain-driven design, WebFlux, JPA tuning and Spring Security using OAuth2 and JWT, verified by Maven or Gradle builds.

    12k GitHub stars~1.5k tokensUpdated 7 days ago
    Backend & APIsAuto-check passed
  • Spring Boot Engineer

    Jeffallan/claude-skills

    Builds Spring Boot 3.x services with REST controllers, Spring Data JPA, Spring Security 6, WebFlux and Spring Cloud, verified by tests and Actuator health checks.

    12k GitHub stars~1.9k tokensUpdated 7 days ago
    Backend & APIsAuto-check passed
  • Senior Java

    benchflow-ai/skillsbench

    World-class Java and Spring Boot development skill for enterprise applications, microservices, and cloud-native systems.

    1.8k GitHub stars~5k tokensUpdated 2 mo ago
    Backend & APIsAuto-check passed
  • Spring Boot Project Creator

    giuseppe-trisciuoglio/developer-kit

    Creates and scaffolds a new Spring Boot project (3.x or 4.x) by downloading from Spring Initializr, generating package structure (DDD or Layered architecture), configuring JPA, SpringDoc OpenAPI…

    357 GitHub stars~3.4k tokensUpdated 1 mo ago
    Backend & APIsAuto-check: notes
  • Otel Java

    ollygarden/opentelemetry-agent-skills

    OpenTelemetry in Java — Javaagent zero-code instrumentation, Spring Boot Starter, manual autoconfigure SDK, declarative YAML configuration, BOM dependency management, sensitive-data capture and…

    106 GitHub stars~1.4k tokensUpdated today
    DevOps & CloudAuto-check passed

More from irahardianto/awesome-agv

All 34 skills in this repo
  • Distinctive Frontend Design Builder

    irahardianto/awesome-agv

    Commits to one bold aesthetic direction, sets up a CSS token system for it, then builds the interface in Vue or plain HTML using those tokens.

    156 GitHub stars~2.4k tokensUpdated 5 days ago
    Auto-check passed
  • Perf Optimization

    irahardianto/awesome-agv

    Profile-driven performance optimization protocol. An agent skill from irahardianto/awesome-agv.

    156 GitHub stars~4.3k tokensUpdated 5 days ago
    Auto-check passed
  • Angular Idioms and Patterns

    irahardianto/awesome-agv

    Coding conventions for Angular 19 and later: standalone components, signals, OnPush change detection, lazy routes and where RxJS still belongs.

    156 GitHub stars~3.8k tokensUpdated 5 days ago
    Auto-check passed
  • CI/CD Pipeline Principles

    irahardianto/awesome-agv

    Rules for designing CI/CD pipelines in layers: universal lint, test and scan stages, container builds with SBOM attestation, and GitOps for orchestrated deployments.

    156 GitHub stars~2.7k tokensUpdated 5 days ago
    Auto-check: notes
  • Hono Idioms

    irahardianto/awesome-agv

    Hono lightweight web framework patterns: type-safe route handlers, middleware composition, Zod validation, and RPC clients for Cloudflare Workers, Node, or Bun.

    156 GitHub stars~3k tokensUpdated 5 days ago
    Auto-check passed
  • Mobile Testing

    irahardianto/awesome-agv

    Mobile E2E testing patterns — Flutter integrationtest, Patrol, Maestro, golden testing, device matrix, and test data management.

    156 GitHub stars~1.8k tokensUpdated 5 days ago
    Auto-check: notes

Works with

Categories

Questions about Spring Boot Idioms

What does Spring Boot Idioms do?

Spring Boot 3.x framework patterns: constructor-based DI, Spring Data JPA, REST controllers with RFC 7807 error handling, Actuator observability, and slice testing. Spring Boot Idioms is an agent skill from irahardianto/awesome-agv.x framework patterns: constructor-based DI, Spring Data JPA, REST controllers with RFC 7807 error handling, Actuator observability, and slice testing.

When should I use Spring Boot Idioms?

Spring Boot Idioms fits situations like: maintaining Spring Boot microservices; tasks that involve Backend development; tasks that involve Observability.

How do I install Spring Boot Idioms in Claude Code?

Run `npx skills add irahardianto/awesome-agv --skill spring-boot-idioms -a claude-code`. Or copy the skill folder (.agents/skills/spring-boot-idioms in irahardianto/awesome-agv) into .claude/skills/spring-boot-idioms in your project. Claude Code loads it when a task matches its description.

How do I install Spring Boot Idioms in Codex?

Run `npx skills add irahardianto/awesome-agv --skill spring-boot-idioms -a codex`. Or copy the skill folder (.agents/skills/spring-boot-idioms in irahardianto/awesome-agv) into .agents/skills/spring-boot-idioms in your project. Codex loads it when a task matches its description.

Can I use Spring Boot Idioms in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add irahardianto/awesome-agv --skill spring-boot-idioms -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/spring-boot-idioms, .gemini/skills/spring-boot-idioms, .github/skills/spring-boot-idioms and .opencode/skills/spring-boot-idioms in your project.

What does Spring Boot Idioms need to run?

SKILL.md names no scripts, command-line tools or credentials: Spring Boot Idioms is instructions for the agent only.

Does Spring Boot Idioms access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Spring Boot Idioms safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Spring Boot Idioms use?

Spring Boot Idioms is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Spring Boot Idioms use?

About 794 tokens (SKILL.md is roughly 3.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Spring Boot Idioms?

Skills that share tags, products or a category with Spring Boot Idioms: Dr Jskill (jdubois/dr-jskill, 342 stars), Java Architect (Jeffallan/claude-skills, 12k stars), Spring Boot Engineer (Jeffallan/claude-skills, 12k stars) and Senior Java (benchflow-ai/skillsbench, 1.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Spring Boot Idioms?

irahardianto (a GitHub user) maintains it in irahardianto/awesome-agv, which has 156 GitHub stars. The repository holds 34 skills in this directory. The repository was last updated on October 5, 2026.

Source: irahardianto/awesome-agv on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.