Reference docMembers
rag-implementation - detailed patterns and worked examples
rag-implementation - detailed patterns and worked examples is a reference document for Claude Code, from the wshobson agents and plugins collection by wshobson. The full text is about 1,162 words in 26 sections, with 21 code blocks. It is a supporting file that a skill or agent reads while it works, so the main instructions can stay short.
It is most useful for people working in Data and ML who use Claude Code.
What it covers
- Advanced RAG Patterns
- Pattern 1: Hybrid Search with RRF
- Pattern 2: Multi-Query Retrieval
- Pattern 3: Contextual Compression
- Pattern 4: Parent Document Retriever
- Pattern 5: HyDE Hypothetical Document Embeddings
- Document Chunking Strategies
- Recursive Character Text Splitter
- Token-Based Splitting
- Semantic Chunking
The full text is in the members library
Book a call and we will give you access to the full Claude Code library: every entry in full, search by meaning, copy and download.
Author: wshobson, wshobson agents and plugins. License: MIT.