Skip to content
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
License
MIT
Last commit
Dec 2, 2026

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

View on 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).

Similar Skills

ask-matt

MAmattpocock/skills337k4,978 new stars in the last 7 days

chief-of-staff

MAmattpocock/skills337k4,978 new stars in the last 7 days

setup-matt-pocock-skills

MAmattpocock/skills337k4,978 new stars in the last 7 days

subagent-driven-development

OBobra/superpowers331k4,772 new stars in the last 7 days

autonomous-loops

AFaffaan-m/ECC315k4,381 new stars in the last 7 days

autonomous-agent-harness

AFaffaan-m/ECC315k4,381 new stars in the last 7 days