springboot-verification
Original:🇺🇸 English
Translated
Verification loop for Spring Boot projects: build, static analysis, tests with coverage, security scans, and diff review before release or PR.
4installs
Added on
NPX Install
npx skill4agent add affaan-m/everything-claude-code springboot-verificationTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Spring Boot Verification Loop
Run before PRs, after major changes, and pre-deploy.
Phase 1: Build
bash
mvn -T 4 clean verify -DskipTests
# or
./gradlew clean assemble -x testIf build fails, stop and fix.
Phase 2: Static Analysis
Maven (common plugins):
bash
mvn -T 4 spotbugs:check pmd:check checkstyle:checkGradle (if configured):
bash
./gradlew checkstyleMain pmdMain spotbugsMainPhase 3: Tests + Coverage
bash
mvn -T 4 test
mvn jacoco:report # verify 80%+ coverage
# or
./gradlew test jacocoTestReportReport:
- Total tests, passed/failed
- Coverage % (lines/branches)
Phase 4: Security Scan
bash
# Dependency CVEs
mvn org.owasp:dependency-check-maven:check
# or
./gradlew dependencyCheckAnalyze
# Secrets (git)
git secrets --scan # if configuredPhase 5: Lint/Format (optional gate)
bash
mvn spotless:apply # if using Spotless plugin
./gradlew spotlessApplyPhase 6: Diff Review
bash
git diff --stat
git diffChecklist:
- No debugging logs left (,
System.outwithout guards)log.debug - Meaningful errors and HTTP statuses
- Transactions and validation present where needed
- Config changes documented
Output Template
VERIFICATION REPORT
===================
Build: [PASS/FAIL]
Static: [PASS/FAIL] (spotbugs/pmd/checkstyle)
Tests: [PASS/FAIL] (X/Y passed, Z% coverage)
Security: [PASS/FAIL] (CVE findings: N)
Diff: [X files changed]
Overall: [READY / NOT READY]
Issues to Fix:
1. ...
2. ...Continuous Mode
- Re-run phases on significant changes or every 30–60 minutes in long sessions
- Keep a short loop: + spotbugs for quick feedback
mvn -T 4 test
Remember: Fast feedback beats late surprises. Keep the gate strict—treat warnings as defects in production systems.