java-conventions

Community

Standardize modern Java idioms and style.

Authorjsamuelsen11
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill standardizes modern Java idioms and Google-style guidelines across Java 21+ projects to improve readability, consistency, and maintainability.

Core Features & Use Cases

  • Enforce use of modern constructs such as records for DTOs, sealed interfaces for restricted hierarchies, and pattern matching to reduce boilerplate.
  • Promote safe Optional usage, immutable collections, and text blocks for multi-line content.
  • Ensure Spring-oriented patterns like constructor injection, @ConfigurationProperties, and prudent transactional boundaries are consistently applied across modules.

Quick Start

Apply these conventions to the codebase and generate an idiomatic Java 21+ example showing records, pattern matching, and constructor injection.

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: java-conventions
Download link: https://github.com/jsamuelsen11/claude-config/archive/main.zip#java-conventions

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.