rag-architect
由 alirezarezvani 提供
Coding Agents & IDEs简介
The RAG (Retrieval-Augmented Generation) Architect skill provides comprehensive tools and knowledge for designing.
描述
该技能的功能
RAG Architect covers the full lifecycle of retrieval-augmented generation pipelines, from document chunking and embedding selection to vector database setup, retrieval strategy tuning, and production deployment. It provides concrete guidance on tradeoffs between chunking methods, embedding models, and retrieval approaches including hybrid search and reranking.
Covers the entire RAG stack in one place, including tradeoffs that are typically scattered across separate documentation for chunking libraries, vector databases, and evaluation frameworks.
何时使用
- Building a Q&A chatbot over internal company documentation
- Choosing a vector database for a production deployment
- Debugging low retrieval precision in an existing RAG system
- Setting up RAGAS evaluation for a knowledge base search feature
- Reducing embedding API costs for a large document corpus
示例工作流
User asks: How should I structure a RAG pipeline for a 10,000-page technical manual?
- 1
Analyzes document characteristics: structured technical content with headings and tables
- 2
Recommends semantic or paragraph-based chunking with 10-20% overlap to preserve document structure
- 3
Suggests a balanced embedding model such as all-mpnet-base-v2 for general technical content
- 4
Recommends pgvector or Qdrant based on existing infrastructure and scale requirements
- 5
Outlines RAGAS evaluation setup with faithfulness above 90% and context relevance above 0.8 as targets
A complete pipeline recommendation with specific chunking strategy, embedding model, vector database, and evaluation metrics tailored to the document type and scale
安装
clawhub install alirezarezvani/rag-architect运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。