Springboot Migration logo

Springboot Migration

Community
a-pavithraa
springboot-migration

Use when upgrading an existing Spring Boot application, for example from Boot 3.x to Boot 4 or to the latest Spring Boot and Java: dependency transitions and starter renames, test annotations such as @MockBean to @MockitoBean, Jackson 3 issues, Spring Modulith 2 or Testcontainers 2 upgrades, code that stops compiling after a version bump, or planning a phased migration. Not for greenfield project creation or isolated repository design.

Overview

Publishera-pavithraa
Repositoryspringboot-skills-marketplace
Skill namespringboot-migration
Stars
80
Forks
12
Bundled files
5
LicenseMIT
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.

  • 5 bundled files

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

  • Open source

    Published by a-pavithraa on GitHub. Read the source before you install it.

Installation

Install the Springboot Migration 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/a-pavithraa/springboot-skills-marketplace/tree/main/plugins/springboot-architecture/skills/springboot-migration
  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/a-pavithraa/springboot-skills-marketplace.git /tmp/springboot-skills-marketplace
mkdir -p .claude/skills
cp -r /tmp/springboot-skills-marketplace/plugins/springboot-architecture/skills/springboot-migration .claude/skills/springboot-migration
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Springboot Migration 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 Springboot Migration 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 Springboot Migration 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 Migration

Purpose

Use this skill for phased upgrade work on existing Spring Boot applications. This skill adds value through the migration scanner, the Boot 4 / Modulith 2 / Testcontainers 2 reference guides, and a strict migration order that avoids mixing too many changes at once.

Critical rules

  • Never migrate blindly. Scan the codebase first.
  • Never apply every migration at once. Follow phased upgrades.
  • Treat Spring Boot 4, Spring Modulith 2, and Testcontainers 2 as the intended target stack for this skill unless the user asks for a narrower target. Boot 4's Java baseline is 17; recommend Java 25 for new compile targets but do not force an upgrade past what the migration actually requires. For Java 26+ targets, read ../creating-springboot-projects/references/java-version-policy.md.
  • Verify after each phase and stop when failures appear.

Workflow

Step 1: Scan the project

Use the migration scanner before planning or editing. It reads pom.xml, build.gradle, or build.gradle.kts (whichever the project has) plus Java sources, properties files, and Flyway migrations:

bash
python3 "${CLAUDE_SKILL_DIR}/scripts/scan_migration_issues.py" /path/to/project

${CLAUDE_SKILL_DIR} is this skill's folder. Codex doesn't set it, so there use the folder this SKILL.md is in.

Use the scan output to identify:

  • current Spring Boot version
  • starter rename work
  • annotation and import migrations
  • configuration changes
  • Spring Modulith compatibility
  • Testcontainers compatibility
  • Java preview APIs (StableValue, StructuredTaskScope) that break on a newer JDK

Step 2: Identify which migrations apply

Load only the references that match the codebase:

MigrationTriggerRead
Spring Boot 4.0Boot 3.x to 4.x upgradereferences/spring-boot-4-migration.md
Spring Modulith 2.0Existing Modulith 1.x usagereferences/spring-modulith-2-migration.md
Testcontainers 2.xExisting Testcontainers 1.x usagereferences/testcontainers-2-migration.md
Cross-cutting scenarios and pitfallsMixed upgrade planningreferences/migration-overview.md

Step 3: Plan the migration in phases

Use the reference guides to plan and execute in this order.

Phase 1: Dependencies
  • update pom.xml or build.gradle
  • rename starters where required
  • add or remove dependencies needed by the target stack
  • align version properties
Phase 2: Source-code changes
  • update imports and package names
  • migrate test annotations
  • fix Jackson 3 issues
  • fix Testcontainers API changes where relevant
Phase 3: Configuration
  • update application.properties or application.yml
  • apply Boot 4 defaults intentionally
  • update Spring Modulith event-store configuration if relevant
Phase 4: Verification
  • run the scanner again with --check; it exits with 1 while any CRITICAL issue remains (a missing modular starter, for example, compiles but fails at startup):

    bash
    python3 "${CLAUDE_SKILL_DIR}/scripts/scan_migration_issues.py" /path/to/project --check
  • run unit tests

  • run integration tests

  • run container-based tests where present

  • check for deprecations and startup failures

Step 4: Use the right migration order for mixed upgrades

When multiple ecosystems are involved, use this order:

  1. Spring Boot 4
  2. Spring Modulith 2
  3. Testcontainers 2

Read references/migration-overview.md before deviating from this sequence.

Step 5: Report progress after each phase

After each phase, report:

  • what changed
  • what remains
  • what failed, if anything
  • whether it is safe to continue

Reference loading guide

  • Spring Boot 4 migration details: references/spring-boot-4-migration.md
  • Spring Modulith 2 migration details: references/spring-modulith-2-migration.md
  • Testcontainers 2 migration details: references/testcontainers-2-migration.md
  • Mixed scenarios and common issues: references/migration-overview.md

Available script

  • scripts/scan_migration_issues.py: --check exits with 1 while CRITICAL issues remain. It skips build output and hidden directories, including project-level skill installs.

Output format

When planning or reporting the migration, return:

markdown
## Migration scope
- Current versions:
- Target versions:

## Planned phases
1. ...
2. ...
3. ...

## Files expected to change
- `path/to/file`

## Verification
- Tests or checks to run

When not to use this skill

  • Creating a new Spring Boot project from scratch
  • Broad architecture advice without an actual migration task

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 Springboot Migration AI skill do?

Use when upgrading an existing Spring Boot application, for example from Boot 3.x to Boot 4 or to the latest Spring Boot and Java: dependency transitions and starter renames, test annotations such as @MockBean to @MockitoBean, Jackson 3 issues, Spring Modulith 2 or Testcontainers 2 upgrades, code that stops compiling after a version bump, or planning a phased migration. Not for greenfield project creation or isolated repository design.

Why use Springboot Migration on TypingMind?

Because you install it once and use it with any model. Springboot Migration 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 Springboot Migration in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/a-pavithraa/springboot-skills-marketplace/tree/main/plugins/springboot-architecture/skills/springboot-migration. 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 Springboot Migration?

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 Springboot Migration?

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

Is the Springboot Migration AI skill free?

Yes. It is published on GitHub by a-pavithraa under the MIT 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 👇