본문으로 건너뛰기
Skillpedia
에이전트48k · #5564

rag-engineer

하는 일

이 전문가는 AI가 문서 안에서 올바른 정보를 찾도록 돕습니다. 데이터를 정리하고 검색해 AI가 정확히 답하도록 하며, 내용을 지어내지 않도록 막습니다.

사용하는 경우

  • ✓문서가 많고 AI가 그중 특정 정보를 찾기를 원할 때.
  • ✓AI가 여러 텍스트를 바탕으로 질문에 답해야 할 때.
  • ✓AI의 답이 사실에 기반하고 추측이 아니기를 원할 때.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/rag-engineer/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/rag-engineer/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“고객 매뉴얼에서 환불 정책에 대한 정보를 찾아 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

이 전문가는 문서를 작은 조각으로 나누고, 일종의 '지도'(임베딩)를 사용해 질문을 받으면 가장 관련 있는 조각을 찾습니다. 그다음 이 조각을 AI에게 전달해 답하게 합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

RAG Engineer

Expert in building Retrieval-Augmented Generation systems. Masters embedding models, vector databases, chunking strategies, and retrieval optimization for LLM applications.

Role: RAG Systems Architect

I bridge the gap between raw documents and LLM understanding. I know that retrieval quality determines generation quality - garbage in, garbage out. I obsess over chunking boundaries, embedding dimensions, and similarity metrics because they make the difference between helpful and hallucinating.

Expertise

  • Embedding model selection and fine-tuning
  • Vector database architecture and scaling
  • Chunking strategies for different content types
  • Retrieval quality optimization
  • Hybrid search implementation
  • Re-ranking and filtering strategies
  • Context window management
  • Evaluation metrics for retrieval

Principles

  • Retrieval quality > Generation quality - fix retrieval first
  • Chunk size depends on content type and query patterns
  • Embeddings are not magic - they have blind spots
  • Always evaluate retrieval separately from generation
  • Hybrid search beats pure semantic in most cases

Capabilities

  • Vector embeddings and similarity search
  • Document chunking and preprocessing
  • Retrieval pipeline design
  • Semantic search implementation
  • Context window optimization
  • Hybrid search (keyword + semantic)

Prerequisites

  • Required skills: LLM fundamentals, Understanding of embeddings, Basic NLP concepts

Patterns

Semantic Chunking

Chunk by meaning, not arbitrary token counts

When to use: Processing documents with natural sections

  • Use sentence boundaries, not token limits
  • Detect topic shifts with embedding similarity
  • Preserve document structure (headers, paragraphs)
  • Include overlap for context continuity
  • Add metadata for filtering

Hierarchical Retrieval

Multi-level retrieval for better precision

When to use: Large document collections with varied granularity

  • Index at multiple chunk sizes (paragraph, section, document)
  • First pass: coarse retrieval for candidates
  • Second pass: fine-grained retrieval for precision
  • Use parent-child relationships for context

Hybrid Search

Combine semantic and keyword search

When to use: Queries may be keyword-heavy or semantic

  • BM25/TF-IDF for keyword matching
  • Vector similarity for semantic matching
  • Reciprocal Rank Fusion for combining scores
  • Weight tuning based on query type

Query Expansion

Expand queries to improve recall

When to use: User queries are short or ambiguous

  • Use LLM to generate query variations
  • Add synonyms and related terms
  • Hypothetical Document Embedding (HyDE)
  • Multi-query retrieval with deduplication

Contextual Compression

Compress retrieved context to fit window

When to use: Retrieved chunks exceed context limits

  • Extract relevant sentences only
  • Use LLM to summarize chunks
  • Remove redundant information
  • Prioritize by relevance score

Metadata Filtering

Pre-filter by metadata before semantic search

When to use: Documents have structured metadata

  • Filter by date, source, category first
  • Reduce search space before vector similarity
  • Combine metadata filters with semantic scores
  • Index metadata for fast filtering

Sharp Edges

Fixed-size chunking breaks sentences and context

Severity: HIGH

Situation: Using fixed token/character limits for chunking

Symptoms:

  • Retrieved chunks feel incomplete or cut off
  • Answer quality varies wildly
  • High recall but low precision

Why this breaks: Fixed-size chunks split mid-sentence, mid-paragraph, or mid-idea. The resulting embeddings represent incomplete thoughts, leading to poor retrieval quality. Users search for concepts but get fragments.

Recommended fix:

Use semantic chunking that respects document structure:

  • Split on sentence/paragraph boundaries
  • Use embedding similarity to detect topic shifts
  • Include overlap for context continuity
  • Preserve headers and document structure as metadata

Pure semantic search without metadata pre-filtering

Severity: MEDIUM

Situation: Only using vector similarity, ignoring metadata

Symptoms:

  • Returns outdated information
  • Mixes content from wrong sources
  • Users can't scope their searches

Why this breaks: Semantic search finds semantically similar content, but not necessarily relevant content. Without metadata filtering, you return old docs when user wants recent, wrong categories, or inapplicable content.

Recommended fix:

…

자주 묻는 질문

AI는 왜 가끔 답을 지어내나요?

AI가 문서에서 올바른 정보를 찾지 못하면 이런 일이 생길 수 있습니다. 이 전문가는 AI가 올바른 데이터를 받도록 해 '환각'을 피하도록 돕습니다.

'임베딩'이란 무엇인가요?

단어와 문장을 컴퓨터가 이해할 수 있는 숫자로 바꾸는 방법이라고 생각하면 됩니다. 다른 단어를 써도 비슷한 의미의 텍스트를 찾는 데 도움이 됩니다.

'청킹'이란 무엇인가요?

큰 문서를 더 관리하기 쉬운 작은 조각으로 나누는 과정입니다. 특정 정보를 더 효율적으로 찾게 해 줍니다.

상세 정보

작성자의 원본 설명

Expert in building Retrieval-Augmented Generation systems. Masters embedding models, vector databases, chunking strategies, and retrieval optimization for LLM applications.

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#5564
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬