← 返回 Skills 市场
huangxianzhan

Codegraph Assistant

作者 huangxianzhan · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ pending
27
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install codegraph-assistant
功能描述
一键代码图谱助手 — 包装 npm codegraph,自动初始化/索引/注入上下文。让 DeepSeek TUI 编程时一句话拿到项目结构、符号索引、影响分析。
使用说明 (SKILL.md)

CodeGraph Assistant

npm codegraph 的加速包装器。不需要手动 codegraph init -iquery 三步走。

解决的问题

无此技能 有此技能
手动 codegraph init -i 每项目 setup 一键完成
codegraph context "fix bug" 怕输错格式 ask "你的问题" 自动组命令
不知道改了影响哪些测试 affected file.py 直接出结果
不会注入到 memory inject 写入 MEMORY.md

命令

python codegraph_assist.py setup [path]     # init + index 项目
python codegraph_assist.py ask "问题描述"    # 生成任务上下文 (markdown)
python codegraph_assist.py query "类名"     # 搜索符号
python codegraph_assist.py affected file.py # 改动影响分析
python codegraph_assist.py inject [path]    # 注入摘要到 MEMORY.md
python codegraph_assist.py status [path]    # 索引统计

依赖

  • npm codegraph@colbymchenry/codegraph)已全局安装
  • Python 3.11+

典型工作流

# 新项目
cd myproject
codegraph-assistant setup     # 30s,一次性

# 编程时
codegraph-assistant ask "重构数据库连接层"
# → 输出 markdown 上下文,含入口点、相关符号、调用链

集成

DeepSeek TUI 可通过 exec_shell 直接调用:

> codegraph_assist.py query "ClassName" -j    # 拿 JSON 结果
> codegraph_assist.py affected src/file.py     # 改动前检查
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install codegraph-assistant
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /codegraph-assistant 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of CodeGraph Assistant. - Provides a wrapper for npm codegraph, enabling one-click project setup, indexing, and context injection. - Automates codegraph initialization, indexing, query, and context tasks with single commands. - Offers commands for project setup, symbol search, impact analysis, and injecting summaries into MEMORY.md. - Simplifies integration with DeepSeek TUI for enhanced code navigation and analysis. - Requires globally installed npm codegraph and Python 3.11+.
元数据
Slug codegraph-assistant
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Codegraph Assistant 是什么?

一键代码图谱助手 — 包装 npm codegraph,自动初始化/索引/注入上下文。让 DeepSeek TUI 编程时一句话拿到项目结构、符号索引、影响分析。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 27 次。

如何安装 Codegraph Assistant?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install codegraph-assistant」即可一键安装,无需额外配置。

Codegraph Assistant 是免费的吗?

是的,Codegraph Assistant 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Codegraph Assistant 支持哪些平台?

Codegraph Assistant 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Codegraph Assistant?

由 huangxianzhan(@huangxianzhan)开发并维护,当前版本 v1.0.0。

💬 留言讨论