Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
davila7 avatar

Rag Implementation

  • 499 installs
  • 30.1k repo stars
  • Updated August 4, 2026
  • davila7/claude-code-templates

rag-implementation is an LLM architecture skill that designs retrieval-augmented generation pipelines with chunking, embeddings, vector stores, and grounded answer flows for developers building production RAG application

About

rag-implementation is a Claude Code skill from davila7/claude-code-templates, sourced from vibeship-spawner-skills under Apache 2.0, that guides developers through production-grade retrieval-augmented generation. The skill covers document chunking strategies, embedding selection, vector store configuration, retrieval policies, reranking, and grounded answer flows that keep LLM responses tied to source material. It explicitly addresses failure modes of naive vector-search-only approaches and teaches when RAG helps versus when simpler context injection suffices. Developers reach for rag-implementation when building Q&A bots, internal knowledge assistants, or document search features that must scale beyond prototype quality. The specialist persona reflects experience serving high query volumes over large document sets.

  • Chunking and embedding design
  • Vector store setup
  • Retrieval policy tuning
  • Grounded answer flows
  • Evaluation-minded architecture

Rag Implementation by the numbers

  • 499 all-time installs (skills.sh)
  • Ranked #1,776 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/davila7/claude-code-templates --skill rag-implementation

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs499
repo stars30.1k
Last updatedAugust 4, 2026
Repositorydavila7/claude-code-templates

How do you implement production RAG with vector retrieval?

Design and implement retrieval-augmented generation with chunking, embeddings, vector stores, retrieval policies, and grounded answer flows for LLM applications.

Who is it for?

Backend and ML engineers implementing retrieval-augmented generation beyond basic chunk-and-embed prototypes.

Skip if: Developers who only need a single-shot LLM prompt with no document corpus to retrieve from.

When should I use this skill?

An LLM application must answer questions grounded in a large document set using embeddings and vector search.

What you get

RAG architecture plans, chunking policies, vector store configs, retrieval pipelines, and grounded answer flows.

  • RAG architecture design
  • Retrieval pipeline configuration

Files

SKILL.mdMarkdownGitHub ↗

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

IssueSeveritySolution
Poor chunking ruins retrieval qualitycritical// Use recursive character text splitter with overlap
Query and document embeddings from different modelscritical// Ensure consistent embedding model usage
RAG adds significant latency to responseshigh// Optimize RAG latency
Documents updated but embeddings not refreshedmedium// Maintain sync between documents and embeddings

Related Skills

Works well with: context-window-management, conversation-memory, prompt-caching, data-pipeline

Related skills

How it compares

Pick rag-implementation for full retrieval pipeline design; use a lighter prompt-engineering skill when no document index is required.

FAQ

What RAG components does rag-implementation cover?

rag-implementation covers chunking strategies, embedding selection, vector store setup, retrieval policies, reranking, and grounded answer flows. The skill targets production pipelines where naive vector search alone fails to deliver accurate, source-attributed LLM responses.

When is rag-implementation the right skill to invoke?

rag-implementation fits when developers build LLM apps that must retrieve relevant documents before generating answers. Trigger on keywords like rag, vector search, embeddings, or semantic search over terabyte-scale or high-query-volume corpora.

AI & Agent Buildingllmagentsautomation

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.