Code Visualizer
Multi-language diagram generator that detects stale architecture diagrams against source changes across Python, TypeScript, Rust, and Go.
- CCM score
- 54 of 100
- skills.sh installs
- 245
- GitHub stars
- 77
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers mermaid diagram generation per language, plus an optional combined view with one subgraph per language
- Includes four language analyzers (
python_analyzer,ts_analyzer,rust_analyzer,go_analyzer) behind a shared language-blind renderer - Enforces staleness checks by comparing source mtimes against committed
.mmdfiles, with--check-stalenessexiting non-zero when diagrams are outdated - Designed for polyglot repositories, PR architecture review, and checking diagram freshness after new modules are added
Install
$ npx -y skills add rysweet/amplihack --skill code-visualizer -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Code Visualizer Skill
Purpose
Automatically generate and maintain visual code flow diagrams across multiple programming languages. The skill auto-detects which languages are present in a target path, analyzes each one with a dedicated analyzer, and emits one mermaid diagram per language plus an optional combined high-level view. It also detects when committed diagrams are stale relative to the source they describe.
What's New in 2.0.0
- Multi-language support: Python, TypeScript/JavaScript, Rust, and Go.
- Language dispatcher: Detects languages by file extension and routes to per-language analyzers.
- Language-blind renderer: A single mermaid renderer consumes a normalized graph; the renderer never inspects language semantics.
- One diagram per language plus an optional
--combinedview that places each language in its own mermaidsubgraph. - Generalized staleness: Walks all source files matching detected languages' extensions and compares max-mtime against the diagram mtime.
- Brick-style architecture: Each language analyzer is a self-contained
module that exposes a single
normalize()function. No shared inheritance.
Details
- Repository
- github.com/rysweet/amplihack
- Categories
- Technical Documentation, Code Review & Quality
- First seen
- Jun 3, 2026
Questions
What does the code-visualizer skill do?
The code-visualizer skill auto-generates code flow diagrams from module analysis, producing mermaid diagrams that show imports, dependencies and module relationships. It supports Python, TypeScript/JavaScript, Rust and Go, and emits one diagram per language with an optional combined view.
How do I install the code-visualizer skill?
Run npx -y skills add rysweet/amplihack --skill code-visualizer -y in a project to install it. Once installed, the agent can analyze the project and generate mermaid architecture diagrams for it.
When should I use the code-visualizer skill?
Use it when creating new modules, reviewing pull requests for architecture impact, or checking whether committed diagrams are stale. It detects when code has changed but its architecture diagram has not been updated.
Which category does code-visualizer belong to and what sets it apart?
It sits in the Technical Documentation category on Claude Marketplaces, alongside skills such as domain-modeling, archify and design-doc-mermaid. Its distinct focus is generating and checking mermaid diagrams that track how source code is structured.
More from rysweet/amplihack
All 55- Urban Planner Analyst245
- Debate Workflow243
- Environmentalist Analyst239
- Futurist Analyst238
- Meeting Synthesizer231
- Skill Builder230
- Pr Review Assistant228
- Epidemiologist Analyst227
- Context Management173
- Model Evaluation Benchmark164
- Goal Seeking Agent Pattern160
- Poet Analyst159
- Azure Devops157
- Email Drafter157
- Ethicist Analyst155
- Lsp Setup154
- Session Learning154
- Anthropologist Analyst151
- Mcp Manager149
- Indigenous Leader Analyst144
- Dynamic Debugger143
- Multi Repo140
- Philosophy Compliance Workflow139
- N Version Workflow137
Similar to Code Visualizer
More Technical Documentationdiagramming-codeSkilltrailofbits/skills5K installsGenerates Mermaid diagrams of code structure from Trailmark graphs, choosing the diagram type per question.
MCP Language ServerMCP serverisaacphi1.6K starsGives MCP clients semantic code navigation via any stdio language server: definitions, references, diagnostics, and rename.
GitDiagramMCP serverahmedkhaleel200419.2K starsArchitecture diagrams and narrated videos for public GitHub repositories, read through MCP tools.
improve-codebase-architectureSkillvinvcn/mattpocock-skills-zh-cn6.2K installsScans a codebase for deepening opportunities, writes a visual HTML report, then drills into chosen candidates.
understandSkillegonex-ai/understand-anything6.3K installsAnalyzes a codebase into a navigable knowledge graph of architecture, components, and relationships for an interactive dashboard.
code-reviewerSkillalirezarezvani/claude-skills1.2K installsAutomated multi-language code review with per-language rule packs, PR risk scoring, and merge verdicts.