Skip to main content

codebase-visualizer

Generate an interactive HTML tree visualization of the current project's file structure, with file sizes, color-coded file types, and a sidebar summary. Use when exploring a new repository, understanding project layout, identifying large files, or getting an overview of a codebase.

ソース情報

リポジトリ
davila7/claude-with-skills
ソースの最終更新活動
2026年5月15日 01:57
検出された SKILL.md の言語
英語
スター
13
フォーク
0

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。

ファイルエクスプローラー
2 ファイル

SKILL.md を表示中

SKILL.md
ソースの指示 · 読み取り専用プレビュー
title
codebase-visualizer
name
codebase-visualizer
description
Generate an interactive HTML tree visualization of the current project's file structure, with file sizes, color-coded file types, and a sidebar summary. Use when exploring a new repository, understanding project layout, identifying large files, or getting an overview of a codebase.
allowed-tools
Bash(python3 *) Bash(open *) Bash(xdg-open *)
Generate an interactive collapsible HTML tree of the project. ## Usage Run the visualizer script from the project root: ```bash python3 ${CLAUDE_SKILL_DIR}/scripts/visualize.py . ``` This creates `codebase-map.html` in the current directory and opens it in the default browser. ## What it shows - Collapsible directory tree — click any folder to expand or collapse it - File sizes displayed next to each file name - Color-coded dots for file types (.js, .ts, .py, .go, .rs, and more) - Directory size totals (sum of all files within) - Sidebar summary: total file count, directory count, total size, number of unique file types - Bar chart of the top 8 file types by total size Ignored automatically: `.git`, `node_modules`, `__pycache__`, `.venv`, `venv`, `dist`, `build`, and any directory or file whose name starts with `.`. ## Instructions 1. Run the command above from the root of the project you want to visualize. 2. Report the absolute path of the generated file. 3. The script opens the file in the default browser automatically. If it does not open, tell the user to open the reported path manually. 4. If Python 3 is not available, report the error from the command and stop.
GitHubで見る