跳到正文
FunCoding

octocode-graph-dev

Load this skill first when changing or benchmarking Octocode's native graph engine (extraction, linking, snapshots, detectors): engine map, cache versions and the language battery.

Star
972
许可证
MIT
最近提交
2026年12月2日

skills-dev/octocode-graph-dev/SKILL.md

在 GitHub 上查看

Octocode graph dev

Graph tools run from node packages/octocode-graph/bin/octocode-graph.mjs graphBuild|graphQuery '<json>', not the octocode-mcp CLI; they are CLI commands, and no MCP server lists them (octocode-graph mcp serves the saved-graph tools). $DEV: AGENTS.md.

Change the engine

  1. Before changing linking, recall or timing, run the language battery on a $DEV pin of the current binary; keep its receipts. If pin answers noBinary or native sources changed since the build, $DEV build:dev before editing, so the baseline measures the unchanged engine.
  2. Find the owning module, its tests and the cache version it may invalidate in the engine map.
  3. Write the failing case first; per-language linking cases go in ast_graph/link_tests/<language>.rs, expected target from the language's binding rules, never a matching name; leave an unsettled site unresolved with a named reason, or document why a link is medium or low.
  4. Fix the owner, bump the cache version the change invalidates, and test with $DEV test:dev --crate tool-graph [--crate engine] [-- <module filter>]. Run CODE_GRAPH.md's evaluation suite as --crate engine -- graph:: plus --crate tool-graph -- ast_graph, not its bare cargo test lines.
  5. After build:dev and a new pin, run the graph calls of tool checks on the CLI, then rerun the battery on that pin and judge every row against the baseline.

Stop when every battery row is judged and CODE_GRAPH.md's evaluation, per-language limits and open decisions match it. Return the result, then per row before → after (recall, precision, link rate, build ms) explained from source, the cache version bumped or why none, tests run, and recall or precision changes for the owner to accept (HTML report on request).

相似的 Skill

ask-matt

MAmattpocock/skills337k近 7 天新增 4,217 个 star

chief-of-staff

MAmattpocock/skills337k近 7 天新增 4,217 个 star

setup-matt-pocock-skills

MAmattpocock/skills337k近 7 天新增 4,217 个 star

subagent-driven-development

OBobra/superpowers331k近 7 天新增 5,030 个 star

autonomous-loops

AFaffaan-m/ECC315k近 7 天新增 3,503 个 star

autonomous-agent-harness

AFaffaan-m/ECC315k近 7 天新增 3,503 个 star