Agent skill · Code Review & Quality

rag-architecture

Retrieval-Augmented Generation (RAG) system design patterns, chunking strategies, embedding models, retrieval techniques, and context assembly. Use when designing RAG pipelines, improving retrieval quality, or building knowledge-grounded LLM applications.

majiayu000github.com/majiayu000GitHub ↗
claude-coderead-onlyMIT
Install
npx skills add majiayu000/claude-skill-registry --skill rag-architecture --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 15 KB
Bundled scripts: none
Allowed tools: ReadGlobGrep
Path: skills/ai-llm/rag-architecture/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# RAG Architecture ## When to Use This Skill Use this skill when: - Designing RAG pipelines for LLM applications - Choosing chunking and embedding strategies - Optimizing retrieval quality and relevance - Building knowledge-grounded AI systems - Implementing hybrid search (dense + sparse) - Designing multi-stage retrieval pipelines **Keywords:** RAG, retrieval-augmented generation, embeddings, chunking, vector search, semantic search, context window, grounding, knowledge base, hybrid search, reranking, BM25, dense retrieval ## RAG Architecture Overview ```text ┌─────────────────────────────────────────────────────────────────────┐ │ RAG Pipeline │ ├─────────────────────────────────────────────────────────────────────┤ │ │ │ ┌──────────────┐ ┌──────────────┐ ┌──────────────────────┐ │ │ │ Ingestion │ │ Indexing │ │ Vector Store │ │ │ │ Pipeline │───▶│ Pipeline │───▶│ (Embeddings) │ │ │ └──────────────┘ └──────────────┘ └──────────────────────┘ │ │ │ │ │ │ │ Documents Chunks + Indexed │ │ Embeddings Vectors │ │ │ │ │ ┌──────────────┐ ┌──────────────┐ ┌──────────────────────┐ │ │ │ Query │ │ Retrieval │ │ Context Assembly │ │ │ │ Processing │───▶│ Engine │───▶│ + Generation │ │ │ └───

What's inside
Steps it walks through
  1. When to Use This Skill
  2. RAG Architecture Overview
  3. Document Ingestion Pipeline
  4. Document Processing Steps
  5. Chunking Strategies
  6. Strategy Comparison
  7. Chunking Decision Tree
  8. Chunk Overlap
  9. Chunk Size Trade-offs
  10. Embedding Models
  11. Model Comparison
  12. Embedding Selection
  13. Embedding Optimization
  14. Retrieval Strategies
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the rag-architecture skill do?

Retrieval-Augmented Generation (RAG) system design patterns, chunking strategies, embedding models, retrieval techniques, and context assembly. Use when designing RAG pipelines, improving retrieval quality, or building knowledge-grounded LLM applications.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill rag-architecture --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going