smithery/reikic

document_query

文档查询技能 - 帮助用户高效地查找和获取企业知识库中的信息

Installation

$ npx skills add smithery/reikic --skill document-query

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,855 B
  • docs SUMMARY.md 106 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

文档查询技能 (Document Query Skill)

技能概述

这个技能提供了一套完整的方法论,用于帮助用户从企业知识库中查找和获取信息。通过结合多个工具的使用,你可以高效地满足用户的各种文档查询需求。

可用工具

本技能使用以下三个核心工具:

1. search_documents - 文档搜索

  • 用途: 根据关键词查找相关文档
  • 使用场景: 用户不知道具体文档位置,需要查找相关信息
  • 参数: query - 搜索关键词或问题
  • 返回: 匹配的文档列表及简要信息

2. read_document - 读取文档

  • 用途: 读取指定文档的完整内容
  • 使用场景: 已知文档路径,需要获取详细内容
  • 参数: file_path - 文档的相对路径
  • 返回: 文档的完整内容

3. list_documents - 列出目录

  • 用途: 查看目录结构,浏览可用文档
  • 使用场景: 用户想了解某个部门或主题下有哪些文档
  • 参数: directory - 目录路径(可选,默认为根目录)
  • 返回: 目录下的文件和子目录列表

查询策略和工作流程

策略 1: 模糊查询 → 精确阅读

适用场景: 用户提出问题但不知道具体文档

步骤:

  1. 使用 search_documents 查找相关文档
  2. 分析搜索结果,选择最相关的文档
  3. 使用 read_document 读取选中的文档
  4. 从文档中提取信息回答用户问题

示例:

用户问: "新员工如何申请IT账号?"

步骤 1: search_documents("IT账号申请")
步骤 2: 找到 "HR部/入职指南/IT账号申请流程.md"
步骤 3: read_document("HR部/入职指南/IT账号申请流程.md")
步骤 4: 提取具体流程并回答

策略 2: 目录浏览 → 选择性阅读

适用场景: 用户想了解某个领域的所有可用信息

步骤:

  1. 使用 list_documents 查看目录结构
  2. 向用户展示可用文档
  3. 根据用户兴趣,使用 read_document 读取相关文档
  4. 综合多个文档提供全面回答

示例:

用户问: "HR部有哪些制度规范?"

步骤 1: list_documents("HR部/制度规范")
步骤 2: 展示所有制度文档
步骤 3: 根据需要读取相关文档
步骤 4: 总结制度要点

策略 3: 多维度搜索

适用场景: 初次搜索未找到结果,需要换关键词

步骤:

  1. 尝试不同的关键词组合
  2. 考虑同义词、相关词
  3. 使用更广泛或更具体的搜索词
  4. 如果仍未找到,使用 list_documents 浏览整体结构

关键词建议:

  • 具体问题 → 概括主题
  • 中文 → 拼音/英文缩写
  • 完整词语 → 部分词语
  • 技术术语 → 通俗说法