170-java-documentation
Skill2 starsChanged 9 months agoApache-2.0View on GitHub
Use when you need to generate or improve Java project documentation — including README.md files, package-info.java files, and Javadoc enhancements — through a modular, step-based interactive process that adapts to your specific documentation needs. Part of the skills-for-java project
2 other projects use a version of this, 2 of them edited.
Adopted by
Most recently taken up by
- jabrena/cursor-rules-javaedited, first seen Oct 17, 2026
- jabrena/plinthedited, first seen Oct 13, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 2
- jabrena/plinth★ 46953% same
- jabrena/cursor-rules-java★ 46153% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository38 other files it gives its agents.
- 014-agile-create-user-storySkill
- 020-planning-enhance-ai-plan-modeSkill
- 030-architecture-adr-generalSkill
- 031-architecture-adr-functional-requirementsSkill
- 032-architecture-adr-non-functional-requirementsSkill
- 033-architecture-diagramsSkill
- 110-java-maven-best-practicesSkill
- 111-java-maven-dependenciesSkill
- 112-java-maven-pluginsSkill
- 113-java-maven-documentationSkill
- 121-java-object-oriented-designSkill
- 122-java-type-designSkill
- 123-java-exception-handlingSkill
- 124-java-secure-codingSkill
- 125-java-concurrencySkill
- 128-java-genericsSkill
- 130-java-testing-strategiesSkill
- 131-java-testing-unit-testingSkill
- 132-java-testing-integration-testingSkill
- 133-java-testing-acceptance-testsSkill
- 141-java-refactoring-with-modern-featuresSkill
- 142-java-functional-programmingSkill
- 143-java-functional-exception-handlingSkill
- 144-java-data-oriented-programmingSkill
- 151-java-performance-jmeterSkill
- 161-java-profiling-detectSkill
- 162-java-profiling-analyzeSkill
- 163-java-profiling-refactorSkill
- 164-java-profiling-verifySkill
- 180-java-observability-loggingSkill
- 200-agents-mdSkill
- 301-frameworks-spring-boot-coreSkill
- 302-frameworks-spring-boot-restSkill
- 312-frameworks-spring-data-jdbcSkill
- 321-frameworks-spring-boot-testing-unit-testsSkill
- 322-frameworks-spring-boot-testing-integration-testsSkill
- 323-frameworks-spring-boot-testing-acceptance-testsSkill
- 324-frameworks-spring-boot-testing-e2e-local-testsSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 23
Before applying any documentation generation, ensure the project validates.
- Very specific: line 25
MANDATORY: Run ./mvnw validate or mvn validate before applying any documentation generation
- Distinctive: line 26
SAFETY: If validation fails, stop immediately — do not proceed until all validation errors are resolved
- Distinctive: line 27
BEFORE APPLYING: Read the reference for detailed good/bad examples, constraints, and safeguards for each documentation generation pattern
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
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.
- MANDATORY: Run
./mvnw validateormvn validatebefore applying any documentation generation - SAFETY: If validation fails, stop immediately — do not proceed until all validation errors are resolved
- BEFORE APPLYING: Read the reference for detailed good/bad examples, constraints, and safeguards for each documentation generation pattern
When to use this skill
- Review Java code for documentation
- Apply best practices for documentation in Java code
Reference
For detailed guidance, examples, and constraints, see references/170-java-documentation.md.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

