parsing-source

Official

Generate syntax trees from source files with tree-sitter.

Authorxberg-io
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill allows users to easily generate syntax trees from source code files using tree-sitter, providing a way to inspect node structure, debug grammars, or feed s-expressions to other tools.

Core Features & Use Cases

  • Syntax Tree Generation: Parse source files and output a concrete syntax tree, available in s-expression or JSON format.
  • Language Detection: Automatically detect the language of the source file or specify it with a flag.
  • Use Case: Users can use this skill to analyze the structure of a code file to understand the relationships between its nodes or to debug a grammar file.

Quick Start

Run the ts-pack parse <file> command with the path to the source file you want to generate a syntax tree for.

Dependency Matrix

Required Modules

tree-sitter

Components

scriptsreferences

💻 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: parsing-source
Download link: https://github.com/xberg-io/plugins/archive/main.zip#parsing-source

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 620,000+ vetted skills library on demand.