/check
Run static analysis on the Java project — detects configured tools (Checkstyle, SpotBugs, PMD) and reports findings
$ npx -y skills add ducpm2303/claude-java-plugins --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/check
Context preview
What this command does when you run it.
Run static analysis on the Java project — detects configured tools (Checkstyle, SpotBugs, PMD) and reports findings
Command definition
check.mddescription: Run static analysis on the Java project — detects configured tools (Checkstyle, SpotBugs, PMD) and reports findings
/java-core:check
Run static analysis and code quality checks on the project.
Instructions
1. **Detect configured tools** by scanning `pom.xml` or `build.gradle` for:
- Checkstyle (`maven-checkstyle-plugin` / `checkstyle` plugin)
- SpotBugs (`spotbugs-maven-plugin` / `com.github.spotbugs`)
- PMD (`maven-pmd-plugin` / `pmd` plugin)
- SonarQube (`sonar-maven-plugin` / `sonarqube` plugin)
2. **Run available tools**:
- Maven: `mvn checkstyle:check`, `mvn spotbugs:check`, `mvn pmd:check`
- Gradle: `./gradlew checkstyleMain`, `./gradlew spotbugsMain`, `./gradlew pmdMain`
3. If **no tools configured**:
- Run a manual review of the current file or recent changes using `/java-core:java-review`
- Suggest adding Checkstyle to `pom.xml` or `build.gradle`
4. **Report findings** grouped by severity:
- CRITICAL / HIGH: Show file:line, rule name, and description
- MEDIUM / LOW: Summarize counts by category
5. If findings exceed 10 items, show the top 10 by severity and summarize the rest.
A Claude Code plugin marketplace with 3 focused plugins for Java developers. All plugins support Java 8 through Java 21 and tailor advice to your target Java version.
Other commands on claude-java-plugins.
- /build
Build the Java project — detects Maven or Gradle and runs a clean build with test execution
Open command - /audit
Full quality audit — runs security scan, performance check, and test coverage analysis in sequence and produces a combined report
Open command - /routes
List all REST endpoints in the Spring Boot project — scans controllers and prints a route table
Open command - /run
Start the Spring Boot application locally — checks prerequisites, then runs the app and reports startup status
Open command

