Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Code search by syntax tree (AST) v1.0.0

Use this resource to search code by its syntax structure with ast-grep

New

  • 314 downloads
  • 187 likes
  • 196 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install code-search-by-ast

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent writes ast-grep patterns (calls, imports, hooks, error handling) and runs them on your code. You get the matches found and a refactoring preview before any change.

Mostly picked by

Updated November 2, 2026

Card for the “Code search by syntax tree (AST)” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • SKILL.md: pattern syntax and ten essential patterns
  • references/js-ts-patterns.md, python-patterns.md, go-rust-patterns.md: patterns per language
  • assets/rule-template.yaml: ast-grep rule template

Good fit for

  • You want every call to a function before renaming it
  • You look for security patterns in Python or JavaScript code

Not for

    Tags

    • ast-grep
    • code search
    • refactoring
    • syntax
    • patterns

    About

    You say

    “Find all console.log calls in src and show me a preview of replacing them with logger.info.”

    Card for the “Code search by syntax tree (AST)” skill

    Skill published by aiskillstore under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to search code by its syntax structure with ast-grep
    3. Review and adjust the result

    Content preview

    Files

    • assets/rule-template.yaml0.8 KB
    • LICENSE1.3 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • references/advanced-usage.md4.5 KB
    • references/go-rust-patterns.md3.4 KB
    • references/js-ts-patterns.md2.5 KB
    • references/python-patterns.md2.4 KB
    • references/security-patterns.md3.3 KB
    • scripts/.gitkeep0 KB
    • skill-report.json55.2 KB
    • SKILL.md3.2 KB

    Origin and licence

    Listed unmodified

    Author
    aiskillstore
    Source
    github.com/aiskillstore/marketplace/tree/81dcba714ae5ba0c5bcfb8914fb9bc2fbb2bb48a/skills/0xdarkmatter/structural-search
    Licence
    MIT

    Notice

    « structural-search » (aiskillstore, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.