rag-retrieval SKILL.md skillA

rag-retrieval from yuecao365/offercome is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add yuecao365/offercome/rag-retrieval@git:20260920.a4843f5

Pins git:20260920.a4843f5 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
yuecao365/offercome
Path
src/lib/mock-interviews/skills/rag-retrieval/SKILL.md
Versions recorded
1
Latest version
git:20260920.a4843f5, committed Sep 20, 2026
Size
7,409 bytes
Repository stars
24
License
MIT

检索增强深挖:文档解析与分块、Embedding 与混合检索、重排与改写、评测集、生产化。.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

## 面试官在意什么

RAG 是大模型应用里最容易做出 demo、最难做到可用的一段。面试官默认候选人的"RAG 项目"是教程改了数据源,所以从三个地方验:有没有检索评测集与召回率数字、能不能把"没检索到"和"检索到了答错"分开排查、知不知道解析与分块才是上限。2026 年长上下文便宜了很多,面试官还会追"为什么不直接把文档塞进上下文",答不出边界的算没想过。

## 项目 / 实习怎么深挖

简历上出现下面这类经历时从哪里切、追什么。追到候选人能说出机制、数字的来源与一次真实的故障或取舍才算实;只有框架名与结论、说不出自己那一段的,记为危险信号。通用的追问方法见 project-deep-dive。

- 简历出现 RAG 项目 → 追检索评测集怎么建、召回率与上下文精确率多少、最典型的失败案例与最终归因、为什么不直接长上下文
- 简历出现向量库 → 追索引类型与参数、数据量、更新怎么做、换 embedding 模型时怎么迁移
- 简历出现"准确率提升 X%" → 追指标定义、样本数、是不是自己标的、有没有对照
- 简历出现重排 / 混合检索 / 查询改写 → 追各自解决了哪一类失败、加了多少延迟、有没有关掉过
- 简历出现 PDF / 表格 / 多模态解析 → 追解析质量怎么抽检、复杂版式怎么处理、解析错误占失败的比例
- 简历出现 GraphRAG / 知识图谱 → 追图从哪来、维护成本、和普通检索对比的实测差异

## 常见失守与危险信号

- 文档解析与分块:把所有 PDF 一律转纯文本;分块只按固定长度;没意识到解析质量是上限
- Embedding 与混合检索:认为 embedding 越大越好;不知道 BM25 与稠密的互补;没测过 top-k 召回率就说效果好
- 重排与查询改写:把"加 rerank"当万能药说不出它解决的是哪一段;改写后没评测
- 检索评测集:从来没有 query-正确文档对;评估靠"看起来不错"
- 失败归因:分不清召回失败与生成失败;排查没有顺序
- 生产化:索引更新靠全量重建且没有计划;权限过滤在生成之后做;不知道缓存能省哪一段

## 常考主题清单

只列名字、阶梯与答实的标志,作"问到哪一层算实"的参考;问哪些、问几道由这份 JD 与这份简历定,不是配额。

### RAG 链路设计与失败归因
- 阶梯:为什么不直接把文档塞进长上下文 → 分块策略、embedding 模型、向量库索引(HNSW/IVF)各自影响什么 → "检索到了但答错"与"根本没检索到"的区分方法与各自排查顺序 → 混合检索(稠密 + BM25、RRF 融合)、重排、查询改写各自的收益与延迟成本,什么规模值得上
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add yuecao365/offercome/rag-retrieval@sha256:2ef0400a0a589dfe

The line at the top of this page pins the label git:20260920.a4843f5, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_mhbydhu325lboaji.svg)](https://markdownregistry.com/a/art_mhbydhu325lboaji)

5 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Sep 20, 2026.

versioncommittedcommitsizeaudit
git:20260920.a4843f5 latest2026-09-20 a4843f5 7,409 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (7409 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

yuecao365/offercome · 24 stars · license MIT · pushed 2026-10-01 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_mhbydhu325lboaji
GET https://markdownregistry.com/api/v1/resolve?ref=yuecao365/offercome/rag-retrieval
GET https://markdownregistry.com/api/v1/blob/2ef0400a0a589dfef4210a1a935261cb8b1c52437f443939dd9007db9a52195f

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from yuecao365/offercome

AGENTS.md AGENTS.md file
yuecao365/offercome · AGENTS.md
git:20260921.abf64ee · audit A · 24 stars
CLAUDE.md CLAUDE.md file
yuecao365/offercome · CLAUDE.md
git:20260803.e553cde · audit B · 24 stars
agent-runtime SKILL.md skill
yuecao365/offercome · src/lib/mock-interviews/skills/agent-runtime/SKILL.md · Agent 运行时深挖:循环与事件、工具协议与沙箱、子 agent、预算终止、恢复、输出契约。
git:20260920.a4843f5 · audit A · 24 stars
ai-agent SKILL.md skill
yuecao365/offercome · src/lib/mock-interviews/skills/ai-agent/SKILL.md · Agent 开发与运行时怎么面:循环与工具、RAG、上下文与记忆、评测、安全、成本。Agent 与 LLM 应用岗读。
git:20260920.a4843f5 · audit A · 24 stars
ai-algorithm SKILL.md skill
yuecao365/offercome · src/lib/mock-interviews/skills/ai-algorithm/SKILL.md · 大模型算法怎么面:Transformer、预训练、后训练与对齐、RL、微调、Embedding、评测。LLM 算法岗读。
git:20260920.a4843f5 · audit A · 24 stars
ai-app-testing SKILL.md skill
yuecao365/offercome · src/lib/mock-interviews/skills/ai-app-testing/SKILL.md · AI 应用测试深挖:非确定性输出、幻觉与 RAG 评估、Agent 链路审计、安全对抗、回归门禁、AI 生成用例。
git:20260920.a4843f5 · audit A · 24 stars
ai-infra SKILL.md skill
yuecao365/offercome · src/lib/mock-interviews/skills/ai-infra/SKILL.md · 大模型推理与训练基础设施怎么面:KV cache、调度、并行、量化算子、服务指标、训练集群。AI Infra 岗读。
git:20260920.a4843f5 · audit A · 24 stars
algorithm SKILL.md skill
yuecao365/offercome · src/lib/mock-interviews/skills/algorithm/SKILL.md · 算法与机器学习怎么面:ML 基础、深度学习、特征、AB 实验、部署监控、落地。算法与 ML 工程岗读。
git:20260920.a4843f5 · audit A · 24 stars
android SKILL.md skill
yuecao365/offercome · src/lib/mock-interviews/skills/android/SKILL.md · Android 怎么面:生命周期、Compose、协程与 Flow、性能、启动。JD 点名 Android 时读。
git:20260920.a4843f5 · audit A · 24 stars
backend SKILL.md skill
yuecao365/offercome · src/lib/mock-interviews/skills/backend/SKILL.md · 后端怎么面(栈无关):缓存、消息队列、接口、可靠性、可观测、容量、发布。服务端岗读。
git:20260920.a4843f5 · audit A · 24 stars
cpp SKILL.md skill
yuecao365/offercome · src/lib/mock-interviews/skills/cpp/SKILL.md · C++ 后端怎么面:内存模型、RAII、STL 性能、多线程与原子、IO 模型、现代 C++。JD 点名 C++ 时读。
git:20260920.a4843f5 · audit A · 24 stars
cs-fundamentals SKILL.md skill
yuecao365/offercome · src/lib/mock-interviews/skills/cs-fundamentals/SKILL.md · 计算机基础怎么面:操作系统、网络、数据结构与算法、数据库原理。技术岗校招兜底。
git:20260920.a4843f5 · audit A · 24 stars

Every file in yuecao365/offercome

Other files named rag-retrieval

rag-retrieval SKILL.md skill
yonatangross/orchestkit · plugins/ork/skills/rag-retrieval/SKILL.md · Retrieval-Augmented Generation patterns for grounded LLM responses. Use when building RAG pipelines, embedding…
v2.0.0 · audit A · 299 stars

Browse by kind, by grade A, or by owner.