rag-implementation

Guide end-to-end RAG system implementation from requirements analysis to evaluation.

2|Updated Feb 6, 2026
One-click install
npx skills add https://github.com/bcastelino/agent-skills-kit --skill rag-implementation-bcastelino
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rag-implementation
Source: https://github.com/bcastelino/agent-skills-kit/tree/main/skills/rag-implementation
Command: npx skills add https://github.com/bcastelino/agent-skills-kit --skill rag-implementation-bcastelino

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a structured workflow to guide users through the complex process of building and optimizing Retrieval-Augmented Generation (RAG) systems, ensuring efficient and effective implementation.

Core Features & Use Cases

  • End-to-End RAG Workflow: Covers all stages from requirements analysis to evaluation.
  • Component Guidance: Offers specific steps and skill invocations for embedding selection, vector database setup, chunking, retrieval, LLM integration, caching, and evaluation.
  • Use Case: When developing a new AI-powered Q&A system for internal company documents, this Skill will help you select the right embedding models, set up a vector database, define optimal chunking strategies, and integrate an LLM for generating accurate answers.

Quick Start

Use the rag-implementation skill to guide me through setting up a RAG system for document Q&A.

Frequently Asked Questions about rag-implementation

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

FAQPage Schema
How do I build a RAG system for document Q&A?

To build a RAG system for document Q&A, you follow an end-to-end workflow covering requirements analysis, embedding model selection, vector database setup, chunking strategies, retrieval optimization, LLM integration, caching, and evaluation.

What is the best way to implement semantic search with an LLM?

Implementing semantic search with an LLM involves using retrieval-augmented generation to embed documents into a vector database, optimizing chunking strategies for accurate retrieval, and integrating the LLM to generate answers grounded in that knowledge.

How do I choose the right embedding model for my vector database?

Choosing the right embedding model for a vector database requires analyzing your specific RAG requirements, selecting an appropriate model to generate embeddings, and defining optimal chunking strategies to ensure efficient semantic search retrieval.

Can I use this workflow to optimize retrieval and caching for AI applications?

Yes, you can use this workflow to optimize retrieval and caching for AI applications by following specific component guidance for retrieval optimization and caching setup during your retrieval-augmented generation system implementation.

What are the steps to evaluate a retrieval-augmented generation system?

Evaluating a retrieval-augmented generation system involves completing the end-to-end implementation stages of embedding selection, vector database setup, chunking, retrieval, and LLM integration, followed by applying specific evaluation steps to measure accuracy.