Agent skill

Spring Mvc To Boot Migrator

by ArabelaTso in ArabelaTso/Skills-4-SE

Automatically migrate Spring MVC applications to Spring Boot.

Apache-2.0Auto-check passedBackend & APIs

Install Spring Mvc To Boot Migrator

skills CLI
$ npx skills add ArabelaTso/Skills-4-SE --skill spring-mvc-to-boot-migrator -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ArabelaTso/Skills-4-SE spring-mvc-to-boot-migrator --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ArabelaTso/Skills-4-SE.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/spring-mvc-to-boot-migrator .claude/skills/spring-mvc-to-boot-migrator && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
spring-mvc-to-boot-migrator
GitHub stars
253
Token cost
~2.2k tokens
SKILL.md length
674 words
Files
10 (incl. scripts, references, assets)
Skills in repo
170
Repo updated
First seen
Licence
Apache-2.0

At a glance

Automatically migrate Spring MVC applications to Spring Boot.

  • Works in 6 steps: Preparation → Build Configuration Migration → Annotation Migration → …
  • You need to modernize a Spring MVC project to Spring Boot while preserving functionality
  • SKILL.md covers Overview, Quick Start, Supported Migration Paths and Migration Process, plus 8 more sections
  • Runs Python and Java scripts from its folder; calls gradle, python and git

What it does

Spring Mvc To Boot Migrator is an agent skill from ArabelaTso/Skills-4-SE. Automatically migrate Spring MVC applications to Spring Boot. Use when you need to modernize a Spring MVC project to Spring Boot while preserving functionality. The skill analyzes the codebase, updates build configuration (Maven/Gradle), migrates annotations, converts XML configuration to Java/properties, updates controllers and tests, and creates the Spring Boot main application class. Creates git commits for each migration phase and generates a comprehensive summary. Supports both Maven and Gradle projects.

Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 12 other files, including scripts, reference files and assets (for example `references/framework_comparison.md`, `references/migration_guide.md` and `scripts/migrate.py`).

It sits in Backend & APIs, covering Backend development and Commit messages. It works with Spring Boot, Gradle and Java. The repository describes itself as: A curated list of 180+ useful Claude Skills for Software Engineering and resources for customizing AI for SE workflows. The licence is Apache-2.0.

When your agent uses it

  • You need to modernize a Spring MVC project to Spring Boot while preserving functionality
  • Tasks that involve Backend development
  • Tasks that involve Commit messages

Example prompts

  • “/spring-mvc-to-boot-migrator”

Requirements

  • Python 3

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Preparation
  2. Build Configuration Migration
  3. Annotation Migration
  4. Configuration Migration
  5. Test Migration
  6. Summary Generation

What it can do on your machine

Read from SKILL.md and the folder at commit 4f38503. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 5 files in scripts/ (Python and Java), which the agent can run.

    Shell commands in SKILL.md call:

    • gradle
    • python
    • git
    • mvn
    • java
    • curl

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git and curl, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Spring Mvc To Boot Migrator loads about 2.2k tokens when it runs, and up to ~7.2k if it reads all its reference files. Until then it costs about 136 tokens; SKILL.md has 674 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~136
When it runs · the whole SKILL.md, loaded when a task matches
~2.2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~7.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from ArabelaTso/Skills-4-SE at commit 4f38503, republished under its Apache-2.0 licence (© ArabelaTso). 674 words, ~2,232 tokens.

Download SKILL.mdSave it as .claude/skills/spring-mvc-to-boot-migrator/SKILL.md (or your agent's skills folder). This skill also uses 9 other files; get the full folder from GitHub.
name
spring-mvc-to-boot-migrator
description
Automatically migrate Spring MVC applications to Spring Boot. Use when you need to modernize a Spring MVC project to Spring Boot while preserving functionality. The skill analyzes the codebase, updates build configuration (Maven/Gradle), migrates annotations, converts XML configuration to Java/properties, updates controllers and tests, and creates the Spring Boot main application class. Creates git commits for each migration phase and generates a comprehensive summary. Supports both Maven and Gradle projects.

Spring MVC to Spring Boot Migrator

Overview

This skill automatically migrates Spring MVC applications to Spring Boot, transforming build configuration, annotations, XML configuration, controllers, and tests while preserving existing functionality. It handles Maven and Gradle projects, creates incremental git commits, and generates detailed migration summaries.

Quick Start

Basic Usage
bash
# Navigate to your Spring MVC project
cd /path/to/spring-mvc-project

# Run migration (auto-detects Maven or Gradle)
python scripts/migrate.py .

# Or specify build tool explicitly
python scripts/migrate.py . --build-tool maven

The migration process will:

  1. Create a migration branch
  2. Analyze your codebase
  3. Update build configuration
  4. Migrate annotations
  5. Convert configuration files
  6. Update tests
  7. Generate a summary report
Example Migration
bash
# Migrate Spring MVC project
python scripts/migrate.py /path/to/project

# Output:
# ✓ Detected build tool: maven
# ✓ Detected Spring version: 5.3.20
# ✓ Created migration branch: migrate-spring-mvc-to-boot
# ✓ Analyzing codebase...
# ✓ Found 8 controllers
# ✓ Found 12 services
# ✓ Found 15 test files
# ✓ Migrating build configuration...
# ✓ Migrating annotations...
# ✓ Migrating configuration...
# ✓ Migrating tests...
# ✓ Migration completed successfully!

Supported Migration Paths

Spring MVC → Spring Boot

What gets migrated:

  1. Build Configuration

    • Maven: Add Spring Boot parent, update dependencies, add Spring Boot plugin
    • Gradle: Add Spring Boot plugin, update dependencies
  2. Annotations

    • @Controller + @ResponseBody → @RestController
    • @RequestMapping(method = RequestMethod.GET) → @GetMapping
    • Similar for @PostMapping, @PutMapping, @DeleteMapping
    • Update imports from javax.* to jakarta.*
  3. Configuration

    • XML configuration → Java configuration + application.properties
    • web.xml → Spring Boot auto-configuration
    • Create Spring Boot main application class
  4. Tests

    • JUnit 4 → JUnit 5
    • @RunWith(SpringRunner.class) → @SpringBootTest
    • Manual MockMvc setup → @AutoConfigureMockMvc

Example transformation:

Before (Spring MVC):

java
@Controller
@RequestMapping("/users")
public class UserController {

    @RequestMapping(method = RequestMethod.GET)
    @ResponseBody
    public List<User> getUsers() {
        return userService.findAll();
    }
}

After (Spring Boot):

java
@RestController
@RequestMapping("/users")
public class UserController {

    @GetMapping
    public List<User> getUsers() {
        return userService.findAll();
    }
}

Migration Process

Phase 1: Preparation

The migration tool automatically:

  • Validates the repository is a git repo
  • Detects build tool (Maven or Gradle)
  • Detects current Spring version
  • Creates a migration branch
  • Analyzes codebase structure
Phase 2: Build Configuration Migration

Maven projects:

  • Adds Spring Boot parent POM
  • Replaces individual Spring dependencies with Spring Boot starters
  • Adds Spring Boot Maven plugin
  • Updates dependency versions

Gradle projects:

  • Adds Spring Boot plugin
  • Adds dependency management plugin
  • Replaces dependencies with Spring Boot starters
  • Updates build configuration
Phase 3: Annotation Migration

Updates Java annotations:

  • Controller annotations (@RestController)
  • Request mapping annotations (@GetMapping, @PostMapping, etc.)
  • Import statements (javax.* → jakarta.*)
  • Creates Spring Boot main application class with @SpringBootApplication
Phase 4: Configuration Migration

Converts configuration:

  • XML configuration → Java configuration classes
  • web.xml → Spring Boot auto-configuration
  • Creates application.properties with common settings
  • Identifies manual conversion needs for complex XML configs
Phase 5: Test Migration

Updates test files:

  • JUnit 4 → JUnit 5 annotations
  • Test runner annotations
  • MockMvc setup
  • Test context configuration
  • Assertion methods
Phase 6: Summary Generation

Creates comprehensive report:

  • Total changes made
  • Files modified by category
  • Migration plan executed
  • Next steps for manual review
  • Saved as MIGRATION_SUMMARY.json

Using the Migration Scripts

Main Migration Script
bash
python scripts/migrate.py <repo_path> [--build-tool <maven|gradle|auto>]

# Options:
#   repo_path: Path to the Spring MVC repository
#   --build-tool: Build tool (default: auto-detect)
Individual Migration Modules

You can also run individual migration steps:

python
from migrate_build import BuildMigrator
from migrate_annotations import AnnotationMigrator
from migrate_config import ConfigMigrator
from migrate_tests import TestMigrator

# Run specific migration
migrator = AnnotationMigrator(repo_path)
migrator.migrate()

Post-Migration Steps

After migration completes:

  1. Review the changes

    bash
    git log --oneline
    git diff main..migrate-spring-mvc-to-boot
  2. Build the project

    bash
    # Maven
    mvn clean package
    
    # Gradle
    gradle clean build
  3. Run the application

    bash
    # Maven
    mvn spring-boot:run
    
    # Gradle
    gradle bootRun
    
    # Or run JAR directly
    java -jar target/myapp.jar
  4. Run tests

    bash
    # Maven
    mvn test
    
    # Gradle
    gradle test
  5. Manual review needed for:

    • Complex XML configuration (convert to Java config)
    • Custom servlet filters
    • Advanced security configuration
    • Third-party integrations
    • Custom view resolvers
  6. Test endpoints

    bash
    curl http://localhost:8080/users
  7. Merge when ready

    bash
    git checkout main
    git merge migrate-spring-mvc-to-boot
Show full SKILL.md (254 more words)Show less

Reference Documentation

  • references/migration_guide.md - Comprehensive step-by-step migration guide covering all aspects from build configuration to testing, with detailed examples and troubleshooting
  • references/framework_comparison.md - Detailed comparison of Spring MVC and Spring Boot including architecture, configuration, controllers, testing, and deployment

Example Code

Example controller files are provided in assets/:

  • UserController_Before.java - Spring MVC controller before migration
  • UserController_After.java - Spring Boot controller after migration

Compare these files to understand the transformations applied.

Migration Summary

After migration, review MIGRATION_SUMMARY.json:

json
{
  "source_framework": "Spring MVC",
  "target_framework": "Spring Boot",
  "build_tool": "maven",
  "total_changes": 35,
  "changes_by_type": {
    "build": 5,
    "annotation": 12,
    "config": 6,
    "test": 12
  },
  "files_modified": [...],
  "next_steps": [...]
}

Tips

  • Always backup your code before migration
  • Review each migration commit individually
  • Test thoroughly after migration
  • Convert complex XML configs to Java configuration manually
  • Update documentation to reflect Spring Boot conventions
  • Enable Spring Boot Actuator for production monitoring
  • Use Spring Boot DevTools for development
  • Consult reference documentation for complex patterns
  • Run tests frequently during manual adjustments

Troubleshooting

Issue: Application won't start

  • Solution: Check for @SpringBootApplication annotation and correct package structure

Issue: Controllers not found

  • Solution: Ensure controllers are in same package or sub-package as Application class

Issue: Build fails

  • Solution: Run mvn clean install or gradle clean build to refresh dependencies

Issue: Tests fail

  • Solution: Update JUnit 4 to JUnit 5, check test annotations

Issue: Database connection fails

  • Solution: Update connection properties in application.properties

See references/migration_guide.md for detailed troubleshooting.

Benefits of Migration

  1. Reduced Configuration: 80% less configuration code
  2. Faster Development: Quick setup and development cycles
  3. Production Ready: Built-in monitoring and health checks
  4. Modern Standards: Latest Spring features and best practices
  5. Easier Deployment: Self-contained executable JARs
  6. Better Testing: Simplified test configuration
  7. Microservices Ready: Perfect for microservices architecture

© ArabelaTso, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 9 other files (scripts, references, assets) in skills/spring-mvc-to-boot-migrator of ArabelaTso/Skills-4-SE.

  • SKILL.md
  • assets/UserController_After.java
  • assets/UserController_Before.java
  • references/framework_comparison.md
  • references/migration_guide.md
  • scripts/migrate.py
  • scripts/migrate_annotations.py
  • scripts/migrate_build.py
  • scripts/migrate_config.py
  • scripts/migrate_tests.py

Open the folder on GitHubat commit 4f38503

Compare with similar skills

Spring Mvc To Boot Migrator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Spring Mvc To Boot Migrator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Spring Mvc To Boot Migrator this skillArabelaTso/Skills-4-SE253—~2.2kAutomated safety check: PassApache-2.0
Progensivaprasadreddy/sivalabs-agent-skills188—~2.7kAutomated safety check: NotesMIT
Starter Domain Revieweraxelixlabs/axelix148—~3.3kAutomated safety check: PassLGPL-3.0
Java ArchitectJeffallan/claude-skills12k—~1.5kAutomated safety check: PassMIT
Java Add Graalvm Native Image Supportgithub/awesome-copilot40k1 repos~3.2kAutomated safety check: PassMIT
Java Patternssoftspark/ai-toolkit179—~3.4kAutomated safety check: PassApache-2.0

Similar skills

  • Progen

    sivaprasadreddy/sivalabs-agent-skills

    A skill your agent uses when the user wants to create/generate/scaffold a new Spring Boot project (Maven or Gradle, REST API / Web App / Spring Boot + Angular full stack).

    188 GitHub stars~2.7k tokensUpdated 6 days ago
    Backend & APIsAuto-check: notes
  • Starter Domain Reviewer

    axelixlabs/axelix

    Reviews changes in sbs/starter-domain for technology-agnostic domain logic, forbidden production dependencies, and Java 11+ compatibility.

    148 GitHub stars~3.3k tokensUpdated today
    Backend & APIsAuto-check passed
  • Java Architect

    Jeffallan/claude-skills

    Builds Spring Boot 3.x services on Java 21 with domain-driven design, WebFlux, JPA tuning and Spring Security using OAuth2 and JWT, verified by Maven or Gradle builds.

    12k GitHub stars~1.5k tokensUpdated 7 days ago
    Backend & APIsAuto-check passed
  • Official

    GraalVM Native Image expert that adds native image support to Java applications, builds the project, analyzes build errors, applies fixes, and iterates until successful compilation using Oracle best…

    40k GitHub starsUsed in 1 repo~3.2k tokens
    Backend & APIsAuto-check passed
  • Java Patterns

    softspark/ai-toolkit

    Java: Spring Boot, CompletableFuture, records, sealed types, JPA/Hibernate, virtual threads.

    179 GitHub stars~3.4k tokensUpdated 2 days ago
    Backend & APIsAuto-check passed
  • Graalvm Native Image

    giuseppe-trisciuoglio/developer-kit

    Provides expert guidance for building GraalVM Native Image executables from Java applications.

    357 GitHub stars~3.9k tokensUpdated 1 mo ago
    Backend & APIsAuto-check: notes

More from ArabelaTso/Skills-4-SE

All 170 skills in this repo
  • Framework Migration Assistant

    ArabelaTso/Skills-4-SE

    Automatically migrate Python web applications between frameworks (Flask → FastAPI, Django → FastAPI).

    253 GitHub stars~1.9k tokensUpdated 1 mo ago
    Auto-check passed
  • Metamorphic Test Generator

    ArabelaTso/Skills-4-SE

    Generate test cases using metamorphic testing by applying transformations based on metamorphic properties.

    253 GitHub stars~798 tokensUpdated 1 mo ago
    Auto-check passed
  • Reproduction Trace Instrumenter

    ArabelaTso/Skills-4-SE

    Instruments programs to capture execution traces specifically for reproducing reported bugs, enabling consistent replay and diagnosis of failures.

    253 GitHub stars~2.4k tokensUpdated 1 mo ago
    Auto-check passed
  • State Snapshot Instrumenter

    ArabelaTso/Skills-4-SE

    Instrument programs (Python, C/C++, Java) to capture snapshots of key program states at runtime, including variables, memory, and call stacks.

    253 GitHub stars~2.2k tokensUpdated 1 mo ago
    Auto-check passed
  • Taint Instrumentation Assistant

    ArabelaTso/Skills-4-SE

    Instruments code to track the flow of untrusted or sensitive data at runtime, enabling detection of injection vulnerabilities, data leaks, and privilege violations.

    253 GitHub stars~2.9k tokensUpdated 1 mo ago
    Auto-check passed

Categories

Questions about Spring Mvc To Boot Migrator

What does Spring Mvc To Boot Migrator do?

Automatically migrate Spring MVC applications to Spring Boot. Spring Mvc To Boot Migrator is an agent skill from ArabelaTso/Skills-4-SE. Automatically migrate Spring MVC applications to Spring Boot.

When should I use Spring Mvc To Boot Migrator?

Spring Mvc To Boot Migrator fits situations like: you need to modernize a Spring MVC project to Spring Boot while preserving functionality; tasks that involve Backend development; tasks that involve Commit messages.

How do I install Spring Mvc To Boot Migrator in Claude Code?

Run `npx skills add ArabelaTso/Skills-4-SE --skill spring-mvc-to-boot-migrator -a claude-code`. Or copy the skill folder (skills/spring-mvc-to-boot-migrator in ArabelaTso/Skills-4-SE) into .claude/skills/spring-mvc-to-boot-migrator in your project. Claude Code loads it when a task matches its description.

How do I install Spring Mvc To Boot Migrator in Codex?

Run `npx skills add ArabelaTso/Skills-4-SE --skill spring-mvc-to-boot-migrator -a codex`. Or copy the skill folder (skills/spring-mvc-to-boot-migrator in ArabelaTso/Skills-4-SE) into .agents/skills/spring-mvc-to-boot-migrator in your project. Codex loads it when a task matches its description.

Can I use Spring Mvc To Boot Migrator in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ArabelaTso/Skills-4-SE --skill spring-mvc-to-boot-migrator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/spring-mvc-to-boot-migrator, .gemini/skills/spring-mvc-to-boot-migrator, .github/skills/spring-mvc-to-boot-migrator and .opencode/skills/spring-mvc-to-boot-migrator in your project.

What does Spring Mvc To Boot Migrator need to run?

Going by SKILL.md and its folder, Spring Mvc To Boot Migrator needs Python and Java for the scripts in its folder and the command-line tools its instructions call (gradle, python, git, mvn, java and curl). Our summary lists: Python 3.

Does Spring Mvc To Boot Migrator access the network?

SKILL.md contains no URLs. Its commands use git and curl, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Spring Mvc To Boot Migrator safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Spring Mvc To Boot Migrator use?

Spring Mvc To Boot Migrator is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Spring Mvc To Boot Migrator use?

About 2.2k tokens (SKILL.md is roughly 8.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 5k tokens, read only when the agent opens those files.

What are the alternatives to Spring Mvc To Boot Migrator?

Skills that share tags, products or a category with Spring Mvc To Boot Migrator: Progen (sivaprasadreddy/sivalabs-agent-skills, 188 stars), Starter Domain Reviewer (axelixlabs/axelix, 148 stars), Java Architect (Jeffallan/claude-skills, 12k stars) and Java Add Graalvm Native Image Support (github/awesome-copilot, 40k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Spring Mvc To Boot Migrator?

ArabelaTso (a GitHub user) maintains it in ArabelaTso/Skills-4-SE, which has 253 GitHub stars. The repository holds 170 skills in this directory. The repository was last updated on August 21, 2026.

Source: ArabelaTso/Skills-4-SE on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.