spring-rest

Community

Design production-ready Spring REST APIs fast

Authordprice-dev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you implement consistent, enterprise-grade REST endpoints in Spring Boot 4.x without drifting into ad-hoc controllers, inconsistent response formats, or incorrect HTTP semantics.

Core Features & Use Cases

  • Controller patterns and endpoint wiring: Use @RestController, ResponseEntity/status annotations, request DTOs, and record-based request/response models for clean controller-layer code.
  • RFC 9457 Problem Detail error responses: Standardize validation and exception handling with ProblemDetail so clients get predictable error contracts.
  • Pagination and versioning: Implement Page<T> patterns with bounded sizes and support API evolution via URL path or content negotiation.
  • HTTP client integration for WebMVC: Use RestClient + HttpServiceProxyFactory with resilient error handling, retries, and circuit-breaking patterns aligned to Spring Boot 4.x constraints.

Quick Start

Use the spring-rest skill to design and implement a versioned endpoint with proper pagination, record DTOs, and RFC 9457 error handling for a Spring Boot 4.x controller.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: spring-rest
Download link: https://github.com/dprice-dev/claude-java-skills/archive/main.zip#spring-rest

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.