java-coding-standards

Defines coding and documentation standards for Java projects.

Updated Apr 2, 2026
One-click install
npx skills add https://github.com/richardnpaul/everything-vscode-copilot --skill java-coding-standards-richardnpaul
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: java-coding-standards
Source: https://github.com/richardnpaul/everything-vscode-copilot/tree/main/.github/skills/java-coding-standards
Command: npx skills add https://github.com/richardnpaul/everything-vscode-copilot --skill java-coding-standards-richardnpaul

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Sets and enforces standard Java coding practices to improve readability, maintainability, and consistency across Spring Boot services.

Core Features & Use Cases

  • Naming conventions for classes, methods, and constants to ensure consistency across modules.
  • Immutability guidance, including use of records and final fields for safe, predictable state.
  • Preferred Optional usage, proper handling of nulls, and safe stream patterns for data processing.
  • Clear exception handling with domain-specific exceptions and meaningful messages.
  • Standard project structure and package layout for Maven/Gradle projects.

Quick Start

Follow these standards to produce readable, immutable, and well-structured Java code in Spring Boot projects.

Frequently Asked Questions about java-coding-standards

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What are the best Java coding standards for Spring Boot services?

Java coding standards for Spring Boot services should enforce naming conventions, immutability using records, proper Optional usage, safe stream patterns, and domain-specific exceptions to improve readability and maintainability.

How do I handle exceptions and Optional in Java 17 Spring Boot applications?

Handle exceptions and Optional in Java 17 Spring Boot applications by using domain-specific exceptions with meaningful messages and applying safe Optional patterns to prevent null pointer errors.

Does this Java coding standard cover Maven and Gradle project structure?

Yes, these Java coding standards specify a standard project structure and package layout that directly applies to both Maven and Gradle Spring Boot projects.

When should I use Java records for immutability in Spring Boot?

Use Java records for immutability in Spring Boot to ensure safe, predictable state management by defining final fields, which aligns with standard coding practices for Java 17 and later.

How do I apply bounded generics and explicit typing in Java Spring Boot?

Apply bounded generics and explicit typing in Java Spring Boot by following coding standard requirements that specify explicit type declarations and bounded type parameters for safer, clearer code.