spring-boot-rest-api-standards

Installation
Summary

Comprehensive REST API design standards and best practices for Spring Boot applications.

  • Covers resource-based URL design, HTTP method conventions, status codes, DTOs, validation, and error handling with global exception strategies
  • Includes pagination, filtering, sorting, security headers, CORS policies, and HATEOAS implementation patterns
  • Provides constructor injection, immutable DTO patterns, transaction management, and logging best practices with code examples
  • Enforces API versioning, input validation at controller boundaries, and separation of concerns between controllers, services, and repositories
SKILL.md

Spring Boot REST API Standards

Overview

REST API design standards for Spring Boot covering URL design, HTTP methods, status codes, DTOs, validation, error handling, pagination, and security headers.

When to Use

  • Creating REST endpoints and API routes
  • Designing DTOs and API contracts
  • Implementing error handling and validation
  • Setting up pagination and filtering
  • Configuring security headers and CORS
  • Reviewing REST API architecture

Instructions

To Build RESTful API Endpoints

Related skills

More from giuseppe-trisciuoglio/developer-kit

Installs
1.1K
GitHub Stars
246
First Seen
Feb 3, 2026