treesitter-patterns
OfficialUniversal tree-sitter patterns for any project
AuthorConsiliency
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Universal patterns and guidelines for tree-sitter usage across projects, enabling robust parsing, querying, and plugin development without being tied to a single framework.
Core Features & Use Cases
- AST Parsing: Build and traverse syntax trees across languages.
- Query Patterns: Create reusable tree-sitter queries for extraction and analysis.
- Visitors & Plugins: Implement language-agnostic visitors and plugin workflows for code analysis.
- Use Case: Quick-start templates for writing queries to extract functions, classes, or symbols from multi-language codebases.
Quick Start
Download and integrate the universal patterns, then configure TREE_SITTER_DIR and QUERY_DIR to begin building queries and visitors. Use the included examples to start extracting functions or classes from your codebase.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: treesitter-patterns Download link: https://github.com/Consiliency/treesitter-chunker/archive/main.zip#treesitter-patterns Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.