standards-java

standards-java is a skill for Claude Code, Codex from b33eep/claude-code-setup. It costs 26 tokens per session (5,533 once invoked), scanned A, original, MIT.

A set of Java coding standards for enterprise applications, including naming, design, readability, maintainability, and modern Java practices. Enterprise applications are business systems that usually need to be maintained for a long time.

In plain words
What is it for?
Use it when creating or reviewing Java classes, interfaces, methods, variables, packages, constants, and object-oriented designs.
Why use it?
It gives developers shared rules for writing understandable, testable code and limits unnecessary complexity. This makes reviews and future changes more predictable.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when creating or reviewing Java classes, interfaces, methods, variables, packages, constants, and object-oriented designs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/b33eep/claude-code-setup/standards-java
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add b33eep/claude-code-setup --skill standards-java
Clone the repo
git clone --depth 1 https://github.com/b33eep/claude-code-setup

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for standards-java

README.md
[![agentmods](https://agentmods.dev/badge/skills/b33eep/claude-code-setup/standards-java/github.svg)](https://agentmods.dev/skills/b33eep/claude-code-setup/standards-java)
Your own site
<a href="https://agentmods.dev/skills/b33eep/claude-code-setup/standards-java"><img src="https://agentmods.dev/badge/skills/b33eep/claude-code-setup/standards-java/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for standards-java

Your own site · 80×15
<a href="https://agentmods.dev/skills/b33eep/claude-code-setup/standards-java"><img src="https://agentmods.dev/badge/skills/b33eep/claude-code-setup/standards-java.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,533 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00026 $0.05533
Opus 5.5 $0.00010 $0.02213
Sonnet 5.5 $0.00005 $0.01107
Haiku 4.5 $0.00003 $0.00553

Measured 1mo ago against content hash 3bdd3323c942, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

standards-java scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/standards-java/SKILL.md · 854 lines

How it starts

The opening of the file, as written. The whole thing — 854 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Java Coding Standards

Core Principles

  1. Simplicity: Simple, understandable code
  2. Readability: Readability over cleverness
  3. Maintainability: Code that's easy to maintain
  4. Testability: Code that's easy to test
  5. SOLID: Follow SOLID principles for object-oriented design
  6. DRY: Don't Repeat Yourself - but don't overdo it

General Rules

  • Early Returns: Use early returns to avoid nesting
  • Descriptive Names: Meaningful names for classes, methods, and variables
  • Minimal Changes: Only change relevant code parts
  • No Over-Engineering: No unnecessary complexity
  • Immutability: Prefer immutable objects where possible
  • Minimal Comments: Code should be self-explanatory. No redundant comments!

Naming Conventions

Element Convention Example
Classes PascalCase UserService, OrderRepository
Interfaces PascalCase UserRepository, PaymentProcessor
Methods camelCase getUserById, calculateTotal
Variables camelCase firstName, totalAmount
Constants UPPER_SNAKE_CASE MAX_RETRY_COUNT, DEFAULT_TIMEOUT
Packages lowercase.dot.separated com.example.service, com.example.repository
Test Classes ClassNameTest UserServiceTest, OrderRepositoryTest
Test Methods descriptive_snake_case or camelCase shouldReturnUserWhenIdExists

Project Structure

Maven Project

myproject/
├── pom.xml
├── src/
│   ├── main/
│   │   ├── java/
│   │   │   └── com/example/myapp/
│   │   │       ├── Application.java        # Main entry point
│   │   │       ├── config/
│   │   │       │   └── AppConfig.java      # Configuration
│   │   │       ├── domain/
│   │   │       │   └── User.java           # Domain models
│   │   │       ├── repository/
│   │   │       │   └── UserRepository.java # Data access
│   │   │       ├── service/
│   │   │       │   └── UserService.java    # Business logic
│   │   │       └── controller/
│   │   │           └── UserController.java # REST endpoints
│   │   └── resources/
│   │       ├── application.properties
│   │       └── application-dev.properties
│   └── test/
│       ├── java/
│       │   └── com/example/myapp/
│       │       ├── service/
│       │       │   └── UserServiceTest.java
│       │       └── repository/
│       │           └── UserRepositoryTest.java
│       └── resources/
│           └── application-test.properties
└── README.md

Read the full file on GitHub · 854 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 854 lines · 26 tokens per session scan A 3bdd3323c942

Subscribe to this mod's changes

standards-java is a skill published in the GitHub repository b33eep/claude-code-setup (57 stars, last pushed 11d ago), licensed MIT. It adds 26 tokens to every session and 5,533 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

java-clean-arch

Reviews or implements Clean Architecture / Hexagonal Architecture (Ports & Adapters) and DDD tactical patterns for Java projects. Use when user asks to "apply clean architecture", "implement hexagonal architecture", "add ports and adapters", "apply DDD", "refactor to clean arch", "review architecture", or "add value…

ducpm2303/claude-java-plugins · 68 tokens

java-adr

Creates, lists, and manages Architecture Decision Records for Java projects. Use when user asks to "create an ADR", "document this decision", "write an architecture decision", "add ADR", "list decisions", "show ADRs", or "record this architectural choice".

ducpm2303/claude-java-plugins · 54 tokens

java-logging

Reviews Java logging for SLF4J best practices, MDC context, structured logging, and PII safety. Use when user asks to "review logging", "check my logs", "logging review", "is my logging correct", "MDC setup", or "check for PII in logs".

ducpm2303/claude-java-plugins · 60 tokens

java-resilience

Use when the user asks to add resilience patterns, handle service failures, implement circuit breaker, retry, rate limiter, bulkhead, or timeout in a Spring Boot project using Resilience4J.

ducpm2303/claude-java-plugins · 43 tokens

java-spring-ai

Use when the user asks to add AI features, integrate Spring AI or LangChain4J, build a chatbot, implement RAG (retrieval-augmented generation), use vector stores, stream LLM responses, or call AI tools/functions in a Spring Boot project.

ducpm2303/claude-java-plugins · 59 tokens

java-design-pattern

Detects GoF patterns in Java code or recommends the right pattern for a problem. Use when user asks to "what pattern is this", "detect design patterns", "suggest a pattern", "should I use factory", "which design pattern", or "recommend a pattern for".

ducpm2303/claude-java-plugins · 56 tokens