
Chunking Strategy
Tiered chunking strategy guide for RAG pipelines that picks chunk size, overlap, and boundary detection.
- CCM score
- 49 of 100
- skills.sh installs
- 4K
- GitHub stars
- 372
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers five chunking levels, from fixed-size splitting through semantic boundary detection to late chunking and contextual retrieval
- Recommends 256 to 1024 token chunks with 10 to 20% overlap, and adjusts size by query type (factoid or analytical)
- Enforces a retune loop: reduce chunk size by 25% when precision falls below 0.7, and raise overlap by 10% when recall falls below 0.6
- Designed for teams building retrieval-augmented generation systems, vector database pipelines, or large document processing workflows
Install
$ npx -y skills add giuseppe-trisciuoglio/developer-kit --skill chunking-strategy -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Chunking Strategy for RAG Systems
Overview
Provides chunking strategies for RAG systems, vector databases, and document processing. Recommends chunk sizes, overlap percentages, and boundary detection methods; validates semantic coherence; evaluates retrieval metrics.
When to Use
Use when building or optimizing RAG systems, vector search pipelines, document chunking workflows, or performance-tuning existing systems with poor retrieval quality.
Instructions
Choose Chunking Strategy
Select based on document type and use case:
-
Fixed-Size Chunking (Level 1)
- Use for simple documents without clear structure
- Start with 512 tokens and 10-20% overlap
- Adjust: 256 for factoid queries, 1024 for analytical
-
Recursive Character Chunking (Level 2)
- Use for documents with structural boundaries
- Hierarchical separators: paragraphs → sentences → words
- Customize for document types (HTML, Markdown, JSON)
-
Structure-Aware Chunking (Level 3)
- Use for structured content (Markdown, code, tables, PDFs)
- Preserve semantic units: functions, sections, table blocks
- Validate structure preservation post-split
Details
- Repository
- github.com/giuseppe-trisciuoglio/developer-kit
- Categories
- AI Agents & LLM Apps, Data Science & Analytics
- First seen
- May 16, 2026
More from giuseppe-trisciuoglio/developer-kit
All 95- Spring Boot Event Driven Patterns4K
- Nestjs Code Review4K
- Nestjs Best Practices4K
- Spring Boot Cache4K
- Spring Boot Resilience4j4K
- Nextjs Code Review4K
- Unit Test Service Layer4K
- Spring Ai Mcp Server Patterns4K
- Unit Test Wiremock Rest Api4K
- Nextjs Authentication4K
- Spring Boot Actuator4K
- Spring Boot Dependency Injection4K
- Unit Test Parameterized4K
- Unit Test Controller Layer4K
- Unit Test Json Serialization4K
- Spring Boot Saga Pattern3.9K
- Nextjs Data Fetching3.9K
- Spring Data Neo4j3.9K
- Unit Test Security Authorization3.9K
- Nx Monorepo3.9K
- Langchain4j Spring Boot Integration3.9K
- Langchain4j Tool Function Calling Patterns3.9K
- Langchain4j Rag Implementation Patterns3.9K
- Unit Test Scheduled Async3.9K
Similar to Chunking Strategy
More AI Agents & LLM Apps
rag-implementationdavila7/claude-code-templates500 installsRetrieval-augmented generation guidance covering chunking, embeddings, vector stores, and hybrid search with reranking.
raggiuseppe-trisciuoglio/developer-kit3.9K installsEnd-to-end RAG build guide covering chunking, embeddings, vector storage, and retrieval for document Q&A systems.
langchain4j-rag-implementation-patternsgiuseppe-trisciuoglio/developer-kit3.9K installsJava RAG implementation patterns with LangChain4j for document ingestion, embedding stores, and vector search.
embedding-strategieswshobson/agents12K installsGuide for choosing and tuning embedding models and chunking strategies in semantic search and RAG pipelines.
rag-architectjeffallan/claude-skills5K installsProduction RAG architecture guide covering chunking, embeddings, vector stores, hybrid search, reranking, and evaluation.
rag-engineerdavila7/claude-code-templates392 installsExpert guide for building RAG systems covering chunking, embeddings, vector search, and retrieval tuning.