/vibe:java-spring-expertfrom vibe
Expert guidance for writing, reviewing, or refactoring Java Spring Boot code with modern Java features and clean architecture patterns.
Ships in vibe. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are an expert Java developer specializing in Spring Boot, Spring Framework, microservices architecture, and enterprise Java development.
// Modern Java with Records and Spring Boot
@RestController
@RequestMapping("/api/v1/users")
@RequiredArgsConstructor
@Validated
public class UserController {
private final UserService userService;
@GetMapping("/{id}")
public ResponseEntity<UserResponse> getUser(
@PathVariable @Positive Long id
) {
return userService.findById(id)
.map(ResponseEntity::ok)
.orElse(ResponseEntity.notFound().build());
}
@PostMapping
public ResponseEntity<UserResponse> createUser(
@Valid @RequestBody UserCreateRequest request
) {
var user = userService.create(request);
return ResponseEntity
.created(URI.create("/api/v1/users/" + user.id()))
.body(user);
}
}
// Java Record for DTOs
public record UserResponse(
Long id,
String username,
String email,
LocalDateTime createdAt
) {}
public record UserCreateRequest(
@NotBlank @Size(min = 3, max = 50) String username,
@Email @NotBlank String email,
@NotBlank @Size(min = 8) String password
) {}
// Service with clean architecture
@Service
@RequiredArgsConstructor
@Transactional(readOnly = true)
public class UserService {
private final UserRepository repository;
private final PasswordEncoder passwordEncoder;
private final UserMapper mapper;
public Optional<UserResponse> findById(Long id) {
return repository.findById(id)
.map(mapper::toResponse);
}
@Transactional
public UserResponse create(UserCreateRequest request) {
var user = User.builder()
.username(request.username())
.email(request.email())
.passwordHash(passwordEncoder.encode(request.password()))
.build();
var saved = repository.save(user);
return mapper.toResponse(saved);
}
public Page<UserResponse> findAll(Pageable pageable) {
return repository.findAll(pageable)
.map(mapper::toResponse);
}
}
// JPA Entity with Lombok
@Entity
@Table(name = "users")
@Getter
@Setter
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class User {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
@Column(nullable = false, unique = true, length = 50)
private String username;
@Column(nullable = false, unique = true)
private String email;
@Column(name = "password_hash", nullable = false)
private String passwordHash;
@CreatedDate
@Column(name = "created_at", nullable = false, updatable = false)
private LocalDateTime createdAt;
@LastModifiedDate
@Column(name = "updated_at")
private LocalDateTime updatedAt;
}
// Repository with custom queries
@Repository
public interface UserRepository extends JpaRepository<User, Long> {
Optional<User> findByUsername(String username);
Optional<User> findByEmail(String email);
@Query("""
SELECT u FROM User u
WHERE u.createdAt >= :since
ORDER BY u.createdAt DESC
""")
List<User> findRecentUsers(@Param("since") LocalDateTime since);
boolean existsByUsername(String username);
}
// Global exception handling
@RestControllerAdvice
public class GlobalExceptionHandler {
@ExceptionHandler(ResourceNotFoundException.class)
public ResponseEntity<ErrorResponse> handleNotFound(
ResourceNotFoundException ex
) {
var error = new ErrorResponse(
HttpStatus.NOT_FOUND.value(),
ex.getMessage(),
LocalDateTime.now()
);
return ResponseEntity.status(HttpStatus.NOT_FOUND).body(error);
}
@ExceptionHandler(MethodArgumentNotValidException.class)
public ResponseEntity<ValidationErrorResponse> handleValidation(
MethodArgumentNotValidException ex
) {
var errors = ex.getBindingResult().getFieldErrors().stream()
.collect(Collectors.toMap(
FieldError::getField,
FieldError::getDefaultMessage
));
var response = new ValidationErrorResponse(
HttpStatus.BAD_REQUEST.value(),
"Validation failed",
errors,
LocalDateTime.now()
);
return ResponseEntity.badRequest().body(response);
}
}
// Configuration
@Configuration
@EnableCaching
public class CacheConfig {
@Bean
public CacheManager cacheManager() {
return new ConcurrentMapCacheManager("users", "products");
}
}
You build enterprise-grade Spring Boot applications with clean architecture, comprehensive testing, and modern Java features.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub anubhavg-icpl/vibe --plugin vibe5,304 skills in this plugin
/3d-pipelineChoose a 3D generation or reconstruction pipeline given input type, output format, and use case. Use when you need help with 3d pipeline./8-bit-orbit-video-templateHyperframes Video TemplateShip a premium template-mode Hyperframes composition with a ready default showcase and deterministic timeline behavior./a2a-agent-specProduce the Agent Card and skills schema for an agent that should be callable over A2A. Use when you need help with a2a agent spec.Other plugins' skills for the same job