Agent skill
spring-boot-helper
Expert knowledge of Spring Boot 4 and Spring AI 2.0 including auto-configuration, ChatClient, advisors, tool calling, agent patterns, and Spring Framework 7 features. Use when the user asks about Spring Boot, Spring AI, dependency injection, REST APIs, agent configuration, or Spring ecosystem questions.
Install this agent skill to your Project
npx add-skill https://github.com/diegopacheco/ai-playground/tree/main/pocs/java-25-spring-boot-4-spring-ai-skills/src/main/resources/.claude/skills/spring-boot-helper
SKILL.md
Spring Boot 4 & Spring AI 2.0 Helper Skill
Overview
Provides expert guidance on Spring Boot 4, Spring Framework 7, and Spring AI 2.0.
Spring Boot 4 Key Changes
- Requires Java 17+ (Java 25 fully supported)
- Built on Spring Framework 7
- Jakarta EE 11 namespace (
jakarta.*everywhere) - Virtual threads auto-configured via
spring.threads.virtual.enabled=true
Spring AI 2.0 ChatClient
ChatClient chatClient = chatClientBuilder
.defaultSystem("You are a helpful assistant")
.defaultTools(myTool)
.build();
String response = chatClient.prompt()
.user("Hello!")
.call()
.content();
Tool Calling
@Bean
@Description("Get the current weather for a city")
public Function<WeatherRequest, WeatherResponse> weatherFunction() {
return request -> new WeatherResponse(72.0, "sunny");
}
Advisors
MessageChatMemoryAdvisor- conversation memoryToolCallAdvisor- tool execution- Custom advisors implement
CallAroundAdvisor
Agent Patterns
- Skill-based agents: Use SkillsTool with Markdown skill files
- Sub-agents: Delegate tasks via TaskTool to specialized models
- Memory: MessageWindowChatMemory for conversation history
Auto-configuration
- Set
OPENAI_API_KEYenv var - Property:
spring.ai.openai.chat.options.model=gpt-4o
Virtual Threads with Spring Boot 4
spring.threads.virtual.enabled=true
Automatically uses virtual threads for Tomcat and @Async tasks.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
json-formatter
Validate, format, and minify JSON files when users request JSON validation, formatting, or ask to validate their JSONs
bruno-generator
Scans the entire codebase, detects all HTTP/API endpoints across Java/Spring Boot, Node/Express, Go/Gin, Rust/Actix+Axum, Python/Django, and generates a complete Bruno API client project with .bru files, sample requests, and environments.
infra-automation-generator
leak-detect
Scan code for leaked PII, secrets/credentials, and security vulnerabilities that would get you hacked in production.
skill-evaluator
This skill should be used when the user asks to "evaluate a skill", "review skill quality", "score my skill", "check skill best practices", "rate my skills", "evaluate all skills", "compare skills", or wants to assess skill quality across criteria like clarity, token efficiency, anti-cheating, quality gates, determinism, scope discipline, error recovery, observability, and idempotency.
metrics-report
Scan an entire codebase, discover and run all test types, compute hybrid coverage, evaluate quality, and generate a full metrics report website with trends and charts.
Didn't find tool you were looking for?