Lightlines
By parcadei

ast-grep-find

parcadei518 installs

Find and refactor code by syntax, not text.

What it does

Finds syntax-aware code matches and refactors code using structural patterns.

When to use it

Use to find code patterns, locate calls, classes, or imports, and refactor or rename code.

How to use it

Give it an AST pattern and a codebase; it finds structural matches or applies a requested replacement.

What you provide

  • an AST pattern
  • An existing project

Uses

Latest review

What you need · 3

The documented commands run the search script through Python; no version is specified.

The documented invocation uses uv to run Python through runtime.harness.

Requires the ast-grep MCP server configured in mcp_config.json.


Access · 0

No additional actions listed.