rag-architect

Featured

Use when the user asks to design RAG pipelines, optimize retrieval strategies, choose embedding models, implement vector search, or build knowledge retrieval systems.

AI & Automation 30,275 stars 4191 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 93/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# RAG Architect - POWERFUL ## Overview The RAG (Retrieval-Augmented Generation) Architect skill provides comprehensive tools and knowledge for designing, implementing, and optimizing production-grade RAG pipelines. This skill covers the entire RAG ecosystem from document chunking strategies to evaluation frameworks, enabling you to build scalable, efficient, and accurate retrieval systems. ## Core Competencies ### 1. Document Processing & Chunking Strategies #### Fixed-Size Chunking - **Character-based chunking**: Simple splitting by character count (e.g., 512, 1024, 2048 chars) - **Token-based chunking**: Splitting by token count to respect model limits - **Overlap strategies**: 10-20% overlap to maintain context continuity - **Pros**: Predictable chunk sizes, simple implementation, consistent processing time - **Cons**: May break semantic units, context boundaries ignored - **Best for**: Uniform documents, when consistent chunk sizes are critical #### Sentence-Based Chunking - **Sentence boundary detection**: Using NLTK, spaCy, or regex patterns - **Sentence grouping**: Combining sentences until size threshold is reached - **Paragraph preservation**: Avoiding mid-paragraph splits when possible - **Pros**: Preserves natural language boundaries, better readability - **Cons**: Variable chunk sizes, potential for very short/long chunks - **Best for**: Narrative text, articles, books #### Paragraph-Based Chunking - **Paragraph detection**: Double newlines, HTML tags, mark...

Details

Author
alirezarezvani
Repository
alirezarezvani/claude-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category