Toolverse
All skills

ast-grep

by ast-grep

Guide for writing ast-grep rules to perform structural code search and analysis. Use when users need to search codebases using Abstract Syntax Tree (AST) patterns, find specific code structures, or perform complex code queries that go beyond simple text search. This skill should

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
ast-grep
Category
DevOps
Views
121

About this skill

Guide for writing ast-grep rules to perform structural code search and analysis. Use when users need to search codebases using Abstract Syntax Tree (AST) patterns, find specific code structures, or perform complex code queries that go beyond simple text search. This skill should be used when users ask to search for code patterns, find specific language constructs, or locate code with particular structural characteristics.

How to use

  1. Wyjaśnij, co chcesz znaleźć — opisz wzorzec kodu, który szukasz. Na przykład: "Znajdź wszystkie funkcje asynchroniczne, które nie mają obsługi błędów" lub "Znajdź wszystkie wywołania funkcji z określonym parametrem". Jeśli nie jesteś pewny, zadaj pytania wyjaśniające: jaki język programowania, jakie warianty kodu powinny być uwzględnione, co chcesz wyłączyć.
  2. Przygotuj przykładowy kod — utwórz prosty fragment kodu, który reprezentuje to, co chcesz dopasować. Zapisz go w pliku testowym, aby móc sprawdzić, czy reguła ast-grep działa prawidłowo.
  3. Zdefiniuj regułę ast-grep — na podstawie Twojego opisu i przykładu, umiejętność pomoże Ci napisać regułę, która będzie szukać kodu na podstawie jego struktury, a nie tylko tekstu.
  4. Przetestuj regułę — uruchom ast-grep z Twoją regułą na przykładowym kodzie i sprawdź, czy znalazł dokładnie to, czego szukasz.
  5. Dostosuj regułę — jeśli wyniki nie są zadowalające, wyjaśnij, co się nie zgadza, a umiejętność pomoże Ci ulepszyć regułę, aby lepiej dopasowała się do Twoich potrzeb.

Related skills

docker-containerization

by openclaw

This skill should be used when containerizing applications with Docker, creating Dockerfiles, docker-compose configurations, or deploying containers to various platforms. Ideal for Next.js, React, Node.js applications requiring containerization for development, production, or

DevOps
1334

clawhub

by openclaw

Use the ClawHub CLI to search, install, update, and publish agent skills from clawhub.com. Use when you need to fetch new skills on the fly, sync installed skills to latest or a specific version, or publish new/updated skill folders with the npm-installed clawhub CLI.

DevOps
14106

planning-with-files

by davila7

Implements Manus-style file-based planning for complex tasks. Creates task_plan.md, findings.md, and progress.md. Use when starting complex multi-step tasks, research projects, or any task requiring u003e5 tool calls.

DevOps
2365

task-master

by sfc-gh-dflippo

AI-powered task management for structured, specification-driven development. Use this skill when you need to manage complex projects with PRDs, break down tasks into subtasks, track dependencies, and maintain organized development workflows across features and branches.

DevOps
14126

unity-developer

by sickn33

Build Unity games with optimized C# scripts, efficient rendering, and proper asset management. Masters Unity 6 LTS, URP/HDRP pipelines, and cross-platform deployment. Handles gameplay systems, UI implementation, and platform optimization. Use PROACTIVELY for Unity performance

DevOps
66164

senior-data-engineer

by davila7

World-class data engineering skill for building scalable data pipelines, ETL/ELT systems, and data infrastructure. Expertise in Python, SQL, Spark, Airflow, dbt, Kafka, and modern data stack. Includes data modeling, pipeline orchestration, data quality, and DataOps. Use when

DevOps
1268