https://github.com/getgrit/gritql is the best large-scale codemod / refactoring tool I've ever used.
It's finicky and picky, very dependent on the tree sitter grammar but when it works, it's magical.
Have you found any tools you think are easier/better? I’d love to learn more about the space.
Nope, I'd say it's the best :)
From "Show HN: Codemodder – A new codemod library for Java and Python" (2024) https://news.ycombinator.com/item?id=39111747 :
> [ codemodder-python, libCST, MOSES and Holman's elegant normal form, singnet/asmoses, Formal Verification, ]