技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
graphify-integration【数据与研究】Optional knowledge-graph integration. When `graphify-out/graph.json` is present, architect/researcher/reviewer/task-builder agents can query symbol-level dependencies (IMPORTS, CALLS, EXTENDS, IMPLEMENTS, DEPENDS_ON) instead of grepping. Degrades gracefully when the graph is missing. Trigger phrases: "knowledge graph", "graphify", "blast radius", "de…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
graphify-out/graph.json is
present, architect/researcher/reviewer/task-builder agents can query
symbol-level dependencies (IMPORTS, CALLS, EXTENDS, IMPLEMENTS, DEPENDS_ON)
instead of grepping. Degrades gracefully when the graph is missing. Trigger
phrases: "knowledge graph", "graphify", "blast radius", "dependency graph".A knowledge graph turns "what will break if I change this file" from a guess into a query. Cavekit uses it only when it is available — nothing in the pipeline depends on it.
pip install graphifyy
graphify build . # writes graphify-out/graph.json
If the file is missing, this skill returns no-ops and every caller falls back to grep + ripgrep search.
NetworkX node-link JSON. Nodes are symbols (functions, classes, modules). Edges carry:
type: DEPENDS_ON | IMPORTS | CALLS | EXTENDS | IMPLEMENTSconfidence: EXTRACTED (high) | INFERRED (medium) | AMBIGUOUS (low)community: cluster ID (for partitioning big graphs into readable slices)cavekit-tools.cjs graph-status # is the graph present?
cavekit-tools.cjs graph-query --term auth # search by name substring
cavekit-tools.cjs graph-dependents --file X # who imports/calls this?
cavekit-tools.cjs graph-summary # top-level community list
(These subcommands are optional extensions; the base cavekit-tools.cjs
ships without them, and they activate only if graphify-out/graph.json is
present.)
/ck:sketch) — query existing symbols for a proposed kit name
to avoid collision with existing code./ck:map) — use community IDs to partition tasks into coherent
tiers. Two tasks whose affected symbols share no edges can run in parallel.ck:researcher) — query existing before fetching external.
If the graph already answers the question, skip the web./ck:make) — load the subgraph of the current task's files only.
Smaller context → faster, cheaper agent.Do not treat low-confidence edges (AMBIGUOUS) as true without verification.
When blast radius includes an AMBIGUOUS edge, fall back to grep and confirm.
When the graph is missing, every graph-* query returns:
{ "available": false, "fallback": "grep" }
Callers check available and fall back to Grep + Read. No error is
raised — this is a degradation, not a failure.