gritql ( ) Searches and rewrites source code using a declarative query language backed by tree-sitter. Any valid code snippet in backticks is a pattern — no AST vocabulary required. Install: or . Searching Code Find matches structurally (whitespace-insensitive): Patterns match the AST structure — variations in formatting are handled automatically. Rewriting Code Replace patterns in-place: Always verify with first. Language-specific targeting: Using the Standard Library 200+ built-in patterns available by name: Browse patterns at github.com/biomejs/gritql-stdlib. Import remote patterns in : Sa…