Loading...
Loading...
Discover connections between documents, build knowledge networks, and establish bidirectional links across your personal Yuque knowledge base. For personal/individual use — operates on your own docs.
npx skill4agent add yuque/yuque-plugin yuque-personal-knowledge-connectyuque-mcpyuque_searchyuque_get_docyuque_list_reposyuque_list_docsyuque_update_docyuque_create_docTool: yuque_get_doc
Parameters:
repo_id: "<namespace>"
doc_id: "<slug>"Tool: yuque_search
Parameters:
query: "<keyword 1>"
type: "doc"Tool: yuque_list_docs
Parameters:
namespace: "<repo_namespace>"Tool: yuque_get_doc
Parameters:
repo_id: "<namespace>"
doc_id: "<slug>"| Relationship | Description | Example |
|---|---|---|
| 🔗 直接相关 | Same topic, different angle | 两篇都讲微服务架构 |
| 🧩 互补 | Fills gaps in each other | 一篇讲设计,一篇讲实现 |
| 📚 前置/后续 | Sequential knowledge | 入门篇 → 进阶篇 |
| 🔀 交叉引用 | Shared concepts across topics | 都提到了 Redis 缓存策略 |
| ⚡ 矛盾/对比 | Conflicting viewpoints | 两篇对同一问题有不同方案 |
# 🗺️ 知识关联图:[主题/文档标题]
> 基于「[起始文档]」发现的知识网络
> 扫描范围:X 个知识库,XX 篇文档
> 生成时间:YYYY-MM-DD
---
## 🎯 中心节点
**[起始文档标题](链接)**
- 知识库:[库名]
- 核心概念:[概念1]、[概念2]、[概念3]
---
## 🔗 关联文档
### 直接相关
| 文档 | 知识库 | 关联类型 | 关联说明 |
|------|--------|----------|----------|
| [标题](链接) | [库名] | 🔗 直接相关 | [为什么相关] |
| [标题](链接) | [库名] | 🧩 互补 | [互补点说明] |
### 延伸阅读
| 文档 | 知识库 | 关联类型 | 关联说明 |
|------|--------|----------|----------|
| [标题](链接) | [库名] | 📚 前置知识 | [说明] |
| [标题](链接) | [库名] | 🔀 交叉引用 | [共同概念] |
---
## 🧠 知识网络
---
## 💡 发现与建议
- **知识聚类**:[发现的知识聚类模式]
- **知识缺口**:[发现缺少的关联文档或主题]
- **建议行动**:
1. [建议创建的文档或补充的内容]
2. [建议建立的新关联]
---
> 本知识图谱由 AI 助手自动生成,关联关系基于内容分析。Tool: yuque_update_doc
Parameters:
repo_id: "<namespace>"
doc_id: "<slug>"
body: "<original content>\n\n---\n\n## 🔗 相关文档\n\n- [相关文档 1](链接) — [关联说明]\n- [相关文档 2](链接) — [关联说明]\n"Tool: yuque_create_doc
Parameters:
repo_id: "<namespace>"
title: "🗺️ 知识图谱:[主题]"
body: "<knowledge map content>"
format: "markdown"✅ 知识关联分析完成!
🗺️ **发现 X 篇相关文档,建立了 X 个关联**
### 关联概览
- 🔗 直接相关:X 篇
- 🧩 互补文档:X 篇
- 📚 前置/后续:X 篇
- 🔀 交叉引用:X 篇
💡 建议:[最重要的一条建议]| Situation | Action |
|---|---|
| Broaden keywords; try synonyms and related terms |
| Starting document has no clear connections | Suggest the document may be on a new topic; offer to search broader |
| Too many connections found (>15) | Prioritize by relevance strength; group into clusters |
| Skip that document; note it in the report |
| User's knowledge base is very small | Acknowledge limited scope; suggest topics to write about to build the network |