Migrate Spring To Quarkus logo

Migrate Spring To Quarkus

Organization
quarkusio
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".

Overview

Publisherquarkusio
Repositoryskills
Skill namemigrate-spring-to-quarkus
Stars
37
Forks
11
Bundled files
22
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 22 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by quarkusio on GitHub. Read the source before you install it.

Installation

Install the Migrate Spring To Quarkus AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/quarkusio/skills/tree/main/skills/migrate-spring-to-quarkus
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/quarkusio/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/migrate-spring-to-quarkus .claude/skills/migrate-spring-to-quarkus
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Migrate Spring To Quarkus in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Migrate Spring To Quarkus on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Migrate Spring To Quarkus is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Spring Boot to Quarkus Migration

Modular, gate-driven migration of Spring Boot applications to Quarkus.

Critical Rules

  • Never delete code you cannot migrate. If you cannot fully migrate a piece of code, leave the original in place with a // TODO: Migration required — <reason> comment explaining what needs to change and why. This applies to:
    • Methods, classes, or annotations you don't know how to convert
    • Spring-specific patterns without a clear Quarkus equivalent
    • Configuration or wiring code whose purpose is unclear If you must remove code (e.g., a Spring-only base class), document what was removed and why in a // REMOVED: comment at the same location.
  • Don't break the build. Run the compile command in <target> after each phase (cd <target> && ./mvnw clean compile -DskipTests for Maven, cd <target> && ./gradlew clean compileJava -x test for Gradle). Never move to the next phase with a broken build.
  • Source is read-only. Never modify files in <source>. All changes go into <target>. The only exception is <source>/migration-metadata/, where extraction metadata may be written.
  • Document every decision. When choosing between migration approaches, explain the trade-off to the user.
  • No silent changes. Every file modification must be intentional and traceable. If a check fails after a phase, diagnose and fix — don't skip the check or delete the failing code.

Reference Files

Load the relevant reference file when working on a module:

ReferenceUse during
references/dependency-map.mdBuild module: dependency and plugin mapping
references/annotation-map.mdCode module: annotation, DI, REST, Data, Security migration
references/config-map.mdBuild module: configuration property migration

Step 1: Execute Modules

Instructions

  • Execute the instructions of the modules according to the following Decision Gate Table
  • Always log which Module and Gate check is evaluated and the status using the format: Gate result: and <CONDITION_EVALUATED>

Decision Gate Table

  • For each module, evaluate whether it applies by inspecting <source>. A module executes only when its gate status is: PASS.
  • Inspect <source> to determine the gate result -- do not rely on blind grep commands; use your understanding of the codebase.
ModuleGate CheckGate Result
prerequisiteJDK version, build tool (Maven ≥ 3.6 recommended 3.9+ / Gradle ≥ 7 recommended 8.x), container runtimeALWAYS — ABORT entire migration if any hard check fails; no subsequent module runs
planningPrerequisite check passedALWAYS — generates <target>/migration-spec.yaml
buildSpring Boot parent/starters/spring-boot-maven-plugin in pom.xml, or Spring Boot/io.spring.dependency-management plugins in build.gradle(.kts)PASS if Spring Boot build markers found; SKIP otherwise
persistence@Entity, JpaRepository, CrudRepository, or @Repository in Java sourcesPASS if JPA/persistence annotations found; SKIP otherwise
codeSpring annotations in Java sources (@Component, @Service, @Controller, @Autowired, etc.)PASS if Spring annotations found; SKIP otherwise
messaging@KafkaListener, @RabbitListener, @JmsListener, @SendTo, @EnableKafka, @EnableRabbit, KafkaTemplate, RabbitTemplate, or JmsTemplate in Java sourcesPASS if any found; SKIP otherwise
frontendThymeleaf/JSP templates in templates/ or webapp/, static resources in static/, JSF XHTML files in webapp/ or META-INF/resources/, FreeMarker templates (.ftl, .ftlh, .ftlx), freemarker.* imports, or FreeMarkerConfigurer beanPASS if view layer found; SKIP otherwise
testingSpring test annotations in test sources (@SpringBootTest, @WebMvcTest, @MockBean)PASS if Spring tests found; SKIP otherwise
cleanupLeftover Spring artifacts after all other modulesALWAYS -- runs after all other modules

Execution Protocol

STEP 0 — PREREQUISITE GATE (mandatory, runs before everything else)
  1. LOAD modules/prerequisite/prerequisite.md and execute all checks
  2. IF prerequisite gate == FAIL
       → log "Migration aborted — prerequisite gate failed: <failing check(s)>"
       → STOP immediately. Do not evaluate or execute any further module.
  3. IF prerequisite gate == PASS (warnings are allowed)
       → log "Prerequisite gate: PASS — proceeding with migration"
       → continue to the module loop below

FOR module IN [planning, build, persistence, code, messaging, frontend, testing, cleanup]:

  1. EVALUATE — inspect <source> for the gate condition
  2. DECIDE
     IF gate == ALWAYS → proceed to step 3
     IF gate == PASS   → proceed to step 3
     IF gate == SKIP   → log "Module {name}: SKIPPED — {reason}", mark checkbox, continue
  3. LOAD — read the module file and relevant reference files
  4. EXECUTE — read from <source>, write to <target>. Follow the module instructions, adapting to the chosen strategy
  5. COMPILE — run the compile command in <target> (`cd <target> && ./mvnw clean compile -DskipTests` for Maven, `cd <target> && ./gradlew clean compileJava -x test` for Gradle)
     Fails → load [modules/compile-fix.md](modules/compile-fix.md) and follow the retry procedure.
             If compile-fix reports MANUAL_REVIEW_REQUIRED (unresolved errors after 3 retries),
             ask the user whether to continue with the next module or stop the migration.
  6. LOG — mark checkbox as done

Running Individual Modules

To run a single module outside the full migration flow, read all the files in the module folder directly:

  • "Read modules/build/build.md and execute it"
  • "Run only the frontend module"
  • "Re-run the cleanup module"

The module will use the current <source> and <target> paths and the chosen strategy (if already decided). If no strategy has been chosen, the module will ask.

Step 2: Verify the Migration

All verification checks run against <target>. Run each check in order. A check fails = stop and fix before continuing.

#CheckCommand (run in <target>)Pass criteria
1Buildscd <target> && ./mvnw clean package -DskipTests / cd <target> && ./gradlew clean build -x testExit code 0, no compilation errors
2No Spring depsSearch <target> build file for org.springframeworkZero Spring deps (except Spring compat extensions if using that strategy)
3Has QuarkusSearch <target> build file for io.quarkusQuarkus BOM and at least one extension present
4Tests passcd <target> && ./mvnw test / cd <target> && ./gradlew testAll tests pass using @QuarkusTest
5Starts upcd <target> && ./mvnw quarkus:dev / cd <target> && ./gradlew quarkusDevApp starts, curl http://localhost:8080/q/health returns UP
6No leftover templatesSearch <target> for Thymeleaf/JSP referencesNone remaining (unless intentionally kept)

Step 3: Reporting

After verification completes, run the reporting module. It reads the verification results and all per-module data to produce:

  • <target>/migration-metadata/execution-metadata.json -- agent, model, tokens, cost, timing, verification results
  • <target>/migration-summary.md -- full 13-section migration report

The reporting module must run after verification so that it can include check results and record an accurate finished_at timestamp.

Console Summary

After the reporting module completes, present the following directly to the user so they get an immediate overview without opening the generated files.

Answer each question honestly:

  1. What migrated cleanly? Patterns that mapped 1:1.
  2. What required manual judgment? Non-obvious decisions made.
  3. What was left as TODO? Every // TODO: Migration required comment and why.
  4. Was any code removed? What, where, justification. Flag runtime risks.
  5. What checks failed initially? Failures from verification and how you fixed them.
  6. What's missing from the skill references? Mappings you had to figure out.

Then present the review as a structured report:

## Migration Report: [app-name]

### Summary
- Source: [source directory path]
- Target: [target directory path]
- Strategy: [Full Migration / Spring Compatibility]
- Agent: [AI agent name - e.g claude, pi, opencode, gemini, etc]
- Model: [model name — e.g. claude-sonnet-4-6, check system context]
- Modules completed: [X/9]
- Checks passed: [X/6]
- Token usage: [input tokens / output tokens — check session stats]
- Estimated cost: [~$X.XX — token counts × per-model pricing from anthropic.com/pricing]

### Changes by Module
| Module | Files changed | Key changes |
|--------|--------------|-------------|
| build | pom.xml or build.gradle(.kts), application.properties | ... |
| code | ... | ... |
| frontend | ... | ... |
| testing | ... | ... |

### Validation Results
| Check | Result | Notes |
|-------|--------|-------|
| Builds | PASS/FAIL | |
| No Spring deps | PASS/FAIL | |
| Has Quarkus | PASS/FAIL | |
| Tests pass | PASS/FAIL | |
| Starts up | PASS/FAIL | |
| No leftover templates | PASS/FAIL | |

### Unmigrated Code (TODOs)
| File | Line | What | Why not migrated |
|------|------|------|-----------------|

### Removed Code
| File | What was removed | Justification |
|------|-----------------|---------------|

### Skill Improvement Suggestions
- [Any missing mappings, unclear instructions, or edge cases discovered]

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Migrate Spring To Quarkus AI skill do?

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".

Why use Migrate Spring To Quarkus on TypingMind?

Because you install it once and use it with any model. Migrate Spring To Quarkus is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Migrate Spring To Quarkus in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/quarkusio/skills/tree/main/skills/migrate-spring-to-quarkus. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Migrate Spring To Quarkus?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Migrate Spring To Quarkus?

As many as you like. As long as a model supports skills, you can use Migrate Spring To Quarkus with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Migrate Spring To Quarkus AI skill free?

Yes. It is published on GitHub by quarkusio under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇