migrate-simple-without-mtool
Migrates a Spring Boot application to Quarkus. Analyze the code source. Use when the user wants to migrate, convert, or port a Spring Boot app to Quarkus, mentions "spring to quarkus", "quarkus migration", "replace spring", or asks about migrating "pom.xml", "build.gradle", "Spring MVC", "Spring Data JPA", "@SpringBootApplication".
- License 许可
- Apache-2.0
- 所属仓库
- quarkusio/skills
- 最近更新
- 2026-11-11
- Stars
- ★ 37
- Forks
- 11
01 前言 Front Matter
- name
- migrate-simple-without-mtool
- description
- Migrates a Spring Boot application to Quarkus. Analyze the code source. Use when the user wants to migrate, convert, or port a Spring Boot app to Quarkus, mentions "spring to quarkus", "quarkus migration", "replace spring", or asks about migrating "pom.xml", "build.gradle", "Spring MVC", "Spring Data JPA", "@SpringBootApplication".
02 资源文件 1
- 参考文档references/annotation-map.md12.2 KB
03 SKILL.md 正文
Spring Boot to Quarkus — Code Migration (without mtool)
Simulate to migrate Spring Boot Java source code to Quarkus.
Critical Rules
- Non-interactive. Do NOT ask the user any questions. Do NOT ask for strategy choices. Just run the steps below and report the results.
- Scope: code migration only. Do NOT migrate tests, frontend templates, static assets, or build plugins. Only migrate Java source files under
src/main/java/and the build file (pom.xmlorbuild.gradle). Leave everything else untouched. - Never delete code you cannot migrate. Leave the original in place with a
// TODO: Migration required — <reason>comment. - Don't compile the code using maven or gradle.
Step 1: Analyze the Project
1. Discover only the Java source files
Find all Java source files in the "src/main/java" project:
find src -name "src/main/java/*.java" -type f
For each Java file, note:
- The class name and package
- Which Spring annotations it uses (
@Component,@Service,@RestController,@Autowired,@Entity,@SpringBootApplication, etc.) - Which Spring imports it has (
org.springframework.*)
2. Identify what to migrate
For each unique annotation discovered:
- Look it up in
references/annotation-map.md— find the matching row in the Spring column - Check the Compat column to find the Quarkus Spring compatibility annotation replacing it
- Note the file path(s) from the report — these are the files where the change must be applied
Annotations that appear in annotation-map.md with "Same" or "Not needed" in the Quarkus column require no code change. Focus on annotations where the Quarkus equivalent differs (e.g. @Autowired → @Inject, @Controller → @Path, @Service → @ApplicationScoped).
Also check:
- Whether there is a
@SpringBootApplicationmain class to remove - Whether any annotation is marked NOT supported in the compat column — these require manual migration
Step 2: Report
- Present a brief summary of what was found and what needs to change.
Step 3. Stop
Stop the migration process as we are simulating and wanted to get the token usage
04 同仓库更多 Skills
dummy-skill
Dummy skill for testing argument substitution
migrate-simple-with-mtool
Migrates a Spring Boot application to Quarkus. Analyze the code source using mtool. Use when the user wants to migrate, convert, or port a Spring Boot app to Quarkus, mentions "spring to quarkus", "quarkus migration", "replace spring", or asks about migrating "pom.xml", "build.gradle", "Spring MVC", "Spring Data JPA", "@SpringBootApplication".
hello-world
Use when user is saying Hello, HelloWorld.
scaffold-quarkus-mcp-server
Scaffold a new Quarkus MCP server project with greeting tools, integration tests, and README. Use when the user wants to create, scaffold, or generate a Quarkus MCP server, mentions "quarkus mcp", "quarkus mcp server", "quarkiverse mcp", or asks to generate a Quarkus project with MCP tools.
quarkus-update
Use when working in a Quarkus project and the user wants to check if their build files are up-to-date, compare project structure against a reference, or upgrade their Quarkus version. Triggers on "check project", "update quarkus", "is my project up to date", "compare build", "quarkus upgrade".
migrate-spring-to-quarkus
Migrates Spring Boot applications to Quarkus using a modular, gate-driven approach. Supports Spring compatibility extensions and full Quarkus migration paths. Use when the user wants to migrate, convert, or port a Spring Boot app to Quarkus, mentions "spring to quarkus", "quarkus migration", "replace spring", or asks about migrating "pom.xml", "build.gradle", "Spring MVC", "Spring Data JPA", "Thymeleaf", "@SpringBootApplication".