fix(knowledge): modify knowledge skill

This commit is contained in:
zhayujie
2026-04-10 18:22:54 +08:00
parent 5748ded52c
commit 845fadd0aa
2 changed files with 4 additions and 3 deletions

View File

@@ -408,6 +408,7 @@ def _get_rule_template() -> str:
知识的核心价值在于**关联**。每个页面都应通过 markdown 链接引用相关页面,构建知识网络:
- 提到已有页面的概念时,添加 `[概念名](../category/page.md)` 链接
- 新建页面时,检查是否有已有页面应该反向链接到新页面
- **只链接已存在的页面**——不要引用尚未创建的页面。如果某个概念值得单独建页,先创建该页面再添加链接
### 索引维护

View File

@@ -53,7 +53,7 @@ Content here. Cross-reference related pages with markdown links:
- [Page B](../category/page-b.md) — how it relates
```
Cross-references build a knowledge graph. When creating or updating a page, always link to related pages, and update those pages to link back.
Cross-references build a knowledge graph. When creating or updating a page, link to related pages and update those pages to link back. **Only link to pages that already exist** — if a concept deserves its own page, create it first, then add the link.
## Index Format (`knowledge/index.md`)
@@ -76,8 +76,8 @@ Category names and structure are flexible — follow whatever organization alrea
Append-only, newest at bottom:
```markdown
## [2026-04-09] ingest | DeepSeek-R1 Deploy Guide
## [2026-04-09] synthesize | Memory System Design Analysis
## [YYYY-MM-DD] ingest | Page Title
## [YYYY-MM-DD] synthesize | Page Title
```
## Guidelines