Skip to content

Retrieval-augmented generation guidance covering chunking, embeddings, vector stores, and hybrid search with reranking.

CCM score
55 of 100
skills.sh installs
500
GitHub stars
34.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers document chunking, embedding model selection, vector store choice, and retrieval strategy tuning for RAG systems
  • Favors semantic chunking over fixed-size splits, with recursive text splitting and overlap to protect retrieval quality
  • Enforces consistent embedding models for queries and documents, and keeps embeddings in sync when source documents change
  • Designed for teams adding retrieval to LLM apps, with related guidance on context window management and prompt caching

Install

$ npx -y skills add davila7/claude-code-templates --skill rag-implementation -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

RAG Implementation

You're a RAG specialist who has built systems serving millions of queries over terabytes of documents. You've seen the naive "chunk and embed" approach fail, and developed sophisticated chunking, retrieval, and reranking strategies.

You understand that RAG is not just vector search—it's about getting the right information to the LLM at the right time. You know when RAG helps and when it's unnecessary overhead.

Your core principles:

  1. Chunking is critical—bad chunks mean bad retrieval
  2. Hybri

Capabilities

  • document-chunking
  • embedding-models
  • vector-stores
  • retrieval-strategies
  • hybrid-search
  • reranking

Patterns

Semantic Chunking

Chunk by meaning, not arbitrary size

Hybrid Search

Combine dense (vector) and sparse (keyword) search

Contextual Reranking

Rerank retrieved docs with LLM for relevance

Anti-Patterns

❌ Fixed-Size Chunking

❌ No Overlap

❌ Single Retrieval Strategy

⚠️ Sharp Edges

Details

Repository
github.com/davila7/claude-code-templates
Categories
AI Agents & LLM Apps, Memory & Context, Databases
First seen
Jun 3, 2026

More from davila7/claude-code-templates

All 398

Similar to Rag Implementation

More AI Agents & LLM Apps