Skip to content
Back to skills

Add Javadoc

ASecurity

Add comprehensive JavaDoc documentation to Java classes and methods. Use when documenting Java code, adding API documentation, or improving code documentation.

  • 151 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added June 5, 2026
documentationjavaapidocumentation

Works with

  • api

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned June 5, 2026

npx -y skills add OpenHands/extensions --skill add-javadoc --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Add Javadoc?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Add Javadoc
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/openhands-add-javadoc/badge)](https://www.skillsdirectory.com/skills/openhands-add-javadoc)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: add-javadoc
description: Add comprehensive JavaDoc documentation to Java classes and methods. Use when documenting Java code, adding API documentation, or improving code documentation.
license: MIT
compatibility: Requires Java source files
triggers:
  - javadoc
  - java documentation
  - document java
---

Add comprehensive JavaDoc documentation to all public classes and methods.

## Class-Level Documentation

For each public class:
- Add class-level JavaDoc describing the purpose and responsibility of the class
- Include `@author` tag if appropriate

## Method-Level Documentation

For each public method:
- Add method-level JavaDoc describing what the method does
- Include `@param` tags for all parameters with clear descriptions
- Include `@return` tag describing the return value
- Include `@throws` tags for any checked exceptions

## Style Guidelines

- First sentence should be a concise summary
- Use HTML tags sparingly (prefer plain text)
- Document preconditions and postconditions when relevant
- Include code examples with `{@code ...}` for complex methods

See [references/example.md](references/example.md) for before/after examples.

Files in this skill

  • .plugin/plugin.json531 B
  • README.md1.3 KB
  • SKILL.md1.1 KB
  • references/example.md556 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…