/quarkus:migrate-spring-to-quarkusfrom quarkus
Migrates Spring Boot applications to Quarkus using a modular, gate-driven approach.
Ships in quarkus. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Modular, gate-driven migration of Spring Boot applications to Quarkus.
// TODO: Migration required — <reason> comment explaining what needs to change and why. This applies to:
// REMOVED: comment at the same location.<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>. All changes go into <target>. The only exception is <source>/migration-metadata/, where extraction metadata may be written.Load the relevant reference file when working on a module:
| Reference | Use during |
|---|---|
| references/dependency-map.md | Build module: dependency and plugin mapping |
| references/annotation-map.md | Code module: annotation, DI, REST, Data, Security migration |
| references/config-map.md | Build module: configuration property migration |
<source>. A module executes only when its gate status is: PASS.<source> to determine the gate result -- do not rely on blind grep commands; use your understanding of the codebase.| Module | Gate Check | Gate Result |
|---|---|---|
| prerequisite | JDK version, build tool (Maven ≥ 3.6 recommended 3.9+ / Gradle ≥ 7 recommended 8.x), container runtime | ALWAYS — ABORT entire migration if any hard check fails; no subsequent module runs |
| planning | Prerequisite check passed | ALWAYS — generates <target>/migration-spec.yaml |
| build | Spring 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 sources | PASS if JPA/persistence annotations found; SKIP otherwise |
| code | Spring 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 sources | PASS if any found; SKIP otherwise |
| frontend | Thymeleaf/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 bean | PASS if view layer found; SKIP otherwise |
| testing | Spring test annotations in test sources (@SpringBootTest, @WebMvcTest, @MockBean) | PASS if Spring tests found; SKIP otherwise |
| cleanup | Leftover Spring artifacts after all other modules | ALWAYS -- runs after all other modules |
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
To run a single module outside the full migration flow, read all the files in the module folder directly:
modules/build/build.md and execute it"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.
All verification checks run against <target>. Run each check in order. A check fails = stop and fix before continuing.
| # | Check | Command (run in <target>) | Pass criteria |
|---|---|---|---|
| 1 | Builds | cd <target> && ./mvnw clean package -DskipTests / cd <target> && ./gradlew clean build -x test | Exit code 0, no compilation errors |
| 2 | No Spring deps | Search <target> build file for org.springframework | Zero Spring deps (except Spring compat extensions if using that strategy) |
| 3 | Has Quarkus | Search <target> build file for io.quarkus | Quarkus BOM and at least one extension present |
| 4 | Tests pass | cd <target> && ./mvnw test / cd <target> && ./gradlew test | All tests pass using @QuarkusTest |
| 5 | Starts up | cd <target> && ./mvnw quarkus:dev / cd <target> && ./gradlew quarkusDev | App starts, curl http://localhost:8080/q/health returns UP |
| 6 | No leftover templates | Search <target> for Thymeleaf/JSP references | None remaining (unless intentionally kept) |
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 reportThe reporting module must run after verification so that it can include check results and record an accurate finished_at timestamp.
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:
// TODO: Migration required comment and why.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]
LICENSE (opens in a new tab)README.md (opens in a new tab)SOURCE.md (opens in a new tab)modules/build/build.md (opens in a new tab)modules/build/gradle.md (opens in a new tab)modules/build/maven.md (opens in a new tab)modules/cleanup/cleanup.md (opens in a new tab)modules/code/code.md (opens in a new tab)modules/code/messaging.md (opens in a new tab)modules/code/persistence.md (opens in a new tab)modules/compile-fix.md (opens in a new tab)modules/frontend/freemarker-quarkus.md (opens in a new tab)modules/frontend/freemarker-qute.md (opens in a new tab)modules/frontend/freemarker.md (opens in a new tab)modules/frontend/frontend.md (opens in a new tab)modules/frontend/jsf-myfaces.md (opens in a new tab)modules/frontend/jsf-qute.md (opens in a new tab)modules/frontend/jsf.md (opens in a new tab)modules/frontend/jsp.md (opens in a new tab)modules/frontend/thymeleaf.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
6 skills in this plugin
/create-quarkus-projectCreate a new Quarkus project (Maven or Gradle) with the Quarkus CLI, code.quarkus.io API or Maven plugin, choose extensions, and run it in dev mode. Use when asked to scaffold, bootstrap or start a Quarkus application or REST API./quarkus-application-developmentWrite Quarkus application code: REST with Quarkus REST, validation, exception mappers, OpenAPI, configuration, CDI (ArC), Hibernate ORM with Panache, Mutiny and virtual threads, Reactive Messaging with Kafka, OIDC security, health, metrics, OpenTelemetry, fault tolerance, REST Client, scheduler and cache. Use when implementing or changing features in an existing Quarkus project./npx claudepluginhub fcakiroglu16/marketplace --plugin quarkus