codegraph
Indexes source code into a knowledge graph with semantic embeddings to answer questions about call chains, dependencies, dead code, bug root causes, class relationships, and PR risk across large codeb
What it does
Analyze indexed codebases via graph database (neug) and vector index (zvec). Covers call graphs, dependencies, dead code, hotspots, module coupling, architecture reports, semantic search, impact analysis, bug root cause from GitHub issues, class diagrams (UML), and PR review (risk scoring, conflict detection, auto-merge candidates, labeling). Also covers creating, inspecting, and repairing a CodeScope index. Use for: code structure, who calls what, why something changed, similar functions, module boundaries, bug tracing, class relationships, PR risk/conflicts, or any question benefiting from a code knowledge graph. Applies when a `.codegraph` index exists in the workspace, or when the user wants to create one.
Quality judgment
The skill document provides comprehensive coverage of CodeScope's capabilities across graph analysis, semantic search, bug root cause tracing, and PR review. It includes detailed installation instructions, CLI and Python API examples, language-specific guidance (Python, JavaScript/TypeScript, C, Java), and structured workflows for bug analysis and PR management. The document is well-organized with clear sections, tables, and code samples. Minor deductions for occasional ambiguity in environment variable setup and lack of explicit error handling guidance.