codegraph-cli

Analyze local codebases with CodeGraph CLI for symbol traversal and impact analysis.

Updated May 28, 2026
One-click install
npx skills add https://github.com/SensLiao/Claude-code-setting --skill codegraph-cli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codegraph-cli
Source: https://github.com/SensLiao/Claude-code-setting/tree/main/skills/codegraph-cli
Command: npx skills add https://github.com/SensLiao/Claude-code-setting --skill codegraph-cli

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill simplifies local code analysis by leveraging the CodeGraph CLI, allowing users to quickly identify callers, callees, impact radius, and affected tests for any symbol in a local repository.

Core Features & Use Cases

  • Code Analysis: Perform detailed code analysis to understand the dependencies and interactions within the codebase.
  • Symbol Traversal: Find callers, callees, and the impact of changes to symbols in the code.
  • Test Selection: Identify which tests should be run based on code changes.
  • Use Case: When you need to understand the impact of changing a specific function or class in your codebase, use this skill to quickly find out which other parts of the code will be affected.

Quick Start

Use the codegraph-cli skill to find the callers of the function 'PaymentService.charge'.

Frequently Asked Questions about codegraph-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I analyze the impact radius of changing a function in a local repository?

To analyze the impact radius in a local repository, this Skill traverses code symbols to identify affected callers, callees, and tests, showing exactly what interactions will change.

What is dependency mapping for local codebases and how does it work?

Dependency mapping for local codebases identifies structural interactions by traversing symbols. It works by analyzing the local repository to map out how functions and classes depend on each other.

How do I find which tests to run based on specific code changes?

You can find which tests to run by performing test selection via symbol traversal. The analysis identifies affected tests based on the impact radius of your specific code changes.

Do I need the CodeGraph CLI installed locally to map code dependencies?

Yes, you need the CodeGraph CLI installed locally. The Skill leverages the CLI directly to execute symbol traversal, dependency mapping, and impact analysis on your local codebase.

Can I find callers and callees for any symbol in my local codebase?

Yes, you can find callers and callees for any symbol. The Skill performs detailed code analysis on your local repository to map out all dependencies and interactions for the specified symbol.