memtrace-relationships

Solid

Map source-code relationships between symbols. Use when the user asks about callers, callees, references, imports, exports, type usages, class hierarchy, inheritance, implementations, overrides, or dependencies between symbols. Do not use Grep, Glob, rg, find, or manual text search for references; Memtrace traverses typed AST graph edges.

AI & Automation 469 stars 41 forks Updated 5 days ago NOASSERTION

Install

View on GitHub

Quality Score: 81/100

Stars 20%
89
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

## Overview Traverse the code knowledge graph to map relationships between symbols — callers, callees, class hierarchies, imports, exports, and type usages. Essential for understanding a symbol's neighbourhood before modifying it. ## Quick Reference | query_type | What it finds | |------------|---------------| | `find_callers` | What calls this function/method? | | `find_callees` | What does this function call? | | `class_hierarchy` | Parent classes, interfaces, mixins | | `overrides` | Which child classes override this method? | | `imports` | What modules does this file import? | | `exporters` | Which files import this module? | | `type_usages` | Where is this type/interface referenced? | > **Parameter types:** Numbers (`depth`, etc.) must be JSON numbers — not strings. ## Graph tool parameters ### `get_symbol_context` (360° view — prefer this first) Required: `repo_id`, `symbol` ```json { "repo_id": "memdb", "symbol": "validateToken", "file_path": "src/auth.ts" } ``` Returns: callers, callees, type references, community, processes, cross-repo API callers. ### `analyze_relationships` (targeted traversal) Required: `repo_id`, `target`, `query_type` ```json { "repo_id": "memdb", "target": "validateToken", "query_type": "find_callers", "depth": 3, "file_path": "src/auth.ts" } ``` | Param | Default | Notes | |---|---|---| | `depth` | **3** (max 10) | Not 2 | | `file_path` | — | Disambiguates overloaded names | Full parameter spec for every Memtrace tool: ...

Details

Author
syncable-dev
Repository
syncable-dev/memtrace-public
Created
5 months ago
Last Updated
5 days ago
Language
Python
License
NOASSERTION

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

memtrace-graph

Map source-code architecture with graph algorithms — PageRank centrality, bridge symbols, Louvain communities, dependency paths, and execution flows over the AST graph. Use when the user asks about source-code architecture, important symbols, centrality, PageRank, bridge functions, communities, logical modules, chokepoints, service boundaries, or dependency path questions. Do not use Glob, find, tree, or directory browsing to infer architecture; Memtrace runs graph algorithms over the AST graph.

469 Updated 5 days ago
syncable-dev
API & Backend Listed

memtrace-api-topology

Map API endpoints, outbound HTTP calls, and cross-repo service topology in indexed source code. Use when the user asks about API endpoints, HTTP routes, fetch/client calls, REST surface, service dependencies, cross-repo dependencies, or API topology. Do not use Grep, Glob, rg, find, or manual file search for routes or HTTP calls; Memtrace maps endpoints and call edges from the indexed AST graph.

469 Updated 5 days ago
syncable-dev
AI & Automation Solid

memtrace-quality

Find dead code, complexity hotspots, and refactoring candidates in indexed source code. Use when the user asks about source-code quality, dead code, unused functions, zero callers, complexity, cyclomatic complexity, hotspots, refactoring candidates, or code smell questions. Do not use Grep, Glob, rg, or manual reference search for unused code; Memtrace uses graph reachability and complexity metrics.

469 Updated 5 days ago
syncable-dev