Best use case
springboot-verification is best used when you need a repeatable AI agent workflow instead of a one-off prompt. It is especially useful for teams working in multi. Spring Boot 项目的验证循环:构建、静态分析、带有覆盖率的测试、安全扫描以及发布或 PR 前的差异审查。
Spring Boot 项目的验证循环:构建、静态分析、带有覆盖率的测试、安全扫描以及发布或 PR 前的差异审查。
Users should expect a more consistent workflow output, faster repeated execution, and less time spent rewriting prompts from scratch.
Practical example
Example input
Use the "springboot-verification" skill to help with this workflow task. Context: Spring Boot 项目的验证循环:构建、静态分析、带有覆盖率的测试、安全扫描以及发布或 PR 前的差异审查。
Example output
A structured workflow result with clearer steps, more consistent formatting, and an output that is easier to reuse in the next run.
When to use this skill
- Use this skill when you want a reusable workflow rather than writing the same prompt again and again.
When not to use this skill
- Do not use this when you only need a one-off answer and do not need a reusable workflow.
- Do not use it if you cannot install or maintain the related files, repository context, or supporting tools.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/springboot-verification/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How springboot-verification Compares
| Feature / Agent | springboot-verification | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Spring Boot 项目的验证循环:构建、静态分析、带有覆盖率的测试、安全扫描以及发布或 PR 前的差异审查。
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Spring Boot 验证循环 在提交 PR、发生重大变更后或部署前执行。 ## 阶段 1:构建 ```bash mvn -T 4 clean verify -DskipTests # 或者 ./gradlew clean assemble -x test ``` 如果构建失败,请停止并修复问题。 ## 阶段 2:静态分析 Maven(常用插件): ```bash mvn -T 4 spotbugs:check pmd:check checkstyle:check ``` Gradle(如果已配置): ```bash ./gradlew checkstyleMain pmdMain spotbugsMain ``` ## 阶段 3:测试 + 覆盖率 ```bash mvn -T 4 test mvn jacoco:report # 确认覆盖率是否达到 80% 以上 # 或者 ./gradlew test jacocoTestReport ``` 报告内容: - 测试总数、通过/失败数 - 覆盖率 %(行/分支) ## 阶段 4:安全扫描 ```bash # 依赖项 CVE 漏洞扫描 mvn org.owasp:dependency-check-maven:check # 或者 ./gradlew dependencyCheckAnalyze # 敏感信息/密钥扫描(git) git secrets --scan # 如果已配置 ``` ## 阶段 5:Lint/格式化(可选门禁) ```bash mvn spotless:apply # 如果使用了 Spotless 插件 ./gradlew spotlessApply ``` ## 阶段 6:差异审查 (Diff Review) ```bash git diff --stat git diff ``` 检查清单: - 无残留的调试日志(如 `System.out`、无级别保护的 `log.debug`) - 具有明确语义的错误信息和 HTTP 状态码 - 在必要位置包含了事务(Transaction)和校验(Validation) - 配置变更已记录在文档中 ## 输出模板 ``` 验证报告 =================== 构建: [通过/未通过] 静态分析: [通过/未通过] (spotbugs/pmd/checkstyle) 测试: [通过/未通过] (X/Y 通过, Z% 覆盖率) 安全: [通过/未通过] (发现 CVE: N) 差异: [X 个文件变更] 整体状态: [就绪 / 未完成] 需要修复的问题: 1. ... 2. ... ``` ## 持续模式 - 发生重大变更或在长会话中,每 30~60 分钟重新运行一次各阶段。 - 保持短循环:通过 `mvn -T 4 test` + spotbugs 获取快速反馈。 **注意**:及时的反馈优于迟来的意外。请保持门禁(Gates)严格,并在生产系统中将警告视为缺陷。
Related Skills
springboot-tdd
使用 JUnit 5, Mockito, MockMvc, Testcontainers 和 JaCoCo 进行 Spring Boot 的测试驱动开发(TDD)。适用于添加新功能、修复 bug 或重构场景。
springboot-security
Spring Boot 服务的 Spring Security 身份验证/授权、验证、CSRF、密钥、响应头、速率限制和依赖项安全最佳实践。
springboot-patterns
Spring Boot 架构模式、REST API 设计、分层服务、数据访问、缓存、异步处理与日志。适用于 Java Spring Boot 后端开发。
django-verification
Verification loop for Django projects: migrations, linting, tests with coverage, security scans, and deployment readiness checks before release or PR.
verification-loop
为 Claude Code 会话提供的全面验证系统。
plankton-code-quality
使用 Plankton 实现编写时代码质量强制执行 —— 通过钩子在每次文件编辑时进行自动格式化、代码检查,并由 Claude 驱动自动修复。
autonomous-loops
自主运行 Claude Code 循环的模式与架构 —— 从简单的顺序流水线到 RFC 驱动的多智能体 DAG 系统。
visa-doc-translate
将签证申请文件(图片)翻译成英文,并创建包含原文和译文的双语PDF
swiftui-patterns
SwiftUI 架构模式,使用 @Observable 进行状态管理,视图组合,导航,性能优化,以及现代 iOS/macOS UI 最佳实践。
swift-protocol-di-testing
基于协议的依赖注入,用于可测试的Swift代码——使用聚焦协议和Swift Testing模拟文件系统、网络和外部API。
swift-concurrency-6-2
Swift 6.2 可接近的并发性 — 默认单线程,@concurrent 用于显式后台卸载,隔离一致性用于主 actor 类型。
swift-actor-persistence
在 Swift 中使用 actor 实现线程安全的数据持久化——基于内存缓存与文件支持的存储,通过设计消除数据竞争。