/audit
Full quality audit — runs security scan, performance check, and test coverage analysis in sequence and produces a combined report
$ 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
/audit
Context preview
What this command does when you run it.
Full quality audit — runs security scan, performance check, and test coverage analysis in sequence and produces a combined report
Command definition
audit.mddescription: Full quality audit — runs security scan, performance check, and test coverage analysis in sequence and produces a combined report
/java-quality:audit
Run a complete quality audit combining security, performance, and test coverage checks.
Instructions
Run each phase in order. Do not stop on findings — complete all three phases first, then report.
---
Phase 1 — Security scan
Apply the checks from `/java-quality:java-security-check`:
- Scan for OWASP Top 10 patterns (SQL injection, XSS, hardcoded secrets, weak crypto, etc.)
- Scan for logging of sensitive data
- Scan for missing input validation at controller boundaries
---
Phase 2 — Performance scan
Apply the checks from `/java-quality:java-perf-check`:
- N+1 query patterns (loops calling repository methods)
- Eager fetch on collections
- Missing pagination on list endpoints
- Expensive object instantiation in loops
---
Phase 3 — Test coverage analysis
1. Run: `mvn test jacoco:report` or `./gradlew test jacocoTestReport` 2. If JaCoCo not configured, estimate coverage by counting:
- Service classes with no corresponding `*Test.java`
- Public methods with no test referencing them
3. Report line coverage % if available; otherwise report untested service classes
---
Combined Report
╔══════════════════════════════════════════════════════════╗
║ JAVA QUALITY AUDIT REPORT ║
╠══════════════════════════════════════════════════════════╣
║ SECURITY │ X critical, X high, X medium findings ║
║ PERF │ X high-impact, X medium findings ║
║ COVERAGE │ XX% line coverage (or N untested services) ║
╠══════════════════════════════════════════════════════════╣
║ TOP ACTIONS (prioritized) ║
║ 1. [CRITICAL] file:line — description ║
║ 2. [HIGH] file:line — description ║
║ ... ║
╚══════════════════════════════════════════════════════════╝
List at most 10 top-priority actions, sorted by severity across all three phases.
Read more
description: Full quality audit — runs security scan, performance check, and test coverage analysis in sequence and produces a combined report
/java-quality:audit
Run a complete quality audit combining security, performance, and test coverage checks.
Instructions
Run each phase in order. Do not stop on findings — complete all three phases first, then report.
---
Phase 1 — Security scan
Apply the checks from `/java-quality:java-security-check`:
- Scan for OWASP Top 10 patterns (SQL injection, XSS, hardcoded secrets, weak crypto, etc.)
- Scan for logging of sensitive data
- Scan for missing input validation at controller boundaries
---
Phase 2 — Performance scan
Apply the checks from `/java-quality:java-perf-check`:
- N+1 query patterns (loops calling repository methods)
- Eager fetch on collections
- Missing pagination on list endpoints
- Expensive object instantiation in loops
---
Phase 3 — Test coverage analysis
1. Run: `mvn test jacoco:report` or `./gradlew test jacocoTestReport` 2. If JaCoCo not configured, estimate coverage by counting:
- Service classes with no corresponding `*Test.java`
- Public methods with no test referencing them
3. Report line coverage % if available; otherwise report untested service classes
---
Combined Report
╔══════════════════════════════════════════════════════════╗ ║ JAVA QUALITY AUDIT REPORT ║ ╠══════════════════════════════════════════════════════════╣ ║ SECURITY │ X critical, X high, X medium findings ║ ║ PERF │ X high-impact, X medium findings ║ ║ COVERAGE │ XX% line coverage (or N untested services) ║ ╠══════════════════════════════════════════════════════════╣ ║ TOP ACTIONS (prioritized) ║ ║ 1. [CRITICAL] file:line — description ║ ║ 2. [HIGH] file:line — description ║ ║ ... ║ ╚══════════════════════════════════════════════════════════╝
List at most 10 top-priority actions, sorted by severity across all three phases.
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 - /check
Run static analysis on the Java project — detects configured tools (Checkstyle, SpotBugs, PMD) and reports findings
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

