Spring Boot 4 Migration Skill
A comprehensive Claude Code skill for migrating Spring Boot 3.x applications to Spring Boot 4.x and staying current across 4.x minor versions.
What This Skill Does
When installed, this skill gives Claude Code targeted guidance on the breaking changes documented in the official Spring Boot 4 migration guide and release notes, and walks you through migration step-by-step. It supports:
- Toolchain version check: Detects unsupported Java, Kotlin, Maven, and Gradle versions and guides upgrades before migration begins
- Two migration strategies: All-at-once (9 sequential phases) or gradual upgrade (Day-1 baseline with 6 independent tracks)
- Compatibility bridges:
spring-boot-starter-classic, spring-boot-jackson2, spring-security-access for incremental adoption
- Minor version tracking: Bridge removal timelines, deprecation promotions, and new features for 4.1, 4.2, and beyond
- Comprehensive coverage: Build files, modular starters, Jackson 3, properties, package relocations, Spring Security 7, testing (MockitoBean, Testcontainers 2, JUnit 6), Spring Framework 7, Hibernate 7.1, observability (OpenTelemetry, Micrometer, Actuator), API versioning, HTTP interfaces and clients, AOT/native image, JSpecify nullability, resilience (retry, concurrency limiting), Spring for Apache Kafka 4 (KRaft-only
@EmbeddedKafka, spring-boot-starter-kafka-test, KIP-848 / KIP-932)
- Verification script: Bridge-aware PASS/FAIL/WARN/BRIDGE checks
- Enterprise rollout: Wave-based strategy for organizations with many services
Install
This skill uses the open Agent Skills format (a folder with SKILL.md), which all major coding agents read. They just look in different folders.
One command, any agent (recommended)
npx skills (Node 22.20+) detects the agents you have installed and links one copy into each agent's folder:
npx skills add adityamparikh/spring-boot-4-migration-skill -g
Drop -g to install into the current project only. Use -a claude-code -a codex … to choose agents, and npx skills update to pull new versions.
Manual install with git
Codex, GitHub Copilot (CLI and cloud agent), Cursor, Gemini CLI, Junie, OpenCode, Goose, Amp, Cline, Roo Code and Devin Desktop read the shared ~/.agents/skills/ folder:
git clone https://github.com/adityamparikh/spring-boot-4-migration-skill ~/.agents/skills/spring-boot-4-migration
Claude Code and Kiro don't read ~/.agents/skills/, so link the same copy into their folders:
mkdir -p ~/.claude/skills && ln -s ~/.agents/skills/spring-boot-4-migration ~/.claude/skills/spring-boot-4-migration
mkdir -p ~/.kiro/skills && ln -s ~/.agents/skills/spring-boot-4-migration ~/.kiro/skills/spring-boot-4-migration
For a single project, clone into the project's .agents/skills/spring-boot-4-migration folder (or .claude/skills/spring-boot-4-migration for Claude Code). Update with git -C ~/.agents/skills/spring-boot-4-migration pull. Keep the folder named spring-boot-4-migration: VS Code Copilot, Cursor, Kiro, Cline and Roo Code require it to match the skill's name.
Claude Code plugin
/plugin marketplace add adityamparikh/spring-boot-4-migration-skill
/plugin install spring-boot-4-migration@spring-boot-4-migration
Installed as a plugin, the skill is namespaced as /spring-boot-4-migration:spring-boot-4-migration.
Usage
In Claude Code, say any of:
- "Migrate this project to Spring Boot 4"
- "Upgrade to Spring Boot 4"
- "Spring Boot 4 migration"
- "Gradual upgrade to Boot 4"
- "Upgrade to Spring Boot 4.1"
- "Update Boot minor version"
The skill will activate automatically and guide you through the migration.
Repository Structure