openrewriteopenrewriteOfficialยท1 Agent Skills Included

rewrite-docs

Automated code refactoring, migration, and recipe authoring documentation

Documents how to run OpenRewrite recipes that automatically refactor, migrate, and fix code across Java, Maven, Gradle, and Spring projects. Covers step-by-step migration guides such as JUnit 4 to 5, Java 17 to 21, and Spring Boot 3 upgrades without manual code edits. Explains how to author, test, and publish custom refactoring recipes for your own codebase.
npx skills add openrewrite/rewrite-docs --all -g -y

All Skills in This Repository (1)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install rewrite-docs?โ–ผ

Run `npx skills add openrewrite/rewrite-docs --all -g -y` in your terminal to install all skills in this repository globally.

What is OpenRewrite used for?โ–ผ

OpenRewrite automates large-scale code refactoring and migrations, such as upgrading Java versions, moving from JUnit 4 to 5, or fixing static analysis issues across entire projects.

How do I migrate my project to Spring Boot 3?โ–ผ

This documentation includes a dedicated guide that runs pre-built OpenRewrite recipes to automatically update dependencies, imports, and APIs for Spring Boot 3 compatibility.

Can I write my own custom refactoring recipes?โ–ผ

Yes. The authoring section explains how to build, test, and publish custom Java or JavaScript refactoring recipes, including declarative YAML recipes that require no code.

Do I need to modify my build files to run recipes?โ–ผ

No. The docs show how to run OpenRewrite on Maven and Gradle projects without modifying your build configuration, using simple command-line plugins.

Related Repositories in Software Engineering

View All in Software Engineeringโ†’