coding-standards

coding-standards is a skill for Claude Code from alexmond/jhelm. It costs 21 tokens per session (1,590 once invoked), scanned A, original, Apache-2.0.

A set of Java project rules covering code style, naming, documentation, dependencies, logging, errors, and modern Java 21 practices.

In plain words
What is it for?
Use it when creating or changing jhelm Java code, especially for formatting, Lombok use, dependency versions, logging, and exception handling.
Why use it?
It provides consistent decisions for writing and reviewing code instead of relying on individual preferences.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Use it when creating or changing jhelm Java code, especially for formatting, Lombok use, dependency versions, logging, and exception handling.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alexmond/jhelm/coding-standards
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 alexmond/jhelm --skill coding-standards
Clone the repo
git clone --depth 1 https://github.com/alexmond/jhelm

Made for: Claude Code.

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 coding-standards

README.md
[![agentmods](https://agentmods.dev/badge/skills/alexmond/jhelm/coding-standards/github.svg)](https://agentmods.dev/skills/alexmond/jhelm/coding-standards)
Your own site
<a href="https://agentmods.dev/skills/alexmond/jhelm/coding-standards"><img src="https://agentmods.dev/badge/skills/alexmond/jhelm/coding-standards/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 coding-standards

Your own site · 80×15
<a href="https://agentmods.dev/skills/alexmond/jhelm/coding-standards"><img src="https://agentmods.dev/badge/skills/alexmond/jhelm/coding-standards.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,590 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.00021 $0.01590
Opus 5.5 $0.00008 $0.00636
Sonnet 5.5 $0.00004 $0.00318
Haiku 4.5 $0.00002 $0.00159

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

Security

Grade A, and why

coding-standards 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.

.claude/skills/coding-standards/SKILL.md · 148 lines

How it starts

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

jhelm Coding Standards

Style

  • Indentation: Tabs (enforced by spring-javaformat-maven-plugin)
  • Naming: Classes PascalCase, methods/variables camelCase, constants UPPER_SNAKE_CASE
  • Javadoc: HTML tags for links, {@code true}/{@code false} for booleans, accurate @param/@return tags

Lombok

  • @Getter/@Setter for simple fields, @Data for POJOs/DTOs
  • @Builder, @NoArgsConstructor, @AllArgsConstructor for complex objects
  • @Slf4j for logging
  • @Accessors(fluent = true) for internal DSL-like classes

Modern Java 21

  • Text blocks ("""...""") for multi-line strings
  • Enhanced switch (arrow syntax)
  • Streams/Lambdas for collection manipulation
  • try-with-resources for system resource streams (e.g., Files.walk())

Error Handling

  • SLF4J via @Slf4j — no System.out.println in production code (CLI output in jhelm-cli is the exception)
  • Descriptive exceptions; always include original cause when rethrowing
  • Prefer must* function variants when strict validation is required

Dependencies

  • Manage versions in root pom.xml <dependencyManagement>
  • Define dependency versions as properties in root pom.xml <properties> (unless managed by Spring Boot parent)
  • Keep jhelm-gotemplate free of Spring dependencies

Size Guidelines

Two thresholds apply — consider and enforce:

Scope Consider refactoring Checkstyle enforces (build fails)
File > 500 lines > 800 lines
Method > 50 lines > 80 lines

Consider (500 lines / 50 lines): A warning signal. Before adding more code to a large file or method, ask whether it should be split. Extract helpers, separate concerns, or move related methods to a dedicated class.

Enforce (1000 lines / 80 lines): Hard limit. The build fails at validate phase. Refactoring is required — no exceptions except the suppressions below.

Current suppressions (checkstyle-suppressions.xml):

  • Lexer.java, Parser.java — state machines; long methods are inherent to the pattern
  • HelmChartTemplates.java — methods return static YAML text blocks, not logic
  • *Test.java — test files are exempt from both size limits

Read the full file on GitHub · 148 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 · 148 lines · 21 tokens per session scan A 374d2a99ca17

Subscribe to this mod's changes

coding-standards is a skill published in the GitHub repository alexmond/jhelm (7 stars, last pushed 3d ago), licensed Apache-2.0. It adds 21 tokens to every session and 1,590 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-31.

Related

Other skills, from other repositories

java

Use when writing, reviewing or refactoring modern Java (21+, 25 LTS) — records and sealed interfaces as algebraic data types, exhaustive pattern-matching switch over instanceof ladders, virtual-thread concurrency, structured concurrency and ScopedValue replacing ThreadLocal, Stream and Optional pipelines…

ericrisco/rsc-harness · 89 tokens

java-expert

Expert-level Java development with Java 21+ features, Spring Boot, Maven/Gradle, and enterprise best practices. Use when the user mentions JVM, Spring, Maven, Gradle, or enterprise, or when the task involves Modern Java, Spring Boot, Build Tools, or Dependency Injection.

personamanagmentlayer/pcl · 63 tokens

effective-java

Generate and review Java code using patterns and best practices from Joshua Bloch's "Effective Java" (3rd Edition). Use this skill whenever the user asks about Java best practices, API design, object creation patterns, generics, enums, lambdas, streams, concurrency, serialization, method design, exception handling, or…

booklib-ai/booklib · 165 tokens

java-expert

Expert knowledge for Modern Java (21+) development, including Virtual Threads, performance tuning, and idiomatic clean code. Use for deep Java language/logic questions.

kinhluan/rules-quarkus-skills · 36 tokens

java-kotlin

Java and Kotlin programming patterns.

miles990/claude-software-skills · 9 tokens

mcp-java-dev-tools-bug-drill

Discover bounded Java method drill candidates or run a Probe-guided diagnostic drill for one selected method and return an evidence-backed Markdown report.

nimbly-dev/mcp-java-dev-tools · 36 tokens