Chunking Strategy

Guidance for chunking documents in RAG pipelines: size, overlap, and boundary strategy

Tested · Works

Test report

Verdict
Tested · Works
Score
8.0/10
Tested
Jul 31, 2026
Environment
Claude Code 2.x (agent harness)
Upstream re-checked
Aug 10, 2026 · c832c9a

Located SKILL.md at plugins/developer-kit-ai/skills/chunking-strategy; frontmatter parses with name+description and clean allowed-tools. Spot-checked references/strategies.md, implementation.md, evaluation.md — all HTTP 200 and substantive (strategies.md is 422 lines with real langchain code and a parameter table). Docked install/docs one point each: the body says to run `evaluate_chunks.py --coherence` but no such script exists in the repo tree (it actually redirects to inline python -c snippets). Output test: chunked a 4-section markdown doc two ways. Baseline naive 220-char split tore words and sentences apart (chunk 2 began "ooting" from split "Troubleshooting"; chunk 1 opened with orphan fragment "reads it at startup..." with no heading). Following the skill's Level-3 structure-aware guidance for markdown produced 4 clean section chunks (22-29 words each), every chunk carrying its own heading and zero split words/sentences — directly satisfying the skill's "chunks maintain standalone meaning" requirement. Concrete, measurable improvement over baseline.

Scored on four weighted criteria — install, triggering, output vs. baseline, docs. How scoring works

  • Installs cleanly 4/5
  • Triggers reliably 5/5
  • Output vs. baseline 7/10
  • Docs & honesty 4/5

What Chunking Strategy does

A knowledge skill that recommends chunking strategies for retrieval-augmented generation: chunk size (256-1024 tokens), overlap (10-20%), and a 5-level ladder from fixed-size to semantic and late chunking, plus inline validation snippets for coherence and precision. Triggers when building RAG systems, vector databases, or splitting large documents for embedding.

How to install Chunking Strategy

git clone --depth 1 https://github.com/giuseppe-trisciuoglio/developer-kit.git /tmp/chunking-strategy-src
mkdir -p ~/.claude/skills
cp -R /tmp/chunking-strategy-src/plugins/developer-kit-ai/skills/chunking-strategy ~/.claude/skills/chunking-strategy
# Pure-guidance skill: no runtime deps to install the skill itself.
# The optional inline validation snippets in SKILL.md need: pip install sentence-transformers numpy
# Note: SKILL.md says "run evaluate_chunks.py --coherence" but no such script is bundled;
#   the actual validation is the inline `python -c` snippets directly below that line.

Skills live in ~/.claude/skills/ (global) or .claude/skills/ (per-project). Restart Claude Code after installing.

Commands — how to trigger Chunking Strategy

  • /chunking-strategy Guidance for chunking documents in RAG pipelines: size, overlap, and boundary strategy

It also activates on plain-language prompts like these:

  • Recommend a chunk size for this document set
  • Evaluate retrieval precision for my RAG pipeline
  • Choose an overlap percentage for semantic chunking

Frequently asked questions

Is the Chunking Strategy skill free?
Yes. The skill itself is free from giuseppe-trisciuoglio/developer-kit. SkillProof publishes the install command and an independent test verdict at no cost.
Does Chunking Strategy work with Claude Code?
We tested it with Claude Code 2.x (agent harness) on Jul 31, 2026. Verdict: Tested · Works. Located SKILL.md at plugins/developer-kit-ai/skills/chunking-strategy; frontmatter parses with name+description and clean allowed-tools. Spot-checked references/strategies.md, implementation.md, evaluation.md — all HTTP 200 and substantive (strategies.md is 422 lines with real langchain code and a parameter table). Docked install/docs one point each: the body says to run `evaluate_chunks.py --coherence` but no such script exists in the repo tree (it actually redirects to inline python -c snippets). Output test: chunked a 4-section markdown doc two ways. Baseline naive 220-char split tore words and sentences apart (chunk 2 began "ooting" from split "Troubleshooting"; chunk 1 opened with orphan fragment "reads it at startup..." with no heading). Following the skill's Level-3 structure-aware guidance for markdown produced 4 clean section chunks (22-29 words each), every chunk carrying its own heading and zero split words/sentences — directly satisfying the skill's "chunks maintain standalone meaning" requirement. Concrete, measurable improvement over baseline.
What is the Chunking Strategy SkillProof Score?
8.0/10 — installs cleanly 4/5, triggers reliably 5/5, output vs. baseline 7/10, docs & honesty 4/5.
How do I install Chunking Strategy?
Copy the install command from this page, run it in your terminal, and restart Claude Code. Skills live in ~/.claude/skills/ (global) or .claude/skills/ inside a project.
Can I use Chunking Strategy with Cursor, Copilot, Gemini CLI, Codex or other AI tools?
The SKILL.md format is native to Claude (Claude Code, Desktop, claude.ai). The instructions inside adapt to other assistants: Cursor rules, GitHub Copilot instructions, Windsurf rules, Custom GPTs, AGENTS.md for OpenAI Codex, and GEMINI.md for Google Gemini CLI — our conversion guides cover each, and the free converter on the tools page does the wrapping for you.