agentsclimarketplace

Spring boot rewrite

Skill arconia-io/agent-skills/skills/spring-boot-rewrite

Agent Skills for the Java, Spring Boot, and Arconia ecosystem, published as OCI artifacts and consumable via the Arconia CLI or any tool supporting the Agent Skills OCI Artifacts Specification.

Install
npx -y skills add arconia-io/agent-skills --skill spring-boot-rewrite

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Discover and run OpenRewrite recipes for automated code migration and refactoring using Arconia CLI. Use when the user wants to run a specific OpenRewrite recipe, discover available migration or refactoring recipes, apply automated code transformations, clean up code (remove unused imports, update Java version), or migrate between library versions beyond the built-in upgrade commands. Also use when the user asks about available refactoring options or wants to apply a custom rewrite recipe.

The file declares its own license as Apache-2.0. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

4.4 KB, as published. Nobody here has run it

Discover and Run OpenRewrite Recipes

Use arconia rewrite to discover and run OpenRewrite recipes for automated code migration and refactoring. This gives you full control over any recipe, unlike the arconia update commands which are curated shortcuts for common upgrades.

Always commit your project to version control before running any recipe so you can review the changes and revert if needed.

Discover available recipes

List all recipes available from the bundled libraries:

arconia rewrite discover

This outputs all available recipes with their fully qualified names.

Run a recipe

Step 1: Preview with dry-run

arconia rewrite run \
    --recipe-name org.openrewrite.java.RemoveUnusedImports \
    --dry-run

Step 2: Apply the recipe

arconia rewrite run \
    --recipe-name org.openrewrite.java.RemoveUnusedImports

Step 3: Verify

arconia build
arconia test

Run a recipe from a specific library

If the recipe is not in the bundled libraries, specify its Maven coordinates:

arconia rewrite run \
    --recipe-name io.arconia.rewrite.spring.ai.UpgradeSpringAi_1_0 \
    --recipe-library io.arconia.migrations:rewrite-spring

Pin a specific library version:

arconia rewrite run \
    --recipe-name io.arconia.rewrite.spring.ai.UpgradeSpringAi_1_0 \
    --recipe-library io.arconia.migrations:rewrite-spring \
    --recipe-version 1.2.0

Options for arconia rewrite run

OptionRequiredDescription
--recipe-nameYesFully qualified recipe name
--recipe-libraryNoMaven coordinates (groupId:artifactId) of the recipe library
--recipe-versionNoSpecific version of the recipe library
--dry-runNoPreview changes without applying

Bundled recipe libraries

These are available out of the box — no --recipe-library needed:

LibraryDescription
io.arconia.migrations:rewrite-arconiaArconia Framework version migrations
io.arconia.migrations:rewrite-springSpring Boot and Spring AI version migrations
io.arconia.migrations:rewrite-doclingDocling-related migrations
io.arconia.migrations:rewrite-testTest framework migrations (JUnit, Testcontainers)
org.openrewrite:rewrite-javaCore Java recipes (unused imports, Java version updates)
org.openrewrite.recipe:rewrite-java-dependenciesDependency management recipes

For recipes from other libraries, consult the OpenRewrite Recipe Catalog and use --recipe-library to include them.

Workflow

  1. Commit current changes to version control
  2. Discover recipes: arconia rewrite discover
  3. Pick the recipe that matches the task
  4. Preview: arconia rewrite run --recipe-name <name> --dry-run
  5. Apply: arconia rewrite run --recipe-name <name>
  6. Verify: arconia build && arconia test
  7. Review changes in version control

Pass extra arguments to the build tool

arconia rewrite run --recipe-name org.openrewrite.java.RemoveUnusedImports -- --stacktrace

Gotchas

  • Recipe names are fully qualified Java class names (e.g., org.openrewrite.java.RemoveUnusedImports). Use arconia rewrite discover to find the exact name.
  • The --recipe-library flag takes Maven coordinates in groupId:artifactId format, not a file path.
  • OpenRewrite recipes modify files in place. Always commit before running and use --dry-run first.
  • For common framework upgrades (Spring Boot, Spring AI, Arconia Framework), prefer arconia update commands — they are simpler and use well-tested defaults.
  • Some recipes from the OpenRewrite catalog use non-Apache licenses. Review the license of any recipe before running it.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.