Skills Plugins MCP Prompt Model 博客 我的中心

code-graph

Query the pre-built code-review-graph knowledge graph (Tree-sitter, whole monorepo) instead of walking call chains with Grep+Read — 2-6x cheaper, and it catches dynamic dispatch that grep misses. Use for ANY task that spans multiple files, even when the user never mentions a graph or asks for it - fixing or tracing a bug ("fix this bug", "why does X happen", "trace this"), exploring unfamiliar code ("how does X work", "who calls X", "what imports Y", "where is X used or handled"), planning or doing a refactor ("rename X", "is it safe to change or remove X", "what would break", "blast radius", "find dead code"), or reviewing changes ("review this PR", "review this branch or diff"). If you are about to Grep for a symbol to find its callers, callees, or importers, stop and use this skill instead.

DeepseekModel 官方收录技能 质量 优秀 · 90 v1.0.0

获取

https://deepseekmodel.com/api/download.php?id=handsontable-handsontable-claude-skills-code-graph-skill-md&format=skill
下载 .skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name code-graph description Query the pre-built code-review-graph knowledge graph (Tree-sitter, whole monorepo) instead of walking call chains with Grep+Read — 2-6x cheaper, and it catches dynamic dispatch that grep misses. Use for ANY task that spans multiple files, even when the user never mentions a graph or asks for it - fixing or tracing a bug ("fix this bug", "why does X happen", "trace this"), exploring unfamiliar code ("how does X work", "who calls X", "what imports Y", "where is X used or handled"), planning or doing a refactor ("rename X", "is it safe to change or remove X", "what would break", "blast radius", "find dead code"), or reviewing changes ("review this PR", "review this branch or diff"). If you are about to Grep for a symbol to find its callers, callees, or importers, stop and use this skill instead. Code graph (code-review-graph MCP) One pre-built Tree-sitter knowledge graph over the whole monorepo answers cross-file questions far more cheaply than walking call chains with Grep+Read. It serves four modes — explore, debug, refactor, review — that share the same setup and tools. Bootstrap once per session Graph MCP tools are deferred at session start, so a direct call fails with InputValidationError . Before your first graph call, load the schemas with one ToolSearch : ToolSearch query: "select:mcp__code-review-graph__query_graph_tool,mcp__code-review-graph__get_impact_radius_tool,mcp__code-review-graph__detect_changes_tool,mcp__code-review-graph__get_affected_flows_tool" Comma-separate whichever tools the task needs. One cheap call unblocks every graph query for the rest of the session. Keep the graph current A graph built on another branch makes detect_changes report function names from unrelated files. Verify and rebuild when needed (the PostToolUse hook keeps it in sync after edits, so a manual rebuild is only needed after git checkout / git pull / large merges): pipx run code-review-graph==2.3.6 status pipx run code-review-graph==2.3.6 build Pick your mode Explore and understand list_graph_stats for overall metrics. list_communities , then get_community for a specific area. semantic_search_nodes to find a function or class by name (keyword match, not natural language). query_graph with callers_of / callees_of / importers_of to trace relationships, or children_of on a class to list its methods. list_flows and get_flow to follow execution paths. Debug an issue semantic_search_nodes to locate code related to the symptom. query_graph callers_of and callees_of to trace the call chain in both directions — the entry point that triggers the bug is usually upstream. get_flow for full execution paths through suspect areas. get_impact_radius on suspect files to see what else is affected. Recent changes are the most common cause — verify the branch, then use detect_changes . Plan a refactor get_impact_radius and get_affected_flows to measure blast radius before touching code. refactor_tool mode rename previews every affected location; dead_code finds unreferenced code; suggest proposes community-driven splits. apply_refactor_tool with the refactor_id applies a previewed rename. After changes, detect_changes to verify the impact. Caveat: refactor_tool , apply_refactor_tool , and find_large_functions are not empirically validated on this codebase. Treat their output as hypotheses, not prescriptions — verify each edit against the real code, and always preview before applying. Review changes detect_changes for risk-scored change analysis. get_affected_flows for impacted execution paths. get_impact_radius for the blast radius. Test coverage: grep for *.spec.js / *.unit.js (do NOT use tests_for — it returns 0 incorrectly for many files). Suggest specific cases for untested changes. Report findings grouped by risk (high/medium/low): what changed and why it matters, test-coverage status, suggested improvements, and an overall merge recommendation. Cross-cutting rules Always pass detail_level: "minimal" — standard mode repeats absolute paths per node and inflates tokens ~6x. Use fully qualified names: path/to/file.ts::ClassName.methodName . Bare names return an "ambiguous" error. Do NOT call get_architecture_overview — it returns ~3.9M characters and overflows context. Use list_communities + get_community instead. For single-file structure, grep is cheaper than children_of . Full setup, version pin, rebuild, and troubleshooting: .ai/MCP.md ("code-review-graph MCP"). Target: complete any graph task in ≤5 tool calls.
Agent 识别该技能的关键词,点击任意一个即可复制。

该技能未提供触发词。

下载的 .skill 包内含以下字段。
字段 说明
format格式标识(skill/v1)
skill_id技能唯一 ID
name技能名称
version版本号
description技能描述
category所属分类(数组)
trigger_words触发词列表
tags标签列表
source来源标识
source_url来源链接(本页地址)
exported_at导出时间(每次下载生成)
system_prompt系统提示词正文
model_config模型参数:provider / model / temperature / max_tokens / top_p
examples示例
install_guide各平台导入说明(Coze / Dify / Claude / 自定义框架)
同一份技能可按不同平台格式导出。
.skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用 下载
.skillpro 增强格式,额外含脚本 / 工具 / 依赖 / 钩子占位 下载
.json 纯 JSON 导出,只含 system_prompt 与模型参数 下载
Coze 带 frontmatter 的 Markdown,Coze 平台导入用 下载
Dify Dify DSL,创建应用后直接导入 下载

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。