Cursor ast-grep stack
Cursor writes the change, ast-grep matches syntax instead of regex, Graphify shows what still depends on the old shape.
Who owns what
Cursor
The host — watched edits in the repo while you are at the keyboard.
Try Cursor (opens in a new tab)ast-grep
The rewrite — AST search and replace, not a regex loop.
WebsiteGraphify
The blast radius — what still imports the old name.
Try Graphify (opens in a new tab)
How to use this stack
- Write one example edit in Cursor so you know the after shape.
- Turn that shape into an ast-grep rule and run it dry before you write.
- Ask Graphify what still depends on the old symbol.
- Apply the rewrite. Review the diff in Cursor, not in the grep output.
Why we picked this: The Cursor ast-grep stack: structural rewrite and Graphify