{"enrichment":{"faq":[{"a":"spring-boot-rest-api-standards guides you through resource-based URL design, proper HTTP method usage, and appropriate status codes. Focus on noun-based endpoints (e.g., /api/users, /api/orders) rather than verb-based ones, use GET for retrieval, POST for creation, PUT/PATCH for updates, and DELETE for removal. The skill covers implementing these patterns with Spring Boot annotations like @RestController, @GetMapping, @PostMapping, and @RequestBody to ensure your endpoints follow REST conventions.","q":"How do I design REST endpoints in Spring Boot following best practices?"},{"a":"spring-boot-rest-api-standards teaches global error handling through @ControllerAdvice and @ExceptionHandler annotations. This approach centralizes exception management, allowing you to catch specific exceptions and return standardized error responses with appropriate HTTP status codes. The skill shows how to create consistent error response DTOs containing error codes, messages, and timestamps, ensuring clients receive predictable error formats across all endpoints.","q":"What is the best way to handle errors in a Spring Boot REST API?"},{"a":"spring-boot-rest-api-standards covers DTO validation using Spring's validation framework with annotations like @NotNull, @NotBlank, @Email, and @Size. Create separate request and response DTOs to maintain proper separation of concerns\u2014request DTOs handle incoming data validation while response DTOs shape outgoing data. Use @Valid on controller method parameters to trigger validation, and combine with global exception handling to return validation error details.","q":"How should I validate request and response DTOs in Spring Boot?"},{"a":"spring-boot-rest-api-standards shows how to configure pagination using Spring Data's Pageable interface. Accept pagination parameters (page, size, sort) in your controller methods, pass them to repository queries, and return Page objects. This enables clients to request specific result subsets efficiently. The skill demonstrates proper response formatting that includes total count, current page, and available pages for client-side navigation.","q":"How do I implement pagination in a Spring Boot REST API?"},{"a":"spring-boot-rest-api-standards addresses production-ready security through CORS configuration and security headers. Learn to configure allowed origins, HTTP methods, and credentials using @CrossOrigin or WebMvcConfigurer. The skill includes setting security headers like X-Content-Type-Options, X-Frame-Options, and Strict-Transport-Security to protect against common vulnerabilities and ensure your API meets enterprise security requirements.","q":"What security headers and CORS configuration does spring-boot-rest-api-standards cover?"},{"a":"Yes, spring-boot-rest-api-standards includes a REST API review checklist covering REST standards compliance. Use it to audit your existing endpoints for proper HTTP method usage, status code appropriateness, URL design consistency, DTO patterns, error handling standardization, and security configurations. This helps identify gaps between your current implementation and REST best practices.","q":"Can I use spring-boot-rest-api-standards to review existing REST API code?"}],"shadow_tags":["rest-conventions","dto-patterns","error-handling","api-design","http-semantics","request-validation","pagination-filtering","security-headers","controller-architecture","api-contracts"],"summary_rewrite":"This skill guides you through building well-structured REST APIs in Spring Boot, covering resource-based URL design, proper HTTP method usage, appropriate status codes, and DTO patterns. It includes strategies for validation, global exception handling, pagination setup, and security header configuration. Use it when creating endpoints, designing API contracts, or reviewing REST architecture."},"files":[{"bytes":7959,"path":"plugins/developer-kit-java/skills/spring-boot-rest-api-standards/SKILL.md","sha256":"a9c9a882667c49cba0f575b77f943b251cc1c6d9f60333fc73d16096bf10c651","url":"https://skillfed.io/files/giuseppe-trisciuoglio/developer-kit/spring-boot-rest-api-standards/ac1e32d2/SKILL.md"}],"id":"giuseppe-trisciuoglio/developer-kit/spring-boot-rest-api-standards","links":{"html":"https://skillfed.io/giuseppe-trisciuoglio/developer-kit/spring-boot-rest-api-standards","md":"https://skillfed.io/giuseppe-trisciuoglio/developer-kit/spring-boot-rest-api-standards.md","repo":"https://github.com/giuseppe-trisciuoglio/developer-kit"},"meta":{"agents_supported":[],"first_seen":"2026-07-28","forks":37,"language":"Python","last_updated":"2026-06-22","license":"MIT","name":"spring-boot-rest-api-standards","publisher":"giuseppe-trisciuoglio","stars":311},"relations":{"similar":[{"id":"decebals/claude-code-java/spring-boot-patterns"},{"id":"dawiddutoit/custom-claude/java-spring-service"},{"id":"manutej/luxor-claude-marketplace/spring-boot-development"},{"id":"decebals/claude-code-java/api-contract-review"},{"id":"bobmatnyc/claude-mpm-skills/spring-boot"},{"id":"personamanagmentlayer/pcl/spring-boot-expert"},{"id":"personamanagmentlayer/pcl/java-expert"},{"id":"softspark/ai-toolkit/java-patterns"},{"id":"giuseppe-trisciuoglio/developer-kit/spring-boot-crud-patterns"},{"id":"giuseppe-trisciuoglio/developer-kit/spring-boot-resilience4j"}]},"slug":{"owner":"giuseppe-trisciuoglio","repo":"developer-kit","skill":"spring-boot-rest-api-standards"},"version":"ac1e32d2"}
