jabref/jabref/module-documentation
- community
Checking that the SKILL.md file is still in the repository.
How to write and maintain package-level (package-info.java) and module-level (module-info.java) Javadoc in JabRef, including deep links into devdocs.jabref.org. Use when adding a package or changing a package's or module's public surface.
Install
npx vskill@latest install jabref/jabref/module-documentationSKILL.md
Package and module documentation
[!IMPORTANT]This project does not accept fully AI-generated pull requests. AI tools may only be used for assistance. You must understand and take responsibility for every change you submit.Read and follow:
module-info.java and package-info.java are the orientation layer of the JabRef code base. They are read by humans and by AI agents that have no code-graph tooling and need to find the right place by reading, so write them for routing: what lives here, where to start, and where to go instead.
When to update
- Creating a package: add a
package-info.java. - Adding, moving, renaming or removing a class that a
package-info.javamentions, or that is an entry point of its package: update the file. - Changing a module's exports or responsibility: update the
///comment on itsmodule-info.java. - Nothing to do for changes inside existing classes.
Content
- Every module has a Markdown Javadoc (
///) comment onmodule-info.java: the module's responsibility in one or two sentences, its main entry points ([ClassName]), and links to the devdocs pages describing it. - Every package with non-trivial content has a
package-info.java. - Structure: first sentence states the package's purpose. Then the entry-point classes as
[ClassName]links. Then adjacent packages for related concerns ("Parsing of.bibfiles is in [org.jabref.logic.importer.fileformat]"). Then@seedeep links to developer documentation. - Deep links are
@seeblock tags, one per line, in the standard Javadoc URL form:/// @see <a href="https://devdocs.jabref.org/code-howtos/testing.html">Testing code howto</a>(javadoc rejects a Markdown[label](url)after@see; the<a>element is the one HTML exception to the Markdown-only rule). They point into <https://devdocs.jabref.org/>, which rendersdocs/:docs/<path>.mdbecomeshttps://devdocs.jabref.org/<path>.html(for exampledocs/code-howtos/localization.md→ <https://devdocs.jabref.org/code-howtos/localization.html>). Section anchors work as on the rendered page (architecture-and-components.html#preferences). Link the ADR indocs/decisions/that motivated the package's design where one exists. - Tone: neutral, professional software-engineering prose. No change history, no issue references, no marketing. Do not repeat class-level Javadoc; point to it.
- Use Markdown syntax inside
///comments as required byAGENTS.md: `code,[ClassName]`, fenced code blocks.
Examples
jablib/src/main/java/org/jabref/logic/bibtex/comparator/package-info.java(short package)jabgui/src/main/java/org/jabref/gui/preferences/forms/package-info.java(package with its own conventions)jablib/src/main/java/module-info.java(module)
Verification
./gradlew :<module>:javadoc must pass. Unresolved [ClassName] references do not fail the build (reference checking is off because tests are cross-linked), so grep the output for reference not found and fix every hit in the touched files.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/developers/module-documentation/SKILL.md
Popularity
- Repository stars
- 4,840
- Repository forks
- 3,668
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/jabref/jabref/module-documentation)