global-java-code-style

Community

Standardize Java code style across projects.

Authorsancodeee
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a unified Java coding standard covering naming conventions, formatting, project structure, documentation, exception handling, testing, dependency management, security robustness, and AI code generation guidance to improve code quality and maintainability.

Core Features & Use Cases

  • Naming conventions: classes and interfaces use UpperCamelCase; methods and variables use lowerCamelCase; constants use UPPER_SNAKE_CASE.
  • Code formatting & structure: 4-space indentation, consistent brace style, and clean layout; recommended package naming and modular organization.
  • Documentation & quality: Javadoc rules for public APIs, clear inline comments, and standardized sectioning to support maintainability.
  • Use Case: During a project kickoff, teams adopt these guidelines to align all Java modules, enabling easier reviews and consistent code generation.

Quick Start

Audit a sample module to identify deviations from the guidelines, update class names to UpperCamelCase, enforce 4-space indentation, and add Javadoc for public APIs. Then apply an automated formatter and a lightweight check to ensure ongoing conformance. Finally, reference the provided examples in references/examples.md to guide migration and enforcement.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: global-java-code-style
Download link: https://github.com/sancodeee/sen-claude-hub/archive/main.zip#global-java-code-style

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.