/java:openrewrite-violationsfrom java
Applies OpenRewrite recipes with violations one at a time on a dedicated branch, creating one commit per leaf recipe and verifying the cumulative result.
Ships in java. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Create a branch named openrewrite-violations (or the name the user supplies), then apply every configured OpenRewrite recipe that has violations one at a time, one commit per recipe, with the message Fix violations of OpenRewrite rule: <recipe>.
Follow the java:maven-cli skill for Maven, and the git:commit skill for commits.
Run git status --porcelain. If there are uncommitted changes, stop and tell the user: this workflow creates commits and must start clean. Do not stash, discard, or absorb their work.
Branch from the fetched upstream default branch:
git fetch origin
git switch -c openrewrite-violations origin/HEAD
Use git worktree add instead if the user is mid-work on another branch and their checkout should not move.
Follow the discovery, dry-run, and leaf-recipe sections of the java:openrewrite-analyze-recipes skill: the mise and justfile conventions, the rewrite-dry-run / rewrite <RECIPE> recipes, the profile flag, and the -Drewrite.pomCacheEnabled=false workaround all apply here. Treat each distinct named leaf recipe as one rule.
Present the ordered list to the user before applying changes.
In a stable order, run each recipe in isolation against the tree left by the previous commits:
mise exec -- just rewrite <recipe>
# or: mise exec -- mvn rewrite:run -Drewrite.activeRecipes=<recipe> -Drewrite.pomCacheEnabled=false
Fix violations of OpenRewrite rule: <fully-qualified-recipe>. through git:commit.After all commits, build and test the whole project (mise exec -- just test, or mvn verify). A recipe that applies cleanly in isolation can still break the cumulative tree, so this check is mandatory.
If a recipe produced non-compiling or failing code, find its commit with git log --oneline, then fold a fix into that commit (without combining unrelated rules) or drop it.
List the commits created and any recipes skipped for producing no changes. Do not push or open a pull request unless asked.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
openrewrite, recipe-violations, maven, git-branch, automated-refactoring
npx claudepluginhub motlin/claude-code-plugins --plugin java6 skills in this plugin
/liquibase-lock-resolverDiagnose Liquibase change-log lock failures in Maven tests and remove only stale H2 database files from build output directories before rerunning the affected tests. Use when failures contain "Could not acquire change log lock", "Currently locked by", or `liquibase.exception.LockException`./maven-cliMaven CLI invocation patterns. Use whenever running `mvn` commands in Java/Maven projects. Covers when `-am` is required, why `-o` (offline) mode hides bugs in multi-worktree setups, and how to verify compile/test cleanly without trusting stale `~/.m2` artifacts./openrewriteOpenRewrite recipe authoring and testing.Other plugins' skills for the same job