You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: skills/README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# skills/ — RAG navigation skills for the java-codebase-rag MCP
2
2
3
-
Two self-contained skills for navigating indexed Java codebases via the 5-tool MCP (`search` / `find` / `describe` / `neighbors` / `resolve`). Skills are agent-side prompt scaffolding — they are **not** a second MCP API and **not** CLI subcommands.
3
+
Two self-contained skills for navigating indexed Java codebases via the 6-tool MCP (`search` / `find` / `describe` / `neighbors` / `resolve` / `trace`). Skills are agent-side prompt scaffolding — they are **not** a second MCP API and **not** CLI subcommands.
4
4
5
5
## Which skill to use
6
6
@@ -26,7 +26,7 @@ skills/
26
26
27
27
The comprehensive operating manual. Includes:
28
28
29
-
-**Five-tool reference** — `search`, `find`, `describe`, `neighbors`, `resolve` with full argument shapes
29
+
-**Six-tool reference** — `search`, `find`, `describe`, `neighbors`, `resolve`, `trace` with full argument shapes
30
30
-**Node kinds** — Symbol, Route, Client, Producer
31
31
-**Edge taxonomy** — stored edges, composed dot-keys, direction semantics
32
32
-**NodeFilter reference** — all filter keys by node kind, strict frame rules
@@ -56,7 +56,7 @@ The tactical tracing skill. Includes:
-**`describe(id)`** — full node record + `edge_summary` (per-label in/out counts). 1 arg.
27
27
-**`neighbors(ids, direction, edge_types, filter?, edge_filter?, limit?)`** — one hop. `direction` and `edge_types` required. `filter` applies to the other node. `edge_filter` (CALLS only) applies to edges before pagination.
28
28
-**`resolve(identifier, hint_kind?)`** — identifier lookup. Returns `one`, `many`, or `none`.
29
+
-**`trace(ids, direction, edge_types, max_depth?, max_paths?, prune_roles?, fan_out_cap?, collapse_trivial?)`** — multi-hop BFS with server-side pruning. Use for 3+ hop path questions or when `neighbors` returns high fan-out (>8 CALLS edges). `direction` and `edge_types` required. `max_depth` 1–5 (default 3). `prune_roles` soft gate (edges recorded, frontier stops). `fan_out_cap` per-node limit (default 5). Cross-service edges are boundary signals — BFS stops at the service boundary.
@@ -119,7 +120,7 @@ Hypothesis: "assign() persists via a repository"
119
120
120
121
### Open-ended neighbors loops
121
122
122
-
Never chain `neighbors(out, CALLS)` calls without a stopping condition. Each hop multiplies the surface area. After 2 hops, stop and reassess.
123
+
Never chain `neighbors(out, CALLS)` calls without a stopping condition. Each hop multiplies the surface area. After 2 hops, stop and reassess — or escalate to `trace` to batch the remaining traversal with server-side pruning.
0 commit comments