upgrade-spring-boot

upgrade-spring-boot is a skill for Claude Code, Codex from Phaedra-Solutions/cursor-rules. It costs 150 tokens per session (1,696 once invoked), scanned A, original, MIT.

A staged upgrade workflow for Spring Boot applications and their Java runtime. Spring Boot is a Java framework for building applications, and the workflow moves through major versions with automated rewrite recipes followed by manual fixes and checks.

In plain words
What is it for?
Use it to upgrade Spring Boot and Java, apply OpenRewrite changes, handle javax-to-jakarta changes, update dependencies, and verify the build and tests.
Why use it?
Major framework upgrades can change APIs, configuration, dependencies, and the required Java version. Checking each step helps reveal breaking changes instead of hiding them in one large version jump.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to upgrade Spring Boot and Java, apply OpenRewrite changes, handle javax-to-jakarta changes, update dependencies, and verify the build and tests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/phaedra-solutions/cursor-rules/upgrade-spring-boot
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Phaedra-Solutions/cursor-rules --skill upgrade-spring-boot
Clone the repo
git clone --depth 1 https://github.com/Phaedra-Solutions/cursor-rules

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for upgrade-spring-boot

README.md
[![agentmods](https://agentmods.dev/badge/skills/phaedra-solutions/cursor-rules/upgrade-spring-boot/github.svg)](https://agentmods.dev/skills/phaedra-solutions/cursor-rules/upgrade-spring-boot)
Your own site
<a href="https://agentmods.dev/skills/phaedra-solutions/cursor-rules/upgrade-spring-boot"><img src="https://agentmods.dev/badge/skills/phaedra-solutions/cursor-rules/upgrade-spring-boot/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for upgrade-spring-boot

Your own site · 80×15
<a href="https://agentmods.dev/skills/phaedra-solutions/cursor-rules/upgrade-spring-boot"><img src="https://agentmods.dev/badge/skills/phaedra-solutions/cursor-rules/upgrade-spring-boot.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 150 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,696 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00150 $0.01696
Opus 5.5 $0.00060 $0.00678
Sonnet 5.5 $0.00030 $0.00339
Haiku 4.5 $0.00015 $0.00170

Measured 3d ago against content hash 0cc51d5a7388, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

upgrade-spring-boot scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/upgrade-spring-boot/SKILL.md · 76 lines

How it starts

The opening of the file, as written. The whole thing — 76 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Upgrade Spring Boot

When to use

  • The user asks to upgrade Spring Boot or the JDK, or the project is on Boot 2.x/3.x or Java below 21 (see legacy/java-spring-boot-legacy).
  • A security fix exists only in a supported line (4.0, 4.1).

For a patch release within the same line, update the version and run Verify.

Before you start

  • Read the Boot version, Java release, build tool (Maven or Gradle, wrapper version), Spring Cloud release train, and libraries with their own Spring compatibility (springdoc, MapStruct, Lombok, Hibernate, Flyway/Liquibase, Testcontainers, Spring Cloud).
  • Working tree clean; new branch (chore/spring-boot-3.5); the build and tests pass before you start (record failures).
  • Ask the user:
    • the target (default: Boot 4.1 on Java 21 or 25);
    • whether to stop after each hop for review;
    • whether downloading the OpenRewrite plugin and recipe artifacts is approved (core/supply-chain). Note that rewrite-spring and rewrite-migrate-java are under the Moderne Source Available License (free to run; not OSI open source), and the full Boot 4.1 recipe (io.moderne.java.spring.boot4.UpgradeSpringBoot_4_1) is proprietary and runs with the Moderne CLI. The steps below use only the source-available recipes.
  • Plan the hops: JDK first if needed (Boot 3+ needs Java 17+), then 2.7 → 3.5 → 4.0 → 4.1. From Boot 2.0–2.6, patch to 2.7.18 first.
  • Current tool versions (Oct 2026): rewrite-maven-plugin 6.46.1, rewrite-spring 6.37.1, rewrite-migrate-java 3.42.1, Gradle plugin org.openrewrite.rewrite 7.41.0. Re-check Maven Central before use.

Steps

  1. Baseline: ./mvnw verify (or ./gradlew build); save the dependency tree and /actuator/mappings output from a local run.

  2. JDK upgrade (if needed), dry run first; the patch lands in target/rewrite/rewrite.patch:

    ./mvnw -U org.openrewrite.maven:rewrite-maven-plugin:6.46.1:dryRun \
      -Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-migrate-java:3.42.1 \
      -Drewrite.activeRecipes=org.openrewrite.java.migrate.UpgradeToJava21
    

Read the full file on GitHub · 76 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 76 lines · 150 tokens per session scan A 0cc51d5a7388

Subscribe to this mod's changes

upgrade-spring-boot is a skill published in the GitHub repository Phaedra-Solutions/cursor-rules (4 stars, last pushed 2d ago), licensed MIT. It adds 150 tokens to every session and 1,696 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-01.

Related

Other skills, from other repositories

java-unit-test

A code-generation guide for Java unit tests in Spring Boot projects. Unit tests check one small piece of code in isolation; Spring Boot is a Java framework for building web applications and services.

hashgraph-online/awesome-codex-plugins · 113 tokens

java-coding-standards

Java coding standards for Spring Boot services: naming, immutability, Optional usage, streams, exceptions, generics, and project layout.

hashgraph-online/awesome-codex-plugins · 35 tokens

java

Use when writing, reviewing or refactoring modern Java (21+, 25 LTS) — records and sealed interfaces as algebraic data types, exhaustive pattern-matching switch over instanceof ladders, virtual-thread concurrency, structured concurrency and ScopedValue replacing ThreadLocal, Stream and Optional pipelines…

ericrisco/rsc-harness · 89 tokens

java-spring-development

Java Spring Boot development guidelines with best practices for building robust, secure, and maintainable enterprise applications.

Mindrally/skills · 24 tokens

java-coding-standards

A set of Java coding standards for Spring Boot services, covering naming, immutable data, optional values, streams, and exceptions.

loulanyue/awesome-claude-notes · 50 tokens

java-idioms

Modern Java (17/21+ LTS) idioms: records, sealed classes, pattern matching switch, Optional hygiene, streams, and JUnit 5 testing. Use when writing, refactoring, or reviewing Java core logic, domain models, or libraries. Pair with spring-boot-idioms for Spring services.

irahardianto/awesome-agv · 70 tokens