RAG Implementation Guide
A step-by-step skill for building RAG systems: document chunking, embedding generation, vector storage, and retrieval pipelines.
Dev & CodingAdvanced★ 330⑂ 39AI score 9/10Last updated: Aug 18, 2026
What it does
- Provides vector database selection tables by requirement: Pinecone/Milvus for production scale, Weaviate/Qdrant for open source, Chroma/FAISS for local dev, Weaviate+BM25 for hybrid search.
- Recommends embedding models for general, lightweight, multilingual, and best-performance use cases.
- Lays out a 6-step pipeline (load → clean → chunk → embed → store → evaluate) with validation snippets and retry logic for batch ingestion failures.
- Explains retrieval strategies (dense, hybrid, metadata filtering, reranking) plus evaluation metrics like precision@k, recall@k, and MRR.
- Documents best practices (500–1000 token chunks, 10–20% overlap, cache embeddings) and security warnings on hardcoded credentials and prompt injection from ingested documents.
Who it's for
- Backend/AI engineers building document Q&A bots or semantic search over proprietary content
- Java developers using LangChain4j (all code examples are Java-based)
- Teams trying to reduce hallucinations and tune retrieval quality in an existing RAG stack
Usage examples
- Load documents from
/docsinto an in-memory embedding store and answer "What is the company policy on remote work?" - Build a retriever filtered to
category=technicalmetadata with maxResults 5 and minScore 0.7 - Compose a multi-source pipeline that queries both a web store and a docs store, then reranks down to the top 5 results
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/giuseppe-trisciuoglio/developer-kit/HEAD/plugins/developer-kit-ai/skills/rag/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the plugins/developer-kit-ai/skills/rag folder from the GitHub repo giuseppe-trisciuoglio/developer-kit into my ~/.claude/skills/rag/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/giuseppe-trisciuoglio/developer-kit.git && mkdir -p ~/.claude/skills && cp -r developer-kit/plugins/developer-kit-ai/skills/rag ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open your terminal.
- Clone the repository:
git clone https://github.com/giuseppe-trisciuoglio/developer-kit.git - Create the skills directory:
mkdir -p ~/.claude/skills - Copy the skill:
cp -r developer-kit/plugins/developer-kit-ai/skills/rag ~/.claude/skills/ - Confirm the bundled
references/folder came along with it. - Restart Claude Code and try a prompt like "Help me build a document Q&A system with RAG."
- When implementing for real, keep embedding/LLM API keys in environment variables rather than in code.
View source on GitHub ↗License: MIT