Skip to content

Add java-ast-refactoring skill - #3064

Merged
CydeWeys merged 1 commit into
google:masterfrom
CydeWeys:openrewrite
May 27, 2026
Merged

Add java-ast-refactoring skill#3064
CydeWeys merged 1 commit into
google:masterfrom
CydeWeys:openrewrite

Conversation

@CydeWeys

@CydeWeys CydeWeys commented May 27, 2026

Copy link
Copy Markdown
Member

This adds a Gemini CLI skill that leverages OpenRewrite to perform Abstract Syntax Tree (AST) based refactoring on Java codebases. It is highly preferred over text-based regex or python scripts because it understands Java semantics, correctly updates imports, and preserves formatting. A custom Python script is also included as a fallback for renaming fields and local variables.


This change is Reviewable

This adds a Gemini CLI skill that leverages OpenRewrite to perform Abstract Syntax Tree (AST) based refactoring on Java codebases. It is highly preferred over text-based regex or python scripts because it understands Java semantics, correctly updates imports, and preserves formatting. A custom Python script is also included as a fallback for renaming fields and local variables.
@CydeWeys
CydeWeys requested a review from jicelhay May 27, 2026 17:41

@jicelhay jicelhay left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jicelhay reviewed 4 files and all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on CydeWeys).

@CydeWeys
CydeWeys enabled auto-merge May 27, 2026 18:03
@CydeWeys
CydeWeys added this pull request to the merge queue May 27, 2026
Merged via the queue into google:master with commit ad992be May 27, 2026
15 checks passed
@CydeWeys
CydeWeys deleted the openrewrite branch May 27, 2026 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants