Agent skill · AI & Agents

Tree-sitter

Expert skill for creating tree-sitter grammars for incremental parsing and syntax highlighting

a5c-aigithub.com/a5c-aiGitHub ↗
claude-codecodexcan modify filesMIT
Install
npx skills add a5c-ai/babysitter --skill tree-sitter --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 2 KB
Bundled scripts: none
Allowed tools: -Read-Write-Edit-Glob-Grep-Bash
Path: library/specializations/programming-languages/skills/tree-sitter/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 1,642
Language: JavaScript

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Tree-sitter Skill ## Overview Expert skill for creating tree-sitter grammars for incremental parsing and syntax highlighting. ## Capabilities - Write tree-sitter grammar.js files - Handle tree-sitter external scanners - Design queries for syntax highlighting - Implement incremental parsing support - Handle tree-sitter error recovery - Generate bindings for various languages - Integrate with editors (VS Code, Neovim, Helix) - Test grammars with corpus files ## Target Processes - language-grammar-design.js - lexer-implementation.js - parser-development.js - lsp-server-implementation.js ## Dependencies - tree-sitter CLI - tree-sitter crates/npm packages ## Usage Guidelines 1. **Grammar.js**: Follow tree-sitter grammar.js conventions 2. **External Scanners**: Use external scanners for context-sensitive lexing 3. **Queries**: Write highlight.scm and other query files for editor integration 4. **Testing**: Build comprehensive corpus test files 5. **Error Recovery**: Design grammar with error recovery in mind ## Output Schema ```json { "type": "object", "properties": { "grammarName": { "type": "string" }, "nodeTypes": { "type": "array", "items": { "type": "string" } }, "queries": { "typ

What's inside
Steps it walks through
  1. Overview
  2. Capabilities
  3. Target Processes
  4. Dependencies
  5. Usage Guidelines
  6. Output Schema
Ships with 1 file
  • README.md
More from babysitter
All skills →
About this skill
What does the Tree-sitter skill do?

Expert skill for creating tree-sitter grammars for incremental parsing and syntax highlighting

How do I install it?

Run `npx skills add a5c-ai/babysitter --skill tree-sitter --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From a5c-ai/babysitter, a repository with 1,642 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going