agent:rag
RAG Pipeline Design
Guides the user through designing a Retrieval-Augmented Generation (RAG) pipeline. Based on "Principles of Building AI Agents" (Bhagwat & Gienow, 2025), Part V: RAG (Chapters 17-20).
When to use
Use this skill when the user needs to:
- Design a RAG pipeline for an agent
- Choose a vector database
- Configure chunking, embedding, and retrieval
- Evaluate whether RAG is even needed (vs. alternatives)
- Tune an existing RAG pipeline for better quality
Instructions
Step 1: Do You Actually Need RAG?
Before building a pipeline, apply the principle: Start simple, check quality, get complex.
More from ikatsuba/skills
spec:design
Technical Design - generates architecture diagrams, interfaces, and data flow based on requirements and chosen research solutions. Use when designing how a feature will be built.
18git:amend
Amend Commit - modifies the last commit with staged changes or new message
15spec:tasks
Task Breakdown - generates an implementation plan with tracked tasks based on requirements and design documents. Use when breaking down a design into actionable work items.
14spec:requirements
Requirements Analysis - gathers requirements through structured questions and produces a requirements document with testable acceptance criteria. Use when starting a new feature spec or documenting requirements.
14git:commit
Smart Commit - stages all changes and creates a conventional commit
13spec:do-next
Execute Next Task - runs the next pending task from the tasks document
9