
The java-docs skill validates that Java types and members include proper Javadoc comments and adhere to documentation best practices. It is designed for Java developers who need to ensure their code meets documentation standards for public APIs and complex internal code. The skill solves the problem of inconsistent or missing documentation by enforcing conventions for Javadoc tags, comment structure, and coverage across different access levels.
$ npx -y skills add github/awesome-copilot --skill java-docs --agent claude-codeInstalls into .claude/skills of the current project.
/** */ vs ///). Do not rewrite existing comments, or mass-document a codebase, unless the user asks; limit changes to the requested scope.maven.compiler.release, toolchain, java -version) before using newer features, and stay within it.@since only with the real version in which the API was introduced; @deprecated with a reason and replacement, together with @Deprecated.@author and @version only if the project already uses them.<pre>{@code ... }</pre> (escape @ at line start, balance braces).{@snippet : ... } for inline code, or {@snippet file="Example.java" region="demo"} with files in snippet-files/ (preferred for examples; javadoc does not compile or validate the snippet source, so compile and test the files in a separate build/test source set if you need that guarantee). Use // @highlight substring="x" and // @replace markup as needed.///, using [Type#member] for links and fenced code blocks. Use them only if the project already does or the user asks, and the build runs a JDK 23+ javadoc.mvn -q javadoc:javadoc (or ./gradlew javadoc) and for single files javadoc -Xdoclint:all -d target/javadoc-check <files>; fix every warning/error you introduced (missing @param, bad HTML, unresolved {@link}, unknown tags).Sponsors