Skip to main content

Tools (16)

All tools are deterministic — no LLM calls, no API keys needed. The LLM comes from your CLI.

Scaffolding

ToolDescription
create_projectScaffold a new Spring Boot project from a template. Parameters: name, groupId, outputDir, template (optional), javaVersion (optional)
list_templatesList all available project templates with descriptions

Dependencies

ToolDescription
add_dependencyAdd a Maven dependency. Parameters: projectDir, groupId, artifactId, version (optional), scope (optional)
remove_dependencyRemove a Maven dependency. Parameters: projectDir, groupId, artifactId

Configuration

ToolDescription
set_java_versionSet the Java version in pom.xml
add_actuatorAdd Spring Boot Actuator for health checks and metrics
add_securityAdd Spring Security with sensible defaults
add_native_imageConfigure GraalVM native image support
remove_native_imageRemove native image configuration
add_spring_formatAdd Spring Java Format plugin
add_basic_ciGenerate GitHub Actions CI workflow
add_multi_arch_ciGenerate multi-architecture CI workflow
clean_pomClean and normalize pom.xml

Discovery

ToolDescription
search_startersSearch Spring Boot starters by keyword
configureGet/set Bud preferences (Java version, Boot version, groupId, etc.)

Analysis

ToolDescription
analyze_projectAnalyze an existing Spring Boot project — dependencies, structure, test coverage

Templates (8)

All templates target Spring Boot 4.1.0-M2 and produce projects that compile with passing tests.

spring-boot-minimal

Bare Spring Boot application with main class and a single test. Use as a starting point when you want to add dependencies yourself.

spring-boot-rest

REST API with GreetingController, GreetingService, ProblemDetail error handling, and @WebMvcTest slice tests.

spring-boot-jpa

JPA application with Customer entity, CustomerRepository, CustomerService, CustomerController, @DataJpaTest repository tests, and @WebMvcTest controller tests. Uses H2 in-memory database.

spring-boot-security

REST API with Spring Security. Public, authenticated, and admin endpoints. ProblemDetail 401/403 responses. @WithMockUser security tests.

spring-boot-actuator

REST API with Actuator health checks and a custom GreetingHealthIndicator. Actuator endpoint tests verify health and info endpoints.

spring-boot-scheduling

Scheduled background tasks with @Scheduled methods, error handling, and failure tracking. Tests verify scheduling behavior.

spring-boot-batch

Spring Batch CSV-to-database processing with skip/retry policies and JobCompletionListener. Uses Spring Batch 6 package relocations for Spring Boot 4.

spring-ai-app

Spring AI chatbot with AssistantService. Demonstrates Spring AI integration patterns.

Preferences

Stored at ~/.config/bud/preferences.yml:
javaVersion: "21"
bootVersion: "4.1.0-M2"
groupId: "com.example"
alwaysAdd: ["actuator", "devtools"]
preferDatabase: "postgresql"
Use the configure tool to get/set these values.