Kb Link banner
huifer huifer

Kb Link

Development community

Description

--- argument-hint: <source-id> <target-id> [--type=references|builds-on|related|contradicts|example-of|application] description: 在两个知识条目之间创建关联 allowed-tools: Read, Write, Edit, Bash --- # /kb-link - 创建知识关联 ## 功能 在两个知识条目之间创建双向关联,建立知识网络。 ## 使用方式 ### 基本用法 ``` /kb-link 2025-01-04-143052 2025-01-03-102015 ``` 在两个条目之间创建默认的"相关"关联。 ### 指定关联类型 ``` /kb-link 2025-01-04-143052 2025-01-03-102015 --type=references ``` 创建"引用"类型的关联。 ### 使用"current"引用当前工作 ``` /kb-link current 2025-01-03-102015 --type=build

Installation

Installs to ~/.claude/commands/huifer-claude-code-knowcraft-kb-link.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/huifer/Claude-Code-KnowCraft/HEAD/.claude/commands/kb-link.md -o ~/.claude/commands/huifer-claude-code-knowcraft-kb-link.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository