javadoc-style-guide

javadoc-style-guide is a skill for Claude Code from metaschema-framework/claude-plugins. It costs 28 tokens per session (1,357 once invoked), scanned A, original, CC0-1.0.

A set of rules for writing and reviewing Javadoc, the documentation comments used in Java source code. It covers which public and protected code elements need documentation and how comments should be formatted.

In plain words
What is it for?
Use it when documenting or reviewing public and protected classes, methods, fields, interfaces, and enums.
Why use it?
It helps prevent documentation and Checkstyle failures caused by missing or incorrectly formatted Javadoc.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the dev-metaschema plugin — 7 skills, 3 commands shipped together

Good fit Use it when documenting or reviewing public and protected classes, methods, fields, interfaces, and enums.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/metaschema-framework/claude-plugins/javadoc-style-guide
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 metaschema-framework/claude-plugins --skill javadoc-style-guide
Clone the repo
git clone --depth 1 https://github.com/metaschema-framework/claude-plugins

Made for: Claude Code.

Or install dev-metaschema, the plugin that ships this one along with the rest of its 7 skills, 3 commands.

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 javadoc-style-guide

README.md
[![agentmods](https://agentmods.dev/badge/skills/metaschema-framework/claude-plugins/javadoc-style-guide/github.svg)](https://agentmods.dev/skills/metaschema-framework/claude-plugins/javadoc-style-guide)
Your own site
<a href="https://agentmods.dev/skills/metaschema-framework/claude-plugins/javadoc-style-guide"><img src="https://agentmods.dev/badge/skills/metaschema-framework/claude-plugins/javadoc-style-guide/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 javadoc-style-guide

Your own site · 80×15
<a href="https://agentmods.dev/skills/metaschema-framework/claude-plugins/javadoc-style-guide"><img src="https://agentmods.dev/badge/skills/metaschema-framework/claude-plugins/javadoc-style-guide.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,357 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.00028 $0.01357
Opus 5 $0.00014 $0.00678
Sonnet 5 $0.00006 $0.00271
Haiku 4.5 $0.00003 $0.00136

Measured 9d ago against content hash f219d175fae0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

javadoc-style-guide 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 9d 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.

plugins/dev-metaschema/skills/javadoc-style-guide/SKILL.md · 229 lines

How it starts

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

Javadoc Style Guide

When to Use

  • Writing new public/protected classes, methods, or fields
  • Reviewing Javadoc compliance
  • Fixing Checkstyle Javadoc violations

Coverage Requirements (BLOCKING)

Required Documentation

Javadoc is required for all protected and public members:

  • Classes, interfaces, and enums
  • Methods (including constructors)
  • Fields

Exceptions (No Javadoc Required)

  • Methods annotated with @Override (inherited documentation applies)
  • Methods annotated with @Test (test method names should be self-documenting)
  • Private and package-private members (encouraged if complex)
  • Generated code (*.antlr packages)

Structure and Formatting

Class/Interface/Enum Documentation

/**
 * Brief summary sentence describing the type's purpose.
 * <p>
 * Additional paragraphs providing more detail as needed.
 *
 * @param <T>
 *          description of type parameter (indent 10 spaces from asterisk)
 */
public class Example<T> {

Method Documentation

/**
 * Brief summary sentence describing what the method does.
 * <p>
 * Additional detail about behavior, side effects, or usage notes.
 *
 * @param paramName
 *          description of the parameter (indent 10 spaces from asterisk)
 * @return description of return value
 * @throws ExceptionType
 *          when this exception is thrown (indent 10 spaces from asterisk)
 */
public String exampleMethod(String paramName) throws ExceptionType {

Tag Order (Enforced by Checkstyle)

Tags must appear in this order:

  1. @param (all parameters, in declaration order)
  2. @return
  3. @throws / @exception
  4. @deprecated

Multi-line Tag Indentation

Continuation lines must be indented 10 spaces from the asterisk:

/**
 * @param config
 *          the configuration object used to initialize the component
 *          and establish default settings
 */

Summary Sentence Rules

Forbidden Patterns (Checkstyle Enforced)

Do NOT start summaries with:

  • @return the - e.g., "Returns the value" (redundant)
  • This method returns - redundant phrasing
  • A {@code ClassName} is a - weak opening

Read the full file on GitHub · 229 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. 9d ago First seen · 229 lines · 28 tokens per session scan A f219d175fae0

Subscribe to this mod's changes

javadoc-style-guide is a skill published in the GitHub repository metaschema-framework/claude-plugins (10 stars, last pushed 6mo ago), licensed CC0-1.0. It adds 28 tokens to every session and 1,357 once invoked, about $0.0001 per session on Opus 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

azure-security-keyvault-secrets-java

Azure Key Vault Secrets Java SDK for secret management. Use when storing, retrieving, or managing passwords, API keys, connection strings, or other sensitive configuration data.

microsoft/skills · 40 tokens

azure-ai-anomalydetector-java

Build anomaly detection applications with Azure AI Anomaly Detector SDK for Java. Use when implementing univariate/multivariate anomaly detection, time-series analysis, or AI-powered monitoring.

microsoft/skills · 43 tokens

azure-communication-chat-java

Build real-time chat applications with Azure Communication Services Chat Java SDK. Use when implementing chat threads, messaging, participants, read receipts, typing notifications, or real-time chat features.

microsoft/skills · 41 tokens

azure-communication-common-java

Azure Communication Services common utilities for Java. Use when working with CommunicationTokenCredential, user identifiers, token refresh, or shared authentication across ACS services.

microsoft/skills · 35 tokens

union-type-wrappers

Add typed getters and setters over BinaryData properties that represent TypeSpec union types in generated Java models. Use when generated classes expose BinaryData for union-typed fields and you need ergonomic, type-safe accessors instead.

Azure/azure-sdk-for-java · 49 tokens

azure-ai-agents-persistent-java

Azure AI Agents Persistent SDK for Java. Low-level SDK for creating and managing AI agents with threads, messages, runs, and tools. Triggers: "PersistentAgentsClient", "persistent agents java", "agent threads java", "agent runs java", "streaming agents java".

microsoft/skills · 63 tokens