rag-engineer

Designs hybrid semantic and keyword retrieval pipelines for AI knowledge bases.

70|42|Updated Mar 27, 2026
One-click install
npx skills add https://github.com/tranhieutt/software_development_department --skill rag-engineer-tranhieutt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rag-engineer
Source: https://github.com/tranhieutt/software_development_department/tree/main/.claude/skills/rag-engineer
Command: npx skills add https://github.com/tranhieutt/software_development_department --skill rag-engineer-tranhieutt

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It eliminates the guesswork in retrieval-augmented generation by connecting raw documents to LLM context through optimized embeddings, chunking, and retrieval strategies so that output quality reflects input relevance.

Core Features & Use Cases

  • Vector embeddings & similarity search: select models and databases that match your content types to keep retrieval precise and scalable.
  • Semantic chunking & hierarchical retrieval: split documents by meaning with parent-child relationships, overlap, and metadata enrichment to preserve context.
  • Hybrid search & evaluation: combine semantic and keyword techniques, rerank results, and measure retrieval quality separately from generation to avoid hallucinations.
  • Use Case: When launching a new knowledge base for a support AI, build a pipeline that chunks manuals semantically, refreshes embeddings, and applies hybrid retrieval for diverse query intents.

Quick Start

Ask rag-engineer to design a hybrid semantic and keyword retrieval pipeline for your latest knowledge base.

Frequently Asked Questions about rag-engineer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I optimize RAG retrieval pipelines for accurate LLM responses?

To optimize RAG retrieval pipelines, you architect systems connecting raw documents to LLM context via precise embedding selection, semantic chunking, and hybrid search strategies, ensuring output quality reflects input relevance and reducing hallucinations.

What is semantic chunking and how does it preserve context in retrieval-augmented generation?

Semantic chunking splits documents by meaning using parent-child relationships, overlap, and metadata enrichment to preserve context. This hierarchical retrieval approach maintains the surrounding meaning of text segments, keeping retrieval precise for diverse query intents.

When do I need hybrid search for my RAG pipeline?

You need hybrid search for your RAG pipeline when handling diverse query intents that require combining semantic and keyword techniques. This approach reranks results and measures retrieval quality separately from generation to avoid hallucinations in production LLM applications.

How do I evaluate retrieval quality separately from generation in RAG systems?

Evaluating retrieval quality separately from generation in RAG systems involves measuring how well vector search and reranking return relevant context before the LLM generates text. This isolation prevents retrieval errors from causing generation hallucinations.

Does building a RAG pipeline require understanding vector databases and embedding models?

Yes, building a RAG pipeline requires understanding embedding models and vector databases to select options matching your content types. This knowledge keeps retrieval precise and scalable across production LLM applications.

What is the best way to chunk manuals semantically for a support AI knowledge base?

The best way to chunk manuals semantically for a support AI is to build a pipeline that splits documents by meaning, refreshes embeddings, and applies hybrid retrieval. This preserves context and handles diverse query intents accurately.