From aj-geddes-useful-ai-prompts-4
Builds enterprise Spring Boot applications with annotations, dependency injection, JPA persistence, REST controllers, and Spring Security. Use when developing Spring Boot REST APIs or microservices.
How this skill is triggered — by the user, by Claude, or both
Slash command
/aj-geddes-useful-ai-prompts-4:spring-boot-applicationThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- [Overview](#overview)
references/application-configuration.mdreferences/entity-models-with-jpa-annotations.mdreferences/repository-layer-with-spring-data-jpa.mdreferences/rest-controllers-with-requestresponse-handling.mdreferences/service-layer-with-business-logic.mdreferences/spring-boot-project-setup.mdreferences/spring-security-configuration.mdscripts/security-checklist.shDevelop production-ready Spring Boot applications with proper annotation-based configuration, dependency injection, REST controllers, JPA data persistence, service layers, and security implementation following Spring conventions.
Minimal working example:
<!-- pom.xml -->
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>com.example</groupId>
<artifactId>api-service</artifactId>
<version>1.0.0</version>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.1.0</version>
</parent>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
// ... (see reference guides for full implementation)
Detailed implementations in the references/ directory:
| Guide | Contents |
|---|---|
| Spring Boot Project Setup | Spring Boot Project Setup |
| Entity Models with JPA Annotations | Entity Models with JPA Annotations |
| Repository Layer with Spring Data JPA | Repository Layer with Spring Data JPA |
| Service Layer with Business Logic | Service Layer with Business Logic |
| REST Controllers with Request/Response Handling | REST Controllers with Request/Response Handling |
| Spring Security Configuration | Spring Security Configuration |
| Application Configuration | Application Configuration |
npx claudepluginhub joshuarweaver/cascade-code-languages-misc-1 --plugin aj-geddes-useful-ai-prompts-4Generates Spring Boot 3.x configurations, REST controllers, Spring Security 6 auth, Spring Data JPA repositories, and WebFlux endpoints. Use for microservices, reactive Java apps, or Spring Cloud integration.
Generates Spring Boot 3.x configurations, REST controllers, Spring Security 6 auth, Spring Data JPA or MyBatis-Plus data access, and reactive WebFlux endpoints. Use for microservices, Java REST APIs, or reactive Java apps.
Spring Boot coding conventions: REST controller design, service layer, dependency injection, configuration, DTO patterns, exception handling, and Bean Validation. Apply on any Spring Boot project. Works alongside spring-boot-plugin:spring-data-jpa for persistence and java-foundation:java-conventions for domain objects. Use this skill to: - Structure REST endpoints with @RestController, proper HTTP semantics, and DTO mapping. - Enforce constructor injection and @ConfigurationProperties over @Value on fields. - Write @Service classes with transactional boundaries at the right layer. - Handle errors consistently with @RestControllerAdvice and ProblemDetail (RFC 9457). Do NOT use this skill for: - JPA entity and repository patterns — see spring-boot-plugin:spring-data-jpa. - Spring Security configuration — see the security phase injection in stack.md. - Build tool configuration — see java-foundation:build-tooling.