Skip to content
TrustedSkillsbeta
Back to all skills

Ast Grep Structural Code Search & Refactoring

Listed
laurigates·vlatest·backend·MIT

Helps with search, refactoring as part of developing backend services and APIs workflows.

Install on your platform

This skill no longer installs under the name ast-grep-structural-code-search-&-refactoring. laurigates/claude-plugins has no skill named "ast-grep-structural-code-search-&-refactoring" any more. It was renamed, moved or deleted upstream.

We check each listing against its upstream repository with the rules the skills CLI uses, last on 2026-11-02. We don't show a command we know will fail.

Repository install instructions

What we know about this skill

Publisher

laurigates

Taken from the source listing. We haven't verified who controls this account.

Install target

Live repository

Not pinned. Installing fetches whatever the repository holds at the time you run the command.

Nobody has reviewed this code. TrustedSkills indexes and links skills; it does not audit, run or scan them. A skill runs with whatever access you give your agent — read the source before you install it.

Automated safety checks

scanned

We could not read this skill's source, so none of the checks below were run.

Not scanned. none of the 443 skills in the repository match this slug — it was most likely renamed or removed upstream after the registry indexed it Source recorded as laurigates/claude-plugins.
This is a static scan, not a review. It reads the skill's files; it does not run them, and it cannot tell you whether the skill is any good or whether the code does what its description says. A skill runs with whatever access you give your agent.
What each check looks for →

About this skill

What it does

This skill uses Abstract Syntax Tree (AST) analysis to perform structural code search and refactoring. It allows you to find specific code patterns within a project, understand the relationships between different parts of your codebase, and automatically apply changes based on those patterns. This goes beyond simple text-based searches, enabling more precise and reliable modifications.

When to use it

  • Complex Refactorings: When you need to rename variables or functions across an entire project, ensuring all references are updated correctly.
  • Finding Code Patterns: To locate instances of a particular design pattern or anti-pattern within a large codebase.
  • Automated Bug Fixes: Identify and correct recurring errors by searching for specific code structures that lead to those errors.
  • Code Modernization: Update deprecated language features or libraries across a project with confidence, knowing the impact of changes.

Key capabilities

  • AST-based Code Search
  • Structural Code Analysis
  • Automated Refactoring
  • Pattern Matching

Example prompts

  • "Find all instances where calculate_total is called with more than two arguments."
  • "Rename the function old_function_name to new_function_name everywhere in this project."
  • "Extract the code block responsible for user authentication into a separate module."

Tips & gotchas

  • This skill requires familiarity with the codebase and its structure. Incorrect patterns can lead to unintended consequences.
  • Always review changes proposed by the skill before applying them, especially in critical sections of the project.