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.

Development / Backenddevelopmentbackend
by AgentVoltv1.0.0Published 1y ago1 install
Free to sign up · every skill included with AgentVolt Pro

Before & after

Same prompt, same agent — the only difference is the skill.

PromptAdd JWT auth to my Spring Boot API.
Beforegeneric AI agent
Here's how you can add JWT authentication to your Spring Boot application:

First, you'll need to add the JWT dependency to your pom.xml. Then create a JwtUtil class to generate and validate tokens.

You'll also want to create a filter that extends OncePerRequestFilter to intercept requests and validate the token.

Finally, configure your SecurityConfig to use the filter. Note that WebSecurityConfigurerAdapter is deprecated in newer versions, so you may need to adjust depending on your Spring Security version.

Let me know if you'd like me to expand on any of these steps!
Afterwith Spring Boot Engineer
Spring Security 6 — no WebSecurityConfigurerAdapter (removed in 6.x). SecurityFilterChain bean instead.

SecurityConfig.java
  @Bean SecurityFilterChain filterChain(HttpSecurity http)
    .csrf(AbstractHttpConfigurer::disable)
    .sessionManagement(s -> s.sessionCreationPolicy(STATELESS))
    .authorizeHttpRequests(a -> a
        .requestMatchers("/api/auth/**").permitAll()
        .anyRequest().authenticated())
    .addFilterBefore(jwtFilter, UsernamePasswordAuthenticationFilter.class)

JwtAuthFilter.java  extends OncePerRequestFilter
  Reads Authorization: Bearer, validates, sets SecurityContextHolder.
  Skips the chain on a malformed header rather than throwing — a bad token
  is a 401, not a 500.

JwtService.java
  HS256, secret from application.yml (not hardcoded), 15-min access token.

application.yml
  jwt.secret: ${JWT_SECRET}
  jwt.expiration: 900000

TWO THINGS THAT BITE ON 3.x
• spring-boot-starter-security pulls Security 6 — the old adapter class is
  gone entirely, not deprecated. Guides written for Boot 2.x won't compile.
• @EnableGlobalMethodSecurity is replaced by @EnableMethodSecurity.

Want the refresh-token rotation endpoint or the JPA UserDetailsService next?

About this skill


name: spring-boot-engineer description: Use when 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.

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 JPA, Spring Security 6, WebFlux, Spring Cloud integration, Java REST API design, or Microservices Java architecture.

What you get

  • Public GitHub repo
  • the skills/spring-boot-engineer folder with SKILL.md and references.

Customize your output

  • Fork the repo and extend the skill's reference files for your own stack conventions.

Example output

Activates on a matching request (e.g. building or reviewing Spring Boot Engineer code) and can chain with other skills in the pack.

Best for

Full-stack developers and engineering teams using Claude Code.

SKILL.md preview

SKILL.md
---
name: spring-boot-engineer
description: Use when building Spring Boot 3.x applications, REST APIs, microservices, or reactive Java systems needing Spring Security, JPA, or WebFlux.
version: 1.0.0
category: Development / Backend
author: AgentVolt
license: proprietary
tags:
  - development
  - backend
---

# Spring Boot Engineer

Generates production-grade Spring Boot 3.x configuration, REST controllers, security flows, and reactive endpoints.

## When to use

… (sign up to view the full skill)
Sign up to view, copy, and install the full skill

More development skills

View all Development skills →