chunking-for-llms

Installation
SKILL.md

Syntax-aware chunking for LLMs

Splitting code on a fixed byte or line count cuts functions in half and strips context. ts-pack process <file> --chunk-size <bytes> splits on syntactic boundaries (whole functions, classes, blocks) so each chunk is a coherent unit, and emits them in the JSON chunks array.

Quick recipe

Installs
1
GitHub Stars
27
First Seen
Aug 22, 2026
chunking-for-llms — xberg-io/plugins