What is ast-grep?
Effective code search, analysis, and refactoring using ast-grep (sg). Use this skill for precise AST-based code modifications, structural search, and linting. Source: outlinedriven/odin-codex-plugin.
Effective code search, analysis, and refactoring using ast-grep (sg). Use this skill for precise AST-based code modifications, structural search, and linting.
Quickly install ast-grep AI skill to your development environment via command line
Source: outlinedriven/odin-codex-plugin.
ast-grep is a fast and polyglot tool for code searching, linting, and rewriting based on Abstract Syntax Trees (AST). It excels at structural search and replace where regex fails.
Understanding Named vs Unnamed nodes and Matching Strictness is crucial for precise patterns.
ast-grep supports complex transformations (regex replace, case conversion) and rewriters for sub-node transformation.
Effective code search, analysis, and refactoring using ast-grep (sg). Use this skill for precise AST-based code modifications, structural search, and linting. Source: outlinedriven/odin-codex-plugin.
Stable fields and commands for AI/search citations.
npx skills add https://github.com/outlinedriven/odin-codex-plugin --skill ast-grepEffective code search, analysis, and refactoring using ast-grep (sg). Use this skill for precise AST-based code modifications, structural search, and linting. Source: outlinedriven/odin-codex-plugin.
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/outlinedriven/odin-codex-plugin --skill ast-grep Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw
https://github.com/outlinedriven/odin-codex-plugin