# Tree-sitter Skill

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

## Quick Reference

- **Category**: Tooling
- **ID**: SK-025

## Key Capabilities

- tree-sitter grammar.js file creation
- External scanner handling
- Syntax highlighting query design
- Incremental parsing support
- Error recovery handling
- Multi-language binding generation
- Editor integration (VS Code, Neovim, Helix)
- Grammar testing with corpus files

## When to Use

Use this skill when implementing:
- Editor syntax highlighting
- Incremental parsing for IDEs
- Code navigation tools
- Structural code search

## Related Skills

- grammar-design (SK-022)
- lexer-generator (SK-001)
- parser-generator (SK-002)
- lsp-protocol (SK-012)
