From java-core
Reviews Java code for bugs, naming issues, code smells, and version-appropriate idioms. Detects Java version from pom.xml or build.gradle for tailored suggestions.
npx claudepluginhub ducpm2303/claude-java-plugins --plugin java-coreThis skill is limited to using the following tools:
Review the Java code I've selected or provided. Follow these steps:
Detects Java version from pom.xml or build.gradle and suggests refactorings like lambdas (8+), streams (8+), records (16+), pattern matching (17+), plus universal changes like method extraction and dead code removal.
Enforces Checkstyle built-in checks on Java code for naming conventions, code metrics, and suppressions to maintain code quality.
Reviews code changes for project standards compliance using CLAUDE.md, rules/*.md, and stack references; finds duplicates and promotes reuse. Supports Java/Kotlin, TypeScript/React, Python.
Share bugs, ideas, or general feedback.
Review the Java code I've selected or provided. Follow these steps:
Check the project for pom.xml (look for <java.version> or <maven.compiler.source>) or build.gradle (look for sourceCompatibility). If not found, ask: "What Java version are you targeting? (8, 11, 17, 21, or other)"
Optional<T> (Java 8+) for values that may be absentInputStream, Connection, PreparedStatement; suggest try-with-resourcesPascalCasecamelCaseSCREAMING_SNAKE_CASEi, j, k)usr → user, mgr → manager)For each suggestion involving a version-gated feature, state: "Requires Java X+"
Closeable resourcesvar where the type is obvious from the right-hand sideinstanceof chainsRespond with:
Be concise. Each issue: one sentence description + one-line fix example.
After completing this review, offer these follow-up actions based on findings:
/java-refactor/java-testjava-security-reviewer agentjava-performance-reviewer agent/java-docs