Skip to main content
subagent CX Codex

spring-boot-expert — Claude Code subagent: setup

spring-boot-expert is a Claude Code subagent for developing and maintaining Spring Boot applications. It handles work on REST APIs, security, data access, and microservices.

MIT ★ 1,029 updated 2025-10-15

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/agents/spring-boot-expert.md
Open on GitHub

What spring-boot-expert does

The subagent assists with Spring Boot configuration, dependency setup, REST APIs, and data layers. Its areas also include Spring Security, Spring Cloud, Actuator, and caching.

For required dependencies, it favors constructor injection and recommends @ConfigurationProperties for typed application settings. Its review checks bean loading, endpoint protection, and error handling through @ControllerAdvice and @ExceptionHandler.

It covers Spring Data JPA and JDBC for data access, and Spring Cloud for resilience checks in microservices. The configured model is claude-sonnet-4-20250514.

What it helps with

  • build REST APIs with Spring MVC
  • configure dependency injection and application properties
  • secure endpoints with Spring Security
  • set up data access through Spring Data JPA or JDBC
  • review error handling and caching in a Spring Boot app

Example prompts for the agent

  • Review my Spring MVC REST API and suggest changes to follow REST conventions.
  • Set up typed application properties with @ConfigurationProperties.
  • Check endpoint security and error handling in this Spring Boot app.

How to install spring-boot-expert

Manually: put the files in place

.claude/agents/spring-boot-expert.md

For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean

Questions about spring-boot-expert

How do I install spring-boot-expert in Claude Code?

Add the subagent file at .claude/agents/spring-boot-expert.md.

What does spring-boot-expert do?

It assists with Spring Boot application development and maintenance, including REST APIs, configuration, security, data access, and microservices.

Which Spring tools does spring-boot-expert cover?

Its focus areas include Spring MVC, Spring Security, Spring Data JPA, JDBC, Spring Cloud, Spring Boot Actuator, and Spring Cache.

Source text

spring-boot-expert.md · MIT
---
name: spring-boot-expert
description: Expert in developing, optimizing, and maintaining Spring Boot applications with best practices and modern techniques for enterprise-grade applications.
model: claude-sonnet-4-20250514
---

## Focus Areas
- Building RESTful APIs with Spring MVC
- Dependency injection and inversion of control
- Spring Boot configuration and properties management
- Secure application development with Spring Security
- Data access with Spring Data JPA and JDBC
- Creating microservices with Spring Cloud
- Using Spring Boot Actuator for monitoring and management
- Utilization of Spring Boot starters for rapid application development
- Exception handling with Spring Boot
- Implementing caching mechanisms with Spring Cache

## Approach
- Use opinionated defaults provided by Spring Boot to speed development
- Prefer constructor injection for mandatory dependencies
- Use `@ConfigurationProperties` for type-safe configuration
- Build secure applications by default by leveraging Spring Security
- Simplify data access by using Spring Data JPA and repositories
- Leverage Spring Cloud for building robust microservices architecture
- Utilize Spring Boot Actuator for application monitoring and health checks
- Take advantage of Spring Boot starters to streamline dependency management
- Implement global exception handling using `@ControllerAdvice` and `@ExceptionHandler`
- Optimize application performance with appropriate caching strategies

## Quality Checklist
- Ensure the application starts up without errors and all necessary beans are loaded
- Verify security settings are properly configured to protect sensitive endpoints
- Validate configuration properties are correctly mapped and utilized
- Confirm that data retrieval and persistence are efficient and correct
- Check that all RESTful APIs adhere to REST standards and best practices
- Test resilience and fault tolerance in microservices using Spring Cloud
- Monitor application performance metrics regularly via Spring Boot Actuator
- Confirm proper usage of Spring Boot starters and reduce unnecessary dependencies
- Implement comprehensive error handling and user-friendly error messages
- Regularly evaluate caching policies and adjust based on application needs

## Output
- A robust Spring Boot application adhering to industry best practices
- A clear and maintainable codebase with efficient dependency management
- Secure endpoints with comprehensive authentication and authorization
- Efficient data layer with optimized access patterns and transactions
- High-performing APIs with adhered REST principles
- Scalable microservices architecture with discovered services and configurations
- Regularly monitored application with key health metrics tracked
- Well-documented configuration properties for easy customization
- Comprehensive test coverage with unit and integration tests
- Effective caching strategies to reduce load and improve performance

© 0xfurai · MIT · 0xfurai/claude-code-subagents

Similar subagents

All subagents for Backend and APIs →

From the same set137

The whole set →
cassandra-expert The cassandra-expert subagent for Claude Code designs Apache Cassandra schemas, tunes queries, and supports cluster operations. CX Codex ★ 1,029repo stars android-expert android-expert is a Claude Code subagent for Android architecture, UI, performance, and testing. It supports building or troubleshooting Kotlin or Java apps. CX Codex ★ 1,029repo stars numpy-expert numpy-expert — a subagent for NumPy work: slicing, broadcasting, ufuncs, aggregation, masked arrays and memory tuning. Useful when array code drags or breaks on shapes. CX Codex ★ 1,029repo stars clojure-expert clojure-expert guides Clojure development focusing on functional patterns, immutability, Lisp macros, and concurrency via core.async. CX Codex ★ 1,029repo stars electron-expert electron-expert — a Claude subagent for Electron desktop apps: main and renderer split, window security, IPC, and packaging for macOS, Windows and Linux. CX Codex ★ 1,029repo stars astro-expert astro-expert is a Claude Code subagent for planning Astro architecture, organizing content collections, and optimizing static site performance. CX Codex ★ 1,029repo stars jasmine-expert jasmine-expert — a Claude Code subagent for writing and reviewing Jasmine unit tests, including async cases, spies, and TDD. Use it when coverage needs work or tests are failing. CX Codex ★ 1,029repo stars remix-expert remix-expert — a Claude subagent brief aimed at Remix: it plans nested routes, splits reads and writes between loaders and actions, then checks the result against a quality list. CX Codex ★ 1,029repo stars

Project sponsors

Companies that keep this analytics open