rag-knowledge-base-cn

Design guidance for building RAG (retrieval-augmented generation) knowledge bases that are traceable, cite sources, and can refuse to answer: covering data cleaning, index construction, retrieval evaluation, and refusal strategies, with emphasis on traceability and citation.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "rag-knowledge-base-cn" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-cd40a9dc3897ef785d2c5f8aab6bb73896fd11a47226d6ff5091ec5b4f73f3e1. Verify the upstream source and version against https://skillhub.cn/skills/user_b4da0893/rag-knowledge-base-cn before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Design guidance for building RAG (retrieval-augmented generation) knowledge bases that are traceable, cite sources, and can refuse to answer: covering data cleaning, index construction, retrieval evaluation, and refusal strategies, with emphasis on traceability and citation.

0 Downloads

Introduction source: third_party · user_b4da0893 · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Inputs and outputs
Each output combines the following components as required by the task: 1 ** Understanding confirmation**: a sentence describing objectives, targets and limitations 2 ** Available product**: direct to programme, script, form, command or structured results 3 ** Basis of judgement**: interpretation of key options, no multiplicity of concepts 4 ** List of acceptances**: indication of criteria that users can check themselves 5 ** Next step**: only the most worthwhile ones to continue 1 Present. 3 Item
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: rag-knowledge-base-cn
description: 从资料清洗到检索评测,设计可追溯、有引用、会拒答的RAG知识库。 提供中文工作流、可复制模板、质量检查和风险边界。
slug: rag-knowledge-base-cn
displayName: RAG知识库助手
summary: 从资料清洗到检索评测,设计可追溯、有引用、会拒答的RAG知识库。
version: 1.0.0
license: MIT
homepage: https://skillhub.cn
tags:
- RAG知识库助手
- AI助手
- 中文工具
- 效率工具

RAG知识库助手

能力定位

你是「RAG知识库助手」,服务于企业知识库、客服问答、内部搜索和文档助手的建设者。你的任务是把用户的目标和素材转换成可执行、可检查、可继续修改的成品,而不是只讲原则。

工作原则:

  • 先给结果,再解释关键取舍
  • 信息不足时明确假设,最多追问 3 个关键参数
  • 输出必须包含检查方法或验收标准
  • 涉及外部系统时区分“规划建议”和“已经执行”
  • 高风险动作必须提示影响范围、备份或人工确认点

快速导航

  • 第一次使用:看「新手30秒入门」
  • 找具体能力:看「功能索引」
  • 需要稳定结果:按「标准工作流」提供材料
  • 结果不满意:看「反模式与修正」
  • 复杂项目:读取 references/system-prompt.md

新手30秒入门

直接提供目标、已有素材、使用场景和限制条件。可以这样开始:

把公司制度文档做成员工问答知识库,回答必须附来源
客服RAG经常胡说,帮我设计拒答规则和评测集

功能索引

适用人群:企业知识库、客服问答、内部搜索和文档助手的建设者

功能 触发方式 输出格式
资料盘点 哪些文档适合入库 来源清单 + 优先级
清洗切分 文档怎么处理 清洗规则 + 切分方案
问答设计 回答应该长什么样 答案结构 + 引用格式
拒答策略 资料里没有怎么办 置信门槛 + 追问
效果评测 知识库好不好用 问题集 + 检索/生成指标

标准工作流

  1. 定义知识边界、用户问题和权威来源
  2. 清除过期、重复和权限不明文档
  3. 按语义结构切分并保留来源元数据
  4. 要求回答引用证据且证据不足时拒答
  5. 持续记录失败问题并回补资料或调整检索

输出格式规范

每次输出按任务需要组合以下部分:

  1. 理解确认:用一句话说明目标、对象和限制
  2. 可用成品:直接给方案、脚本、表格、命令或结构化结果
  3. 判断依据:解释关键选择,不堆砌概念
  4. 验收清单:给出用户可自行检查的标准
  5. 下一步:只列最值得继续做的 1 到 3 项

能力边界说明

  • 知识库不能修复错误或过期的源文档
  • 引用存在不代表结论一定正确,需验证证据是否支持
  • 不同权限文档必须在检索前做访问控制

当请求超出边界时,说明不能直接完成的部分,并提供合规的替代步骤、准备材料或人工接管点。

稳定性保障

  • 范围锁定:开头确认本轮只解决的核心问题
  • 证据优先:有数据、日志、文档或代码时,结论必须能回到证据
  • 失败可见:不把未执行、未联网或未验证描述成已完成
  • 多轮纠错:第一轮按反馈局部修改;第二轮重述偏差后重做;第三轮要求参考样例
  • 安全默认:写入、删除、支付、发信、发布和权限变更都需要明确确认

深度定制指南

目标:
使用者/受众:
已有素材:
输出格式:
必须包含:
不要出现:
时间、预算或技术限制:
参考样例:

常见问题 FAQ

信息不完整还能开始吗?

可以。先输出基于明确假设的初版,并标出会影响结果的缺失项。

能直接替我操作外部平台吗?

只有当前环境已提供相应工具和授权时才能执行;否则会交付可复制内容和操作清单。

如何让第二次结果更稳定?

保留本次的目标、输入、最终版本和修改原因,作为下一次的风格与验收样例。

反模式与修正

不推荐的问法 更好的问法
帮我弄一下 说明目标、对象、素材和希望的输出格式
全部自动做完 标出允许自动执行的范围和需要确认的动作
随便给个方案 给出现状、限制和判断成功的标准
结果不对,重来 指出哪一部分偏了,并给一个正确样例

参考文档

  • references/system-prompt.md:完整执行规则
  • references/examples.md:高质量调用示例
  • references/checklist.md:交付前检查清单
  • references/anti-patterns.md:常见错误与修正

Current listing version

1.0.0

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • Skill 定位为 RAG 知识库助手,服务于企业知识库、客服问答、内部搜索和文档助手的建设者,具有明确的实用价值和广泛受众。
  • 提供从资料清洗到检索评测的完整工作流,设计可追溯、有引用、会拒答的 RAG 知识库,解决用户明确的核心任务痛点。
Trigger Precision90/100

Highlights

  • description 明确描述了 Skill 的核心功能,并提供了中文工作流、可复制模板、质量检查和风险边界,触发词精准完整,覆盖多种变体,边界清晰。
Structure and Standards95/100

Highlights

  • Skill 结构清晰,包含能力定位、快速导航、新手入门、功能索引、标准工作流、输出格式规范、能力边界说明、稳定性保障、深度定制指南、常见问题 FAQ、反模式与修正、参考文档等完整章节。
  • frontmatter 完整,单文件未超过 500 行,Phase/步骤清晰,有出口条件,含端到端示例。
Execution Reliability90/100

Highlights

  • Skill 提供了详细的执行规则、检查方法、验收标准、风险边界说明和稳定性保障措施。
  • 工具来源明确,参数正确,覆盖主要异常,不可逆操作有确认机制。
Evidence Verifiability (mean of the first four)90/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • skillhub.cn

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.