spring-boot-4-migration
Skill by github
Guides an AI assistant through migrating a Spring Boot 3.x application to Spring Boot 4.0. It is for explicit Boot 3.x to 4.0 migrations, fixing failures caused by one, or reviewing one.
Install spring-boot-4-migration
Built from the published package, never by AI.
git clone --depth 1 https://github.com/github/awesome-copilot /tmp/awesome-copilot && mkdir -p ~/.claude/skills && cp -r /tmp/awesome-copilot/skills/spring-boot-4-migration ~/.claude/skills/spring-boot-4-migrationRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install spring-boot-4-migration in Claude Code
git clone --depth 1 https://github.com/github/awesome-copilot /tmp/awesome-copilot && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/awesome-copilot/skills/spring-boot-4-migration ~/.gemini/antigravity-cli/skills/spring-boot-4-migrationAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install spring-boot-4-migration in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
The spring-boot-4-migration skill gives an AI assistant a step-by-step workflow for moving a Spring Boot 3.x application to Spring Boot 4.0. It covers Spring Framework 7, Jackson 3, modular starters and JSpecify nullability. The workflow detects the current Boot, Java and build tool versions, moves to the latest 3.5.x first, records a baseline build, then bumps to 4.0.x and fixes the build one item at a time. Reference files for each topic are loaded only when needed.
The skill covers Maven and Gradle, including the Kotlin DSL and version catalogs. It is meant for an explicit Boot 3.x to 4.0 migration, for fixing build or test failures caused by that move, or for reviewing one. It is not for 3.x patch bumps or 4.0 to 4.1 upgrades. It also points to OpenRewrite recipes when available and tells the assistant not to read secrets.
Written from the project's SKILL.md and checked against it.
What it can do
- Detect current stateIdentifies the Boot version, build tool, Java version, Kotlin version and key libraries in the project.
- Staged 3.5.x upgradeMoves projects older than 3.5 to the latest 3.5.x and gets tests green before moving to 4.0.
- Baseline buildRuns the full build and tests and records failures that exist before the migration.
- Ordered 4.0 fixesBumps to 4.0.x and fixes starters, build files, Jackson 3, core framework, properties, web, tests and actuator in order.
- Jackson 3 migrationCovers the move to tools.jackson packages and the temporary Jackson 2 compatibility module.
- Properties migrator guidanceSuggests adding spring-boot-properties-migrator temporarily to find renamed configuration keys.
- Verification checklistLists final checks: full build, tests, startup, actuator health, endpoint smoke tests and native image build.
- OpenRewrite automationPoints to the OpenRewrite Boot 4.0 upgrade recipe when available, with a review of the diff.
What you need
- Java 17 or later (Java 25 recommended)
- A Spring Boot 3.x project
- Maven with mvnw or Gradle with gradlew
Try asking
- Migrate this Spring Boot 3.4 project to Spring Boot 4.0 step by step
- Fix the test failures left after upgrading to Spring Boot 4.0
- Review my Spring Boot 4.0 migration for Jackson 3 and starter issues
Good to know
- Not for Boot 3.x patch bumps or 4.0 to 4.1 upgrades.
- Projects older than 3.5 must first move to the latest 3.5.x.
- Reference files show Gradle snippets; Maven users translate coordinates.
- The assistant should fetch the version-specific official guide before editing.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/spring-boot-4-migration/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md8 KB -
references/01-prerequisites.md2 KB -
references/02-starters-and-removed-features.md10 KB -
references/03-jackson-3.md4 KB -
references/04-core-framework.md4 KB
Show all 12 files
-
references/05-build-and-dependencies.md6 KB -
references/06-configuration-properties.md3 KB -
references/07-web-and-messaging.md7 KB -
references/08-testing.md6 KB -
references/09-actuator-and-observability.md3 KB -
references/10-kotlin-and-java-build-config.md1 KB -
references/11-checklist-pitfalls-resources.md6 KB
Alternatives to spring-boot-4-migration
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
spring-boot-4-migration: common questions
Can I jump from Spring Boot 3.2 straight to 4.0?
No. The skill says to upgrade to the latest 3.5.x first, fix deprecation warnings and get tests green before touching 4.0.
Does this skill work with Gradle and Maven?
Yes. The source says it covers Maven and Gradle, including Kotlin DSL and version catalogs.
Is this skill for Spring Boot 4.1 upgrades?
No. The source says 4.0 to 4.1 upgrades should follow the target Boot version's release notes and upgrade guide instead.
How do I install spring-boot-4-migration?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is spring-boot-4-migration free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is spring-boot-4-migration safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to spring-boot-4-migration?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
