springboot-migration SKILL.md skillA
springboot-migration from zhaoxingpeng/dbjavagenix is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add zhaoxingpeng/dbjavagenix/springboot-migration@git:20260524.34f1f90Pins git:20260524.34f1f90 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- zhaoxingpeng/dbjavagenix
- Path
.claude/skills/springboot-migration/SKILL.md- Versions recorded
- 1
- Latest version
- git:20260524.34f1f90, committed May 24, 2026
- Size
- 10,531 bytes
- Repository stars
- 36
- License
- a license file GitHub does not identify
Spring Boot 2.7 → 3.x 升级迁移工作流。读取现有项目配置 + 依赖,推断版本,生成 javax→jakarta、SpringDoc、Spring Security 6 等关键迁移步骤的检查清单与执行计划。当用户提到"升级 Spring Boot"、"javax 改 jakarta"、"Spring Boot 2 升 3"、"接口废弃了"等场景时使用。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# springboot-migration
## 适用范围
本 skill 覆盖 **Spring Boot 2.7.x → 3.x** 的迁移。Spring Boot 3.0 把 baseline 从 Java 8/11 抬到 Java 17,并把 `javax.*` 全部换成 `jakarta.*`,是一次硬性破坏性变更。
**支持的 3.x 目标版本**: 3.0 / 3.1 / 3.2 / 3.3 / 3.5 (LTS 2026)
## 工作流总览
```
[1] 现状扫描 → [2] 版本推断 → [3] 生成迁移计划
↓
[5] 执行+验证 ← [4] 用户确认 ★
```
每一步都通过 MCP 工具完成,不直接修改用户代码——而是输出"建议清单",让用户决定。
---
## 阶段 1: 现状扫描
### 1.1 读取配置
调用 **`springboot_read_config`**:
```json
{ "project_path": "<用户的 Spring Boot 项目根目录>" }
```
记录从返回值中提取的:
- Spring Boot 版本(从 parent pom 或 dependencyManagement)
- Java 版本(`maven.compiler.source` / `<java.version>`)
- 已声明的 profiles
- 已 inferred 的 base package
如果项目根目录推断失败 → 提示用户提供更具体的 `project_path`。
### 1.2 分析依赖
调用 **`springboot_analyze_dependencies`**:
```json
{
"template_category": "MybatisPlus-Mixed",
"database_type": "mysql",
"include_swagger": true,
"include_lombok": true,
"include_mapstruct": true,
"project_path": "<同上>"
}
```
从返回值收集:
- 当前 spring-boot-starter-* 系列的版本
- 是否在用 springfox-swagger(2.x 路径,3.x 必须改 SpringDoc)
- 是否在用 javax.* 注解(JPA/Servlet/Validation)
- mybatis-plus / mybatis 版本
…Read the whole file at its exact version.
How to install
mdr add zhaoxingpeng/dbjavagenix/springboot-migration@sha256:7a098799f8cb48b5The line at the top of this page pins the label git:20260524.34f1f90, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_ifhn34rsumplgjid)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on May 24, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (10531 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
zhaoxingpeng/dbjavagenix · 36 stars · license a license file GitHub does not identify · pushed 2026-09-12 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_ifhn34rsumplgjid GET https://markdownregistry.com/api/v1/resolve?ref=zhaoxingpeng/dbjavagenix/springboot-migration GET https://markdownregistry.com/api/v1/blob/7a098799f8cb48b5b366d727ac4fd0cfa9e90c66746bd308b20b29a09267a21c
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from zhaoxingpeng/dbjavagenix
Every file in zhaoxingpeng/dbjavagenix