python-call-graph

Community

Visualize Python code structure.

Authoroiiiwjh
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps developers understand the complex relationships and dependencies within Python codebases by generating static call graphs, eliminating the need for manual code tracing or runtime execution.

Core Features & Use Cases

  • Static Analysis: Analyzes Python code using Abstract Syntax Trees (AST) without executing it.
  • Call Graph Generation: Creates visual representations (Mermaid diagrams) and structured data (JSON) of function and method calls.
  • Dependency Mapping: Identifies how different parts of the codebase call each other, aiding in refactoring and debugging.
  • Use Case: When onboarding to a new Python project, use this Skill to generate a call graph of the main application entry point to quickly grasp the project's architecture and data flow.

Quick Start

Use the python-call-graph skill to generate a Mermaid and JSON call graph for the local repository located at '/path/to/your/python/project'.

Dependency Matrix

Required Modules

None required

Components

scriptsreferencesassets

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: python-call-graph
Download link: https://github.com/oiiiwjh/skills/archive/main.zip#python-call-graph

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.