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", "dependency graph".
- License 许可
- MIT
- 最近更新
- 2026-08-26
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- graphify-integration
- description
- 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", "dependency graph".
03 SKILL.md 正文
Graphify Integration
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.
Installation (optional)
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.
Graph shape
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)
CLI surface (via cavekit-tools)
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.)
Per-phase use
- Draft (
/ck:sketch) — query existing symbols for a proposed kit name to avoid collision with existing code. - Map (
/ck:map) — usecommunityIDs to partition tasks into coherent tiers. Two tasks whose affected symbols share no edges can run in parallel. - Research (
ck:researcher) — query existing before fetching external. If the graph already answers the question, skip the web. - Build (
/ck:make) — load the subgraph of the current task's files only. Smaller context → faster, cheaper agent. - Review / Inspect — compute blast radius of the diff. Files touched ∪ transitive dependents = review scope.
Confidence tiers
Do not treat low-confidence edges (AMBIGUOUS) as true without verification.
When blast radius includes an AMBIGUOUS edge, fall back to grep and confirm.
Stub mode
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.
04 同仓库更多 Skills
zustand-5
Zustand 5 state management patterns. Trigger: When managing React state with Zustand.
zod-4
Zod 4 schema validation patterns. Trigger: When using Zod for validation - breaking changes from v3.
x-bookmark-quote-posts
Workflow para revisar bookmarks de X/Twitter y convertirlos en drafts de quote posts. Accede a la sección de bookmarks vía browser headless, extrae posts recientes, y genera drafts con voz personal del usuario. No publica ni muta X — solo genera contenido para revisión. Trigger: X bookmarks, Twitter bookmarks, quote posts, bookmark automation, crear quote posts, revisar bookmarks, growth content X.
writing-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment
writing-plans
Use when you have a spec or requirements for a multi-step task, before touching code
work-unit-commits
Plan commits as reviewable work units. Trigger: implementation, commit splitting, chained PRs, or keeping tests and docs with code.