/java-development:java-docsfrom java-development
Writes and reviews Javadoc comments for Java public, protected, generic, deprecated, and complex members. Covers tags like @param, @return, @throws, and documentation coverage rules.
Ships in java-development. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Add or improve Javadoc so Java APIs communicate behavior, parameters, return values, exceptions, inheritance, generics, deprecations, and examples without restating obvious implementation details.
@param, @return, or @throws tags."| Element | Requirement | Notes |
|---|---|---|
| Public types and members | Document with Javadoc comments. | Treat this as mandatory API documentation. |
| Protected members | Document with Javadoc comments. | Subclasses depend on the contract. |
| Package-private and private members | Document when complex or not self-explanatory. | Prefer clear code over comments for obvious internals. |
| Generic type parameters | Use @param <T>. | Describe what the type represents, not its Java syntax. |
| Exceptions | Use @throws or @exception. | Document conditions that callers can act on. |
| Deprecations | Use @deprecated and provide an alternative. | Pair with the Java @Deprecated annotation when changing code. |
| Tag or construct | Use | Style rule |
|---|---|---|
| Summary sentence | First sentence of every Javadoc comment. | Concise overview ending with a period. |
@param | Method parameters. | Description starts with a lowercase letter and does not end with a period. |
@return | Non-void return values. | Explain meaning, units, nullability, and special cases. |
@throws / @exception | Exceptions thrown by methods. | Prefer @throws; include the triggering condition. |
@see | References to other types or members. | Use for related APIs, not generic external reading. |
{@inheritDoc} | Inherit base-class or interface documentation. | Use unless behavior materially changes; document differences when it does. |
{@code} | Inline code snippets. | Use for identifiers, literals, and short expressions. |
<pre>{@code ... }</pre> | Code blocks. | Preserve formatting without HTML escaping surprises. |
@since | Version or release introduction. | Use only when the project tracks API versions. |
@version | Member or type version. | Use only if the project already maintains version tags. |
@author | Author attribution. | Use only if the project convention already uses it. |
| API shape | Document |
|---|---|
| Mutator | Side effects, validation, idempotency, and thread-safety expectations. |
| Accessor | Units, nullability, caching, and whether returned collections are mutable. |
| Factory | Ownership, lifecycle, default values, and failure modes. |
| Async or callback API | Execution thread, ordering, cancellation, and exception propagation. |
| Collection-returning method | Ordering, duplicates, mutability, and empty-result behavior. |
| Security-sensitive method | Required permissions, input trust boundary, and logging constraints. |
/**
* Returns the active customer names in display order.
*
* @param regionCode the ISO region code used to filter customers
* @return immutable list of active customer names, never {@code null}
* @throws IllegalArgumentException if {@code regionCode} is blank
*/
List<String> findActiveCustomerNames(String regionCode);
/**
* findActiveCustomerNames method.
* @param regionCode Region code.
* @return list.
*/
List<String> findActiveCustomerNames(String regionCode);
getName gets a name.{@inheritDoc} when behavior changes: callers need the subclass-specific differences.@return to void methods: document side effects in prose instead.@author, @version, or @since inconsistently: follow existing project convention.## Java documentation result
**Status:** documented | needs project decision | blocked
**Scope:** `<files or selection>`
| Element | Action | Evidence |
| --- | --- | --- |
| `<class or member>` | added/updated/reviewed | `<tags and contract details>` |
**Validation**
- Summary sentences end with periods: pass/fail
- Required tags present: pass/fail
- Project conventions preserved: pass/fail
@param; generic parameters use @param <T>.@return when the return contract is not obvious.@throws or @exception where callers need to know failure conditions.{@code} and blocks use <pre>{@code ... }</pre>.@deprecated, @since, @version, @author, and @see follow existing project conventions.What SKILL.md sets; muted values are Claude Code's defaults
4 skills in this plugin
/create-spring-boot-java-projectCreate a Spring Boot Java project skeleton from Spring Initializr with Maven, Java 21, common data dependencies, SpringDoc, ArchUnit, local Docker Compose services for Redis, PostgreSQL, and MongoDB, application.properties settings, .gitignore entries, and Maven validation. Use when asked to create or scaffold a Spring Boot Java project./java-junitApply JUnit 5 best practices for Java tests, including Maven or Gradle setup, standard and parameterized tests, lifecycle hooks, assertions, Mockito isolation, tags, nested tests, and test commands. Use when asked for JUnit 5+ guidance or to write Java unit tests./npx claudepluginhub gbb-acelerators/awesome-harness-primitives --plugin java-developmentOther plugins' skills for the same job