slm-graph
仓库创建 2026年2月5日最近提交 1 天前SkillHot 收录 8 小时前
▸ 精选理由
适合做变更影响分析与语义代码检索。
这个 Skill 做什么
把代码库索引为结构化图谱,进行调用链和语义搜索。
把代码库索引成结构化的代码图谱,用来追踪调用链、找出 callers/callees/inheritors、评估改动波及面并做语义搜索。用在想了解某处改动会影响什么、找函数调用方或快速熟悉陌生代码库时。能组装 PR 审查上下文并检测自上次索引后的变化,但需要先构建代码图(code MCP profile)。
▸ 展开 SKILL.md 英文原文
Index and query a codebase as a structural graph — build the code graph, trace blast radius of a change, find callers/callees/inheritors, semantic code search by meaning, assemble PR review context, and detect what changed since last index. Use when the user asks how code connects, what breaks if X changes, what calls a function, what a class inherits from, how to navigate an unfamiliar codebase, or to understand risk before editing.
199
Stars
34
Forks
37
仓库内 Skill
积累中
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/qualixar/superlocalmemory/main/codex-plugin/skills/slm-graph/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/qualixar/superlocalmemory/main/codex-plugin/skills/slm-graph/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# slm-graph — Code Intelligence Skill
Index any repo as a code knowledge graph and answer structural questions about it: callers, callees, impact radius, semantic search, and review context. Requires the `code` MCP profile (set `SLM_MCP_PROFILE=code` in your plugin `.mcp.json`).
**Prerequisite rule:** every tool except `build_code_graph` self-guards — if the graph is not built it returns `{"success": false, "error": "Code graph not built. Run build_code_graph first."}`. Always index first.
---
## Tool Reference
### 1. `build_code_graph` — index a repository
```
build_code_graph(
repo_path: str,
languages: str = "",
exclude_patterns: str = "",
) -> {success, files_parsed, novia SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有