Java Javadoc
| This documentation was generated with the assistance of AI. Please report any inaccuracies. |
Audit given Java class(es) — and the package(s) they live in — for complete Javadoc coverage, generate whatever
is missing grounded in the actual code and current changes, then run the project’s Javadoc build goal to confirm
the result is well-formed. Unlike the other skills in this group, iru-java-javadoc does modify files: it writes
Javadoc comments and, where needed, creates package-info.java — but it never changes behavior, signatures, or
non-Javadoc code, and test classes are exempt from the documentation requirement.
Purpose
iru-java-javadoc closes documentation gaps without assuming a fixed house style: it first discovers this project’s
own Javadoc bar (contributor guide, Checkstyle Javadoc* module scopes, maven-javadoc-plugin <show>, or
observed practice in nearby classes) and phrasing conventions, then audits every type/field/constructor/method/
enum constant/nested type in scope, fills in what’s missing, ensures each touched package has a proper
package-info.java, and proves the result actually builds via the project’s own Javadoc goal — rather than
generating generic, possibly non-conforming comments.
Inputs
| Argument | Required | Description | Default |
|---|---|---|---|
|
No |
Comma-separated class names or file paths to audit. A simple class name is located via |
None — defaults to every main-source |
Outputs
-
Edits (via the Edit tool) to the in-scope class files, adding or completing Javadoc comments — no logic, signatures, formatting outside the added comments, or member ordering is changed.
-
A new or completed
package-info.javafor every touched package that was missing one or had only a placeholder/absent package doc comment. -
A confirmed, warning-free build of the project’s Javadoc goal (
mvn javadoc:jar, or a discovered equivalent) scoped to the files touched. -
A plain-text report: per class, how many members were already documented vs. gaps found and filled (named); per package, whether its
package-info.javawas already complete, extended, or newly created; any test-class argument excluded; any out-of-scope pre-existing Javadoc warning surfaced as a separate follow-up note. -
No static-analysis fixes outside Javadoc, and no test changes — those are left to other skills.
Execution flow
Dependencies
Invokes
None — iru-java-javadoc is a leaf skill; it only runs Maven commands, reads/edits Java source, and reports, it does
not call any other skill in this catalog.
Invoked by
-
Java Code One Task Group — Step 3, once per task group’s bucket, via the
iru-gate-runneragent, to update Javadoc for every class the bucket touched and confirm the Javadoc build passes.
Related agents
-
iru-gate-runner—iru-java-code-one-task-group(see Java Code One Task Group) always invokes this skill from inside airu-gate-runnersub-agent it spawns, not inline.
Source
SKILL.md on GitHub — the file this page was generated from.