
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-codeInstalls 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/@throwstags - File handling strategies: overwrite/add/backup/skip
- Final documentation validation with
./mvnw clean compileand./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- 132 Java Testing Integration Testing128
- 113 Java Maven Documentation125
- 110 Java Maven Best Practices160
- 121 Java Object Oriented Design153
- 124 Java Secure Coding146
- 111 Java Maven Dependencies136
- 125 Java Concurrency135
- 128 Java Generics135
- 141 Java Refactoring With Modern Features135
- 142 Java Functional Programming135
- 131 Java Testing Unit Testing134
- 112 Java Maven Plugins133
- 143 Java Functional Exception Handling133
- 122 Java Type Design132
- 144 Java Data Oriented Programming129