/backend-java:java-frameworksfrom backend-java
Use when implementing Spring Boot features — enforces patterns for REST controllers, service layer, JPA repositories, Spring Security, configuration, and dependency injection
Ships in backend-java. 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.
@RestController
@RequestMapping("/api/v1/orders")
@RequiredArgsConstructor
public class OrderController {
private final OrderService orderService;
@PostMapping
@ResponseStatus(HttpStatus.CREATED)
public OrderResponse createOrder(@Valid @RequestBody CreateOrderRequest request) {
return orderService.create(request);
}
@GetMapping("/{id}")
public OrderResponse getOrder(@PathVariable Long id) {
return orderService.findById(id);
}
}
@RestController, not @Controller + @ResponseBody@RequiredArgsConstructor (Lombok) for constructor injection@Valid for request validation@Service
@RequiredArgsConstructor
@Transactional(readOnly = true)
public class OrderService {
private final OrderRepository orderRepository;
private final EventPublisher eventPublisher;
@Transactional
public OrderResponse create(CreateOrderRequest request) {
var order = Order.create(request.customerId(), request.items());
orderRepository.save(order);
eventPublisher.publish(new OrderCreatedEvent(order.getId()));
return OrderResponse.from(order);
}
}
@Transactional(readOnly = true) at class level, @Transactional on writespublic interface OrderRepository extends JpaRepository<Order, Long> {
List<Order> findByCustomerIdAndStatus(String customerId, OrderStatus status);
@Query("SELECT o FROM Order o WHERE o.createdAt > :since")
List<Order> findRecentOrders(@Param("since") LocalDateTime since);
}
@ConfigurationProperties for typed config, not @Valueapplication.yml, application-dev.yml, application-prod.yml@RestControllerAdvice
public class GlobalExceptionHandler {
@ExceptionHandler(OrderNotFoundException.class)
@ResponseStatus(HttpStatus.NOT_FOUND)
public ProblemDetail handleNotFound(OrderNotFoundException ex) {
return ProblemDetail.forStatusAndDetail(HttpStatus.NOT_FOUND, ex.getMessage());
}
}
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub gagandeepp/software-agent-teams --plugin backend-java4 skills in this plugin
/java-codingUse when writing or reviewing Java code — enforces modern Java patterns including records, sealed classes, Optional, streams, text blocks, pattern matching for instanceof, and effective Java principles/java-project-structureUse when scaffolding or reviewing Java project layout — Maven or Gradle build conventions, Spring Boot application structure, multi-module organization, and package naming/java-testingUse when writing tests for Java code — JUnit 5 with AssertJ assertions, Mockito mocking, Testcontainers for integration tests, and Spring Boot test slices