FICHA · MANJARO

python-ast-grep

CLI tool for code structural search, lint and rewriting

  • development-tool
  • CLI
  • Dev
  • Launchable
  • Runs in terminal
official+codex · reviewed · May 28, 2026 description in en

Description

Search, lint, and rewrite code by matching syntax tree patterns instead of plain text. It helps developers make safer structural changes across codebases and enforce pattern-based rules.

Automated rewrites can change many files quickly. Run on a clean working tree and review diffs before committing.

How to run

ast-grep

Commands: ast-grep

Permissions

Permissions not analysed for this source yet.