jabrena avatar

170 Java Documentation

This is a structured documentation generator for Java projects that walks you through creating READMEs, package-info.java files, and Javadoc comments in a choose-your-own-adventure style. It runs Maven validation upfront and won't let you proceed if the build is broken, which is smart. The interactive flow lets you pick documentation depth (minimal, basic, comprehensive) and file handling strategy (overwrite, backup, skip), then validates everything with a compile and javadoc build at the end. It's overkill if you just need to document one class, but if you're trying to bring consistency to an underdocumented multi-module Maven project, the guardrails and systematic approach actually help. Part of the cursor-rules-java collection by Juan Antonio Breña Moral.

skills.sh installs
129
GitHub stars
393
last updated
Jun 3, 2026

Install

$ npx -y skills add jabrena/cursor-rules-java --skill 170-java-documentation --agent claude-code

Installs into .claude/skills of the current project.

Files

Java Documentation Generator with modular step-based configuration

Generate comprehensive Java project documentation through a modular, step-based interactive process that covers README.md, package-info.java, and Javadoc. This is an interactive SKILL.

What is covered in this Skill?

  • README.md generation for single-module and multi-module Maven projects
  • package-info.java creation with basic/detailed/minimal documentation levels
  • Javadoc enhancement: comprehensive @param/@return/@throws tags
  • File handling strategies: overwrite/add/backup/skip
  • Final documentation validation with ./mvnw clean compile and ./mvnw javadoc:javadoc

Constraints

Before applying any documentation generation, ensure the project validates. If validation fails, stop immediately — do not proceed until all validation errors are resolved.

Sponsors

Details

Repository
github.com/jabrena/cursor-rules-java
Categories
Documentation, Java & JVM
First seen
Jun 3, 2026

More from jabrena/cursor-rules-java

All 16
1michalparkola avatarship-learn-nextmichalparkola/tapestry-skills-for-claude-codeship learn next123skills.sh installs
2laolaoshiren avatarzh-readmelaolaoshiren/claude-code-skills-zh中文 README 生成器 - 先分析项目,再生成面向中文开发者的高质量 README112skills.sh installs
3butterbase-ai avatarjourney-docsbutterbase-ai/butterbase-skillsUse as the docs-priming stage of the Butterbase journey, immediately after journey-preflight and before the first build stage. Reads the plan to discover which 0skills.sh installs
4cloudposse avatardocs-stylescloudposse/docsCSS styles, color themes, and visual conventions for docs.cloudposse.com. Use when styling components, mermaid diagrams, or working with site theming.0skills.sh installs
5ganyuanran avatarwriting-plansganyuanran/aegisThis is the planning stage before you write any code.0skills.sh installs
6kaelio avatarwiki_capturekaelio/ktxktx's knowledge base - wiki pages for durable, reusable business knowledge. Covers capture workflow for user preferences, metric definitions, organizational con0skills.sh installs