Skip to content
cccskills
FreePublished on GitHub

ast-grep Structural Code Search and Rewrite

Use ast-grep (sg) to search, lint, and rewrite code across large codebases using AST pattern matching. A blazing-fast alternative to regex-based code transformations that understands syntax structure.

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md1.8 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

ast-grep Structural Code Search and Rewrite

Use ast-grep (sg) to search, lint, and rewrite code across large codebases using AST pattern matching. A blazing-fast alternative to regex-based code transformations that understands syntax structure.

Installation

Use the upstream install or setup path that matches your environment:

  • npm install --global @ast-grep/cli
  • pip install ast-grep-cli
  • brew install ast-grep
  • cargo install ast-grep --locked

Requirements and caveats from upstream:

  • You can use $ sign + upper case letters as a wildcard, e.g. $MATCH, to match any single AST node. Think of it as [regular expression dot](https://regexone.com/lesson...
  • You can install it from npm, pip, cargo, [cargo-binstall](...

Basic usage or getting-started notes:

Source

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Use Caliper to run real agent tasks with and without a skill, MCP server, or rule change so reliability and token cost are measurable.

The English summary is being prepared. Showing the original description.

agentskillexchange/skills53Updated Oct 19, 2026

Builds citation networks from Semantic Scholar API and CrossRef DOI metadata. Visualizes paper influence graphs using NetworkX, identifies seminal works, and tracks research lineage across fields.

The English summary is being prepared. Showing the original description.

agentskillexchange/skills53Updated Oct 19, 2026

Exposes Advanced Custom Fields data through the WordPress REST API using register_rest_field and acf_format_value. Handles repeater fields, flexible content layouts, and gallery fields with proper serialization.

The English summary is being prepared. Showing the original description.

agentskillexchange/skills53Updated Oct 19, 2026

An ASE skill built around ACF Extended, the WordPress enhancement suite for Advanced Custom Fields that adds field types, admin improvements, front-end forms, options pages, and developer tooling. It is a practical fit for agents working inside complex WordPress content models and custom field workflows.

The English summary is being prepared. Showing the original description.

agentskillexchange/skills53Updated Oct 19, 2026

Converts Advanced Custom Fields field groups into native Gutenberg blocks using the ACF Block API v2 and @wordpress/scripts build pipeline. Maps ACF repeaters, groups, and flexible content to InnerBlocks and block attributes with server-side rendering via acf_register_block_type().

The English summary is being prepared. Showing the original description.

agentskillexchange/skills53Updated Oct 19, 2026

act is an open-source CLI tool that runs GitHub Actions workflows locally using Docker, enabling fast feedback on workflow changes without pushing to GitHub. It is a standard tool for local Actions development and testing.

The English summary is being prepared. Showing the original description.

agentskillexchange/skills53Updated Oct 19, 2026

See all skills by agentskillexchange

Report a problem with this skill