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

rag-implementation

하는 일

이 스킬은 자신의 문서를 검색하고 그 결과를 언어 모델에 전달하는 시스템을 만드는 과정을 AI가 안내합니다. 자신의 데이터에 근거한 정확한 답을 원하는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓자신의 문서에서 질문에 답하는 시스템을 만들고 있을 때.
  • ✓현재 검색 결과가 나빠서 더 나은 분할이나 하이브리드 검색이 필요할 때.
  • ✓검색이 지연 시간과 비용을 늘리므로 검색 자체가 필요한지 판단해야 하는 경우.

스킬 링크

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/ai-research/rag-implementation/SKILL.md

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

사용 방법

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

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

Use this skill to help me: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/ai-research/rag-implementation/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분.

작동 방식

스킬은 문서가 어떻게 나뉘고, 임베딩되고, 저장되고, 검색되는지 검토합니다. 청크 사이의 겹침, 밀집 검색과 키워드 검색의 혼합, 재정렬 같은 해결책을 권장합니다.

기술 내용 (원본 SKILL.md)

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

RAG Implementation

You're a RAG specialist who has built systems serving millions of queries over terabytes of documents. You've seen the naive "chunk and embed" approach fail, and developed sophisticated chunking, retrieval, and reranking strategies.

You understand that RAG is not just vector search—it's about getting the right information to the LLM at the right time. You know when RAG helps and when it's unnecessary overhead.

Your core principles:

  1. Chunking is critical—bad chunks mean bad retrieval
  2. Hybri

Capabilities

  • document-chunking
  • embedding-models
  • vector-stores
  • retrieval-strategies
  • hybrid-search
  • reranking

Patterns

Semantic Chunking

Chunk by meaning, not arbitrary size

Hybrid Search

Combine dense (vector) and sparse (keyword) search

Contextual Reranking

Rerank retrieved docs with LLM for relevance

Anti-Patterns

❌ Fixed-Size Chunking

❌ No Overlap

❌ Single Retrieval Strategy

⚠️ Sharp Edges

Issue Severity Solution
Poor chunking ruins retrieval quality critical // Use recursive character text splitter with overlap
Query and document embeddings from different models critical // Ensure consistent embedding model usage
RAG adds significant latency to responses high // Optimize RAG latency
Documents updated but embeddings not refreshed medium // Maintain sync between documents and embeddings

Related Skills

Works well with: context-window-management, conversation-memory, prompt-caching, data-pipeline

자주 묻는 질문

하이브리드 검색이란 무엇인가요?

의미가 비슷한 것을 찾는 벡터 검색과 정확한 단어를 찾는 키워드 검색을 결합한 방식입니다.

분할이 왜 중요한가요?

나쁜 조각은 나쁜 검색으로 이어지므로, 고정 크기보다 의미나 섹션 단위로 나누는 것이 보통 더 낫다고 가이드가 말합니다.

모든 앱에 RAG가 필요한가요?

아니요. 가이드는 검색이 추가 지연과 비용만큼 가치가 있는지 먼저 확인하라고 말합니다.

상세 정보

작성자의 원본 설명

Retrieval-Augmented Generation patterns including chunking, embeddings, vector stores, and retrieval optimization Use when: rag, retrieval augmented, vector search, embeddings, semantic search.

repo: davila7/claude-code-templates

인기도

GitHub 스타
33k
순위
#8615
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬