Runs Spring Boot verification loop: build (Maven/Gradle), static analysis (SpotBugs/PMD/Checkstyle), tests with JaCoCo coverage, security scans (OWASP/git-secrets), linting, and diff review before PRs/releases.
How this skill is triggered — by the user, by Claude, or both
Slash command
/everything-claude-code:springboot-verificationThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
在提交 PR 前、发生重大变更后以及预部署阶段运行此流程。
在提交 PR 前、发生重大变更后以及预部署阶段运行此流程。
mvn -T 4 clean verify -DskipTests
# 或者
./gradlew clean assemble -x test
如果构建失败,请停止并修复。
Maven(常用插件):
mvn -T 4 spotbugs:check pmd:check checkstyle:check
Gradle(如果已配置):
./gradlew checkstyleMain pmdMain spotbugsMain
mvn -T 4 test
mvn jacoco:report # 验证 80% 以上的覆盖率
# 或者
./gradlew test jacocoTestReport
报告指标:
# 依赖项 CVE 漏洞扫描
mvn org.owasp:dependency-check-maven:check
# 或者
./gradlew dependencyCheckAnalyze
# 密钥(Secrets)扫描 (git)
git secrets --scan # 如果已配置
mvn spotless:apply # 如果使用了 Spotless 插件
./gradlew spotlessApply
git diff --stat
git diff
自查清单(Checklist):
System.out,或缺少防护检查的 log.debug)验证报告 (VERIFICATION REPORT)
===================
构建 (Build): [通过/失败]
静态分析 (Static): [通过/失败] (spotbugs/pmd/checkstyle)
测试 (Tests): [通过/失败] (通过 X/Y,覆盖率 Z%)
安全 (Security): [通过/失败] (CVE 发现数量: N)
差异 (Diff): [X 个文件已变更]
结论 (Overall): [就绪 / 未就绪]
待修复问题:
1. ...
2. ...
mvn -T 4 test + spotbugs 以获得快速反馈。记住:快速反馈优于后期惊讶。保持严格的准入门槛——在生产系统中,将警告(Warnings)视为缺陷(Defects)。
npx claudepluginhub codelably/harmony-claude-codeRuns a Spring Boot verification loop including build, static analysis, tests with coverage, security scanning, and diff review before PR or release.
Runs a verification loop for Spring Boot projects: build, static analysis, tests with coverage, security scans, and diff review before PRs or releases.
Verifies Spring Boot 4.x projects for dependency compatibility, configuration correctness, and migration readiness. Analyzes pom.xml, build.gradle, and application.yml files.