code-visualizer

Generate mermaid code flow diagrams from Python module analysis.

1|Updated Nov 11, 2025
One-click install
npx skills add https://github.com/rysweet/RustyClawd --skill code-visualizer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-visualizer
Source: https://github.com/rysweet/RustyClawd/tree/main/.claude/skills/code-visualizer
Command: npx skills add https://github.com/rysweet/RustyClawd --skill code-visualizer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the creation and maintenance of visual code flow diagrams, ensuring your architecture documentation stays accurate and up-to-date with your codebase.

Core Features & Use Cases

  • Auto-Generate Diagrams: Creates mermaid diagrams from Python module analysis.
  • Staleness Detection: Warns when diagrams are out of sync with code changes.
  • PR Impact Analysis: Shows architecture changes introduced in pull requests.
  • Use Case: Automatically generate a diagram for a new module, check if existing diagrams are stale before merging a PR, or visualize the architectural impact of a proposed change.

Quick Start

Generate a code flow diagram for the authentication module.

Frequently Asked Questions about code-visualizer

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

FAQPage Schema
How do I automatically generate architecture diagrams from Python code?

You can automatically generate architecture diagrams from Python code by analyzing module structure and rendering the code flow into mermaid syntax diagrams.

How do I detect when my code visualization diagrams are stale?

Diagram staleness detection works by comparing file timestamps against your current code structure, warning you when existing visual architecture diagrams are out of sync with recent codebase changes.

Can I visualize the architectural impact of changes in a pull request?

Yes, you can visualize the architectural impact of a pull request by analyzing the modified Python code structure and reporting the introduced architecture changes directly against your existing diagrams.

Does this code visualization tool work with languages other than Python?

No, this Skill specifically analyzes Python code to generate and maintain visual code flow diagrams, and does not support analyzing other programming languages for architecture diagram generation.

What is the best way to maintain code flow diagrams as my codebase evolves?

The best way to maintain code flow diagrams is to automate staleness detection by comparing file timestamps and code structure, warning you when architecture documentation falls out of sync during pull requests.