This is a comprehensive RAG implementation guide that goes well beyond basic vector search setup. It walks you through the full production stack: chunking strategies with overlap and semantic boundaries, embedding selection and indexing with deduplication, hybrid search combining dense retrieval with BM25, reranking with Cohere, and proper evaluation metrics like precision@k and recall@k. The checkpoints after each step are genuinely useful, and the "must not" constraints call out common mistakes like blindly using 512 token chunks. If you're building a RAG system that needs to actually work at scale rather than just demo well, this covers the architectural decisions and implementation patterns that matter.

skills.sh installs
4.9K
GitHub stars
12.3K
last updated
Aug 21, 2026

Install

$ npx -y skills add jeffallan/claude-skills --skill rag-architect --agent claude-code

Installs into .claude/skills of the current project.

Files

RAG Architect

Core Workflow

  1. Requirements Analysis — Identify retrieval needs, latency constraints, accuracy requirements, and scale
  2. Vector Store Design — Select database, schema design, indexing strategy, sharding approach
  3. Chunking Strategy — Document splitting, overlap, semantic boundaries, metadata enrichment
  4. Retrieval Pipeline — Embedding selection, query transformation, hybrid search, reranking
  5. Evaluation & Iteration — Metrics tracking, retrieval debugging, continuous optimization

For each step, validate before moving on (see checkpoints below).

Reference Guide

Load detailed guidance based on context:

Sponsors

Details

Repository
github.com/jeffallan/claude-skills
Categories
Code Review & Quality, AI & Agent Building

More from jeffallan/claude-skills

All 66
1jeffallan avatarcloud-architectjeffallan/claude-skillsDesigns cloud architectures, creates migration plans, generates cost optimization recommendations, and produces disaster recovery strategies across AWS, Azure, 4.9Kskills.sh installs
2affaan-m avatarinherit-legacy-styleaffaan-m/eccLegacy-project style inheritance skill. Use when the user types /inherit-legacy-style, or when onboarding an AI coding agent onto a hand-written legacy project 4.8Kskills.sh installs
3giuseppe-trisciuoglio avatarreact-code-reviewgiuseppe-trisciuoglio/developer-kitProvides comprehensive code review capability for React applications, validates component architecture, hooks usage, React 19 patterns, state management, perfor4.5Kskills.sh installs
4dotnet avatarassertion-qualitydotnet/skillsAnalyzes the variety and depth of assertions across test suites in any language. Use when the user asks to evaluate assertion quality, find shallow tests, ident4.3Kskills.sh installs
5zc277584121 avatarremove-ai-stylezc277584121/marketing-skillsReview and rewrite Chinese or English prose to reduce AI-generated patterns. Use for de-AI polishing, natural-language rewrites, robotic or formulaic writing, a4.2Kskills.sh installs
6giuseppe-trisciuoglio avatarclean-architecturegiuseppe-trisciuoglio/developer-kitProvides implementation patterns for Clean Architecture, Hexagonal Architecture (Ports & Adapters), and Domain-Driven Design in Java 21+ Spring Boot 3.5+ applic4.1Kskills.sh installs