From java
Applies each configured OpenRewrite recipe with violations as a separate commit on a dedicated branch, then verifies the cumulative result.
How this skill is triggered — by the user, by Claude, or both
Slash command
/java:openrewrite-violationsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Follow the Maven CLI skill for every Maven invocation and the repository's git workflow and commit skills for every commit.
Follow the Maven CLI skill for every Maven invocation and the repository's git workflow and commit skills for every commit.
Require git status --porcelain to be empty. Do not stash, discard, or absorb existing work.
Use the branch name supplied by the user, or openrewrite-violations by default. Fetch the upstream default branch and create the branch from its current tip. Prefer a new worktree when switching the user's active checkout would disrupt other work.
rewrite-dry-run and rewrite <recipe> commands.rewrite:dryRun or rewrite:run directly.Capture the complete dry-run log in .llm/rewrite-dryrun.log. Treat "Applying recipes would make changes" as the expected violation signal. For a RocksdbMavenPomCache serialization failure, add -Drewrite.pomCacheEnabled=false and rerun.
Read the recipe tree preceding each changed file and collect distinct, most-specific named leaf recipes. Prefer a named wrapper over a raw parameterized recipe with inline options, which cannot be activated by name alone.
Present the stable ordered list before applying changes.
For each recipe in order:
mvn rewrite:run -Drewrite.activeRecipes=<fully-qualified-recipe>.Fix violations of OpenRewrite rule: <fully-qualified-recipe>.Never create an empty commit. Keep every recipe's changes isolated in its own commit and do not push unless the user asks.
After all recipes, run the full project build and test workflow. If the combined result fails, identify the responsible recipe commit, correct its changes, and fold the correction into that recipe's commit without combining unrelated rules.
Report created commits and skipped recipes.
npx claudepluginhub motlin/claude-code-plugins --plugin javaDry-run configured OpenRewrite recipes, count and rank violations, and optionally run one selected recipe without committing.
Applies small, well-specified changes (audit-finding fixes, codemods, convention enforcement, mechanical migrations) using reusable fix recipes. Use when the WHAT is already known and the blast radius is small.
Iterative review-fix loop: reviews current branch or commit range, fixes findings, commits, re-reviews, and repeats until all reviews pass or iteration limit is reached.