·code-visualizer
{}

code-visualizer

rysweet/amplihack

Auto-generates code flow diagrams from Python module analysis. Detects when architecture diagrams become stale (code changed, diagram didn't). Use when: creating new modules, reviewing PRs for architecture impact, or checking diagram freshness. Generates mermaid diagrams showing imports, dependencies, and module relationships.

32Installs·5Trend·@rysweet

Installation

$npx skills add https://github.com/rysweet/amplihack --skill code-visualizer

SKILL.md

Automatically generate and maintain visual code flow diagrams. This skill analyzes Python module structure, detects import relationships, and generates mermaid diagrams. It also monitors for staleness when code changes but diagrams don't.

| Module overview | README.md | | Detailed architecture | docs/ARCHITECTURE.md | | Package structure | package/README.md | | API flow | api/README.md |

| New module detection | 95%+ | Reliable for Python modules | | Import relationship mapping | 90%+ | Misses dynamic imports | | Staleness detection | 70-80% | False positives common | | Circular dependency detection | 85%+ | May miss complex cycles | | Class hierarchy extraction | 85%+ | Mixins can be tricky |

Auto-generates code flow diagrams from Python module analysis. Detects when architecture diagrams become stale (code changed, diagram didn't). Use when: creating new modules, reviewing PRs for architecture impact, or checking diagram freshness. Generates mermaid diagrams showing imports, dependencies, and module relationships. Source: rysweet/amplihack.

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/rysweet/amplihack --skill code-visualizer
Category
{}Data Analysis
Verified
First Seen
2026-02-01
Updated
2026-02-18

Quick answers

What is code-visualizer?

Auto-generates code flow diagrams from Python module analysis. Detects when architecture diagrams become stale (code changed, diagram didn't). Use when: creating new modules, reviewing PRs for architecture impact, or checking diagram freshness. Generates mermaid diagrams showing imports, dependencies, and module relationships. Source: rysweet/amplihack.

How do I install code-visualizer?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/rysweet/amplihack --skill code-visualizer Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/rysweet/amplihack