
Java Spring Boot
Scaffold and implement production Spring Boot backends—REST APIs, Security, Data, Actuator, and Cloud modules—with Spring Boot 3.x-oriented patterns.
Overview
Java Spring Boot is an agent skill for the Build phase that helps solo builders create production-ready Spring Boot applications including REST APIs, security, data access, Actuator, and cloud integration.
Install
npx skills add https://github.com/pluginagentmarketplace/custom-plugin-java --skill java-spring-bootWhat is this skill?
- REST APIs with @RestController, validation, and @ControllerAdvice exception handling
- Spring Security: SecurityFilterChain, OAuth2, and JWT authentication patterns
- Spring Data access, profiles, auto-configuration, and Actuator monitoring hooks
- Parameterized focus modules: web, security, data, actuator, cloud (spring_version default 3.2)
- Allowed-tools: Read, Write, Bash, Glob, Grep for repo-grounded implementation
- 5 module enum focuses: web, security, data, actuator, cloud
- Default spring_version parameter 3.2; skill version 3.0.0
Adoption & trust: 11k installs on skills.sh; 37 GitHub stars; 3/3 security scanners passed (skills.sh audits).
What problem does it solve?
You need a Spring Boot API or service with credible security, data, and ops hooks but do not want to assemble scattered Stack Overflow fragments by hand.
Who is it for?
Solo builders shipping JVM backends, internal APIs, or SaaS services who standardize on Spring Boot 3.2+.
Skip if: Greenfield projects committed to serverless-only or non-JVM stacks, or teams wanting frontend-only scaffolding without a Java codebase.
When should I use this skill?
Create REST APIs with Spring MVC/WebFlux, configure Spring Security (OAuth2, JWT), set up Spring Data, enable Actuator monitoring, or integrate Spring Cloud.
What do I get? / Deliverables
You get Spring Boot 3.x-aligned code and configuration for the chosen module focus—web, security, data, actuator, or cloud—ready to extend in your repository.
- REST controllers and DTO validation patterns
- SecurityFilterChain and auth configuration snippets
- Data layer and Actuator-ready application configuration
Recommended Skills
Journey fit
Build is where JVM services, APIs, and persistence layers are authored; this skill targets that implementation work directly. Backend is the canonical shelf for REST controllers, Spring Data, security chains, and service configuration—not frontend or release automation alone.
How it compares
Use as a Spring Boot–specific implementation guide inside your agent—not a generic REST tutorial skill or an MCP server.
Common Questions / FAQ
Who is java-spring-boot for?
Solo and indie developers using coding agents to build Spring Boot 3.x services with REST, security, persistence, and production monitoring patterns.
When should I use java-spring-boot?
During Build backend work when creating REST APIs, configuring OAuth2/JWT security, wiring Spring Data, enabling Actuator, or starting Spring Cloud integration in an existing or new Java repo.
Is java-spring-boot safe to install?
It can read, write, and run shell commands in your project; review the Security Audits panel on this Prism page and restrict agent permissions in untrusted repos.
SKILL.md
READMESKILL.md - Java Spring Boot
# Java Spring Boot Skill Build production-ready Spring Boot applications with modern best practices. ## Overview This skill covers Spring Boot development including REST APIs, security configuration, data access, actuator monitoring, and cloud integration. Follows Spring Boot 3.x patterns with emphasis on production readiness. ## When to Use This Skill Use when you need to: - Create REST APIs with Spring MVC/WebFlux - Configure Spring Security (OAuth2, JWT) - Set up database access with Spring Data - Enable monitoring with Actuator - Integrate with Spring Cloud ## Topics Covered ### Spring Boot Core - Auto-configuration and starters - Application properties and profiles - Bean lifecycle and configuration - DevTools and hot reload ### REST API Development - @RestController and @RequestMapping - Request/response handling - Validation with Bean Validation - Exception handling with @ControllerAdvice ### Spring Security - SecurityFilterChain configuration - OAuth2 and JWT authentication - Method security (@PreAuthorize) - CORS and CSRF configuration ### Spring Data JPA - Repository pattern - Query methods and @Query - Pagination and sorting - Auditing and transactions ### Actuator & Monitoring - Health checks and probes - Metrics with Micrometer - Custom endpoints - Prometheus integration ## Quick Reference ```java // REST Controller @RestController @RequestMapping("/api/users") @Validated public class UserController { @GetMapping("/{id}") public ResponseEntity<User> getUser(@PathVariable Long id) { return userService.findById(id) .map(ResponseEntity::ok) .orElse(ResponseEntity.notFound().build()); } @PostMapping public ResponseEntity<User> createUser(@Valid @RequestBody UserRequest request) { User user = userService.create(request); URI location = URI.create("/api/users/" + user.getId()); return ResponseEntity.created(location).body(user); } } // Security Configuration @Configuration @EnableWebSecurity public class SecurityConfig { @Bean public SecurityFilterChain filterChain(HttpSecurity http) throws Exception { return http .csrf(csrf -> csrf.disable()) .sessionManagement(s -> s.sessionCreationPolicy(STATELESS)) .authorizeHttpRequests(auth -> auth .requestMatchers("/actuator/health/**").permitAll() .requestMatchers("/api/public/**").permitAll() .anyRequest().authenticated()) .oauth2ResourceServer(oauth2 -> oauth2.jwt(Customizer.withDefaults())) .build(); } } // Exception Handler @RestControllerAdvice public class GlobalExceptionHandler { @ExceptionHandler(EntityNotFoundException.class) public ProblemDetail handleNotFound(EntityNotFoundException ex) { return ProblemDetail.forStatusAndDetail(NOT_FOUND, ex.getMessage()); } } ``` ## Configuration Templates ```yaml # application.yml spring: application: name: ${APP_NAME:my-service} profiles: active: ${SPRING_PROFILES_ACTIVE:local} jpa: open-in-view: false properties: hibernate: jdbc.batch_size: 50 management: endpoints: web: exposure: include: health,info,metrics,prometheus endpoint: health: probes: enabled: true server: error: include-stacktrace: never ``` ## Common Patterns ### Layer Architecture ``` Controller → Service → Repository → Database ↓