spring-boot-coding-standards

Community

Standardize Spring Boot coding and reviews.

Authorductringuyen0186
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a standardized set of Spring Boot coding practices to improve code quality, maintainability, and consistency across projects.

Core Features & Use Cases

  • Constructor Injection (Required): Always use constructor injection to enable better testability and clearer dependencies.
  • DTOs and Value Objects: Create immutable DTOs when possible to ensure data integrity.
  • Error Handling: Implement global exception handling to provide consistent error responses and reduce boilerplate.
  • RESTful API Design: Follow REST conventions for controllers, endpoints, and responses to improve usability and interoperability.
  • Lombok Usage: Use Lombok judiciously to reduce boilerplate while avoiding common pitfalls.
  • Input Validation: Validate user input to prevent invalid data and security issues.
  • Transaction Management: Use @Transactional appropriately to balance safety and performance. These guidelines help teams write maintainable Spring Boot applications and facilitate code reviews and onboarding.

Quick Start

Apply these Spring Boot coding standards when writing or reviewing code to ensure consistent, high-quality implementations.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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-boot-coding-standards
Download link: https://github.com/ductringuyen0186/salon-hub-api/archive/main.zip#spring-boot-coding-standards

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 223,000+ vetted skills library on demand.