wiki-query

仓库创建 2026年2月2日最近提交 6 天前SkillHot 收录 20 天前
▸ 精选理由

快速定位已存知识并在写作或回答前避免重复与冲突。

这个 Skill 做什么

对已建维基使用 SQLite FTS5/BM25 检索并返回带引用的相关段落。

用 SQLite FTS5 + BM25 在已有 wiki 上做检索,返回带来源引用的 top-K 段落,便于引用与核验证据。适合在写新页面前检查覆盖、回答领域问题或核实引用时用,能有效避免重复撰写内容。检索结果包含出处与段落,方便直接粘到文档或做引用审查。

▸ 展开 SKILL.md 英文原文

Query pro-workflow wikis via SQLite FTS5 BM25 retrieval. Returns top-K passages with citations. Use when answering a question that any of the user's wikis already covers, when the user says "what does the wiki say about X", "ask wiki", "search wikis", or before drafting a new wiki page (to avoid duplication).

数据与抓取全文检索FTS5 检索维基查询通用
2.7k
Stars
257
Forks
40
仓库内 Skill
+55
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/rohitg00/pro-workflow/main/skills/wiki-query/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/rohitg00/pro-workflow/main/skills/wiki-query/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Wiki Query

FTS5 BM25 retrieval over wiki pages indexed by `wiki-builder`.

## When to use

- Before writing any new wiki page → check coverage first
- User asks a domain question that may already live in a wiki
- "Ask the <slug> wiki: <question>"
- Verifying citations before quoting a claim
- `SessionStart` auto-load when prompt matches a known wiki topic

## Commands

```
node $SKILL_ROOT/scripts/query.js search "<query>" [--wiki <slug>] [--limit 10] [--json]
node $SKILL_ROOT/scripts/query.js related <slug> <rel-path> [--limit 5]
node $SKILL_ROOT/scripts/query.js show <slug> <rel-path>
```

`search` with no `--wiki` ranks across all wikis. `related` finds adjacent pages by reusing the pa
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有