Визуализация архитектуры кода в диаграммы
★ 6.6 · vibe-coding
code-to-diagram is a Claude Code skill that analyzes codebases and automatically generates architecture diagrams, flowcharts, and org charts using AST-based dependency mapping. It supports Python, JavaScript, TypeScript, Go, and Java — Python files are parsed with the `ast` module, while other languages use regex to extract import statements. Output is written as Mermaid `.mmd` files or rendered to SVG via the optional `mmdc` CLI; flags like `--type`, `--format`, `--max-files`, and `--max-depth` give fine-grained control over what gets generated. The skill is designed for developers who need to understand an unfamiliar module structure, spot circular dependencies, produce architecture docs, or map coupling before a refactor. Runs on Python 3.7+ with no third-party packages required.
- #code-visualization
- #architecture-diagram
- #mermaid
- #ast-parsing
- #dependency-mapping