document-chunking
Installation
SKILL.md
Document Chunking
What This Skill Covers
Non-obvious failure modes and decisions in chunking. Assumes you know what chunking is and why you need it.
Strategy Selection
Choose once per corpus, not per document:
| Strategy | Use when |
|---|---|
| Fixed-size | Homogeneous content (logs, transcripts, tabular notes) |
| Recursive | General prose — best default |
| Semantic | High-variance documents where topic boundaries matter (research papers, long-form articles) |
| Sliding window | Query targets local context across boundaries (dense technical docs, code) |