What does this skill do?

The Spring Boot Skill Verification runs a complete six-phase loop to ensure the quality and security of your Spring Boot project before a pull request or deployment. It compiles the code, runs static analysis with SpotBugs, PMD, and Checkstyle, executes tests with a minimum JaCoCo coverage of 80%, scans dependencies for CVEs using OWASP Dependency-Check, and reviews Git diffs to detect secrets or sensitive configurations. Finally, it generates a structured report with a “READY” or “NOT READY” verdict.

Pre-PR Checklist
Verify the build, tests, static analysis, and security before opening a pull request for a Spring Boot service.
Post-Upgrade Dependencies
After updating libraries or refactoring, verify that everything compiles, passes tests, and does not introduce any new CVEs.
Pre-Deployment Verification
Run the entire pipeline in staging or production to ensure that the code is ready for release.
Security Audit
Scan dependencies with OWASP Dependency-Check and look for exposed secrets in the code and Git history.

Usage examples

🔀 Pre-PR Verification
Run the entire test suite for my Spring Boot project before opening the pull request.
🛡️ Security Scan
Check for CVEs in the dependencies in my pom.xml and look for exposed secrets in the Git history.
📊 Test coverage
Run the tests using JaCoCo and verify that the line and branch coverage is at least 80%.
🔍 Review of Differences
Review the changes using `git diff` and make sure there are no debug logs or sensitive configuration settings left behind.

Features

Build with Maven or Gradle Build using `mvn -T 4 clean verify -DskipTests` or `./gradlew clean assemble -x test`, stopping the process if it fails.
Multi-plugin static analysis Run SpotBugs, PMD, and Checkstyle with a single command to detect code smells and bad practices.
JaCoCo Threshold Tests Run `mvn test` and generate the JaCoCo report, verifying at least 80% coverage in lines and branches.
OWASP Scan and Secrets Check for CVEs using `dependency-check-maven` and review the code and Git history for exposed secrets.
Final Structured Report Returns a VERIFICATION REPORT containing the status of each phase and an overall verdict of READY or NOT READY.

Frequently asked questions

Yes. The skill is designed for Spring Boot projects managed with Maven or Gradle. You must have `mvn` or `gradlew` in your PATH.
The default threshold is 80% for lines and branches, as measured by the JaCoCo report generated after running the tests.
No. The skill calls the `org.owasp:dependency-check-maven:check` plugin, which is automatically downloaded from the Maven repository.
The loop is designed to run in its entirety, but you can ask Claude to skip specific phases if your project doesn't yet have SpotBugs, PMD, or Checkstyle configured.
Spring Boot Testing — Quality and Security with Claude AI

¿Prefieres escuchar el contenido? Genera la narración de audio con un clic.