marketplace/bundles/pm-dev-java/skills/javadoc/SKILL.md
JavaDoc documentation standards including class, method, and code example patterns
npx skillsauth add cuioss/plan-marshall javadocInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
REFERENCE MODE: This skill provides reference material. Load specific standards on-demand based on current task.
JavaDoc documentation standards for Java projects. This skill covers class documentation, method documentation, code examples, and error references.
This skill applies to all Java projects using standard JavaDoc.
Load this standard for any JavaDoc work.
Read: standards/javadoc-core.md
This provides foundational rules for:
Class Documentation (load for class-level docs):
Read: standards/javadoc-class-documentation.md
Use when: Documenting classes, interfaces, enums, or annotations.
Method Documentation (load for method-level docs):
Read: standards/javadoc-method-documentation.md
Use when: Documenting methods, including parameters, returns, and exceptions.
Code Examples (load for example snippets):
Read: standards/javadoc-code-examples.md
Use when: Adding code examples to documentation using @snippet or @code.
Error Reference (load for troubleshooting):
Read: standards/javadoc-error-reference.md
Use when: Fixing JavaDoc errors or warnings.
/**
* Validates JWT tokens against configured issuer and signing keys.
*
* <p>This validator supports both HMAC and RSA algorithms with
* configurable clock skew tolerance for distributed systems.
*
* @since 1.0
* @see TokenConfig
*/
@ApplicationScoped
public class TokenValidator { }
/**
* Validates the JWT token signature and expiration time.
*
* @param token the JWT token to validate, must not be null
* @return validation result containing status and error messages
* @throws IllegalArgumentException if token is null or empty
*/
public ValidationResult validate(String token) { }
/**
* Parses JSON configuration from a file.
*
* <p>Example usage:
* {@snippet :
* Config config = ConfigParser.parse("config.json");
* String value = config.get("key");
* }
*/
public Config parse(String filename) { }
/**
* Description.
*
* @param name description
* @return description
* @throws ExceptionType description
* @since version
* @see reference
* @deprecated reason
*/
plan-marshall:dev-general-code-quality - Language-agnostic code quality and documentation principlespm-dev-java:java-core - Core Java patternspm-dev-java:java-null-safety - Null annotations in docsJavaDoc class and method — reference templates for documentation structure:
Read: templates/javadoc-class.java.tmpl
Contains both class-level and method-level JavaDoc patterns with all standard tags.
| Standard | Purpose | |----------|---------| | javadoc-core.md | Core principles and mandatory requirements | | javadoc-class-documentation.md | Class-level documentation | | javadoc-method-documentation.md | Method-level documentation | | javadoc-code-examples.md | @snippet and @code patterns | | javadoc-error-reference.md | Error troubleshooting |
tools
Plan-marshall-domain implementor of the ext-self-review-{domain} extension point. Surfaces deterministic candidates (regexes, user-facing strings, markdown sections, symmetric-pair functions, flag-guard pairs, contract sources, schema-bearing files) for pre-submission structural self-review.
development
The single shared contract every untrusted-external-content ingestion surface loads — reader/orchestrator/writer isolation, the deterministic validator script as the containment boundary, and the output-schema discipline for candidate structs parsed from web pages, GitHub issue/PR/comment bodies, and Sonar issue messages
development
Domain-invariant recipe for deliberate wide-scope simplification campaigns across a scope x thoroughness cell, with a T4+ relation-graph pre-deliverable
testing
A test skill for README generation