setup-ast

Community

Configure tree-sitter for AST-powered code review.

Authorryanthedev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Diagnoses and configures tree-sitter for AST-powered code extraction, enabling reliable static analysis and improved code-review workflows.

Core Features & Use Cases

  • Diagnostics: Detect missing or misconfigured tree-sitter setups and grammars.
  • Installation & Setup: Install tree-sitter CLI, clone and build grammars, and configure environment for AST parsing.
  • Use Case: On a new development machine, run this Skill to set up AST parsing so code can be analyzed immediately during reviews.

Quick Start

Run the setup tree-sitter script to initialize tree-sitter and grammars for AST parsing: ./scripts/setup-tree-sitter.sh # Core grammars ./scripts/setup-tree-sitter.sh --all # All grammars ./scripts/setup-tree-sitter.sh --status # Check status

Dependency Matrix

Required Modules

tree-sitter-cligit

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: setup-ast
Download link: https://github.com/ryanthedev/code-foundations/archive/main.zip#setup-ast

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.