Luke-Yong/dsh-plugin-knowledge-graph ↗★ 1
dsh-plugin-knowledge-graph
DSH 插件:提供基于代码库知识关系(包含/导入/导出等)的 read_graph 查询工具。
AI 分析
用于辅助 Agent 理解复杂代码库结构。适合需要让 AI 自动分析项目依赖、导入导出关系和代码架构的开发辅助任务。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Luke-Yong/dsh-plugin-knowledge-graph說明文件
閱讀完整 README ↗Usage
The plugin registers a single tool, read_graph, on ctx.tools. Its parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
query | string | yes | Query string in form |
root | string | no | Absolute workspace root to graph. Defaults to process.cwd() |
Example queries:
exports src/index.ts
exporters_of buildKnowledgeGraph
imports_of src/query.ts
dependents src/knowledgeGraph.ts
structure