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.
npx skills add majiayu000/claude-skill-registry --skill code-visualizer-rysweet-azlin --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Code Visualizer Skill ## Purpose 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. ## Philosophy Alignment This skill embodies amplihack's core philosophy: ### Ruthless Simplicity - **Single responsibility**: Visualize code structure - nothing more - **Minimal dependencies**: Uses only Python AST for analysis, delegates diagram syntax to mermaid-diagram-generator - **No over-engineering**: Timestamp-based staleness is simple and "good enough" for 90% of cases ### Zero-BS Implementation - **Real analysis**: Actually parses Python AST to extract imports - no mock data - **Honest limitations**: Staleness detection is timestamp-based, not semantic (see Limitations section) - **Working code**: All algorithms shown are functional, not pseudocode ### Modular Design (Bricks & Studs) - **This skill is one brick**: Code analysis and staleness detection - **Delegates to other bricks**: mermaid-diagram-generator for syntax, visualization-architect for complex diagrams - **Clear studs (public contract)**: A
- Purpose
- Philosophy Alignment
- Ruthless Simplicity
- Zero-BS Implementation
- Modular Design (Bricks & Studs)
- Skill Delegation Architecture
- When to Use This Skill
- Quick Start
- Generate Diagram for Module
- Check Diagram Freshness
- Show PR Impact
- Core Capabilities
- 1. Module Analysis
- 2. Diagram Generation
What does the code-visualizer skill do?
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.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill code-visualizer-rysweet-azlin --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
