Files
company-kb/.claude/commands/kb-ask.md
yangqianqian 84f7950589 Initial commit: company-kb framework
- 完整的知识库框架(P0-P5 路线图)
- 12篇治理文档
- 工具脚本(kb-init.sh, kb-lint-fm.py, feishu-sync.py, kb-bot)
- 7个 Claude 命令
- 示例项目和测试项目(wanniu-l1)
- 契约文件(meta/kb-contract.yaml)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-16 18:24:39 +08:00

16 lines
908 B
Markdown
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
description: 查询循环——基于知识库回答,强制溯源,无据报 Gap
argument-hint: <问题>
---
查询循环。问题:`$ARGUMENTS`。基于本知识库 markdown 回答,**每条结论必须挂原始出处**。
执行:
1. 先扫 `projects/` 及相关目录,用语义检索定位相关页(可先看各 `_index.md` 和文件名,再读命中页)。
2. 综合回答,**每个关键结论后标出处**:引用页的 `source_link`,或页面路径 `[[slug]]`
3. **无据即报 Gap**:知识库没有覆盖的部分,明确说"知识库暂无此信息"**绝不用训练数据编造**,可建议用 `/kb-ingest` 补充。
4. 若命中页 `status: seed`(未成熟),提示该结论可信度较低。
5. 回答末尾附"依据页"清单(路径 + source_link
若这个问答有长期价值,提示用户可用 `/kb-save` 回写成 `questions/` 页沉淀。