Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

repoviz

БесплатноЗапускает вложенные скриптыНе проверен

Scan any codebase or logic and instantly generate rich visual diagrams—including architecture diagrams, flowcharts, Sankey diagrams, sequence diagrams, and…

qiakaiот qiakai238 установок в других каталогах

Об этом скилле

repoviz

Turn a codebase into render-ready diagram URLs. Every diagram is a single https://x-cmd.com/draw URL (flat, percent-encoded parameters) that renders SVG in browsers, GitHub READMEs, and any Markdown viewer. Default mode writes no local files; local export happens only on explicit request via scripts/.

Renders ≠ true: every node and edge carries source evidence (verified / inferred / unknown) — the output is a verifiable asset, not an AI sketch.

Step 1 — Intent Analysis & Chart Routing

Pick diagram type(s) from intent + repo shape. Read only the matching references/ file(s) before constructing that diagram.

User intent Diagram Reference
System overview, folder hierarchy, microservices, tech stack Architecture map (/draw/archmap) references/architecture.md
Request lifecycle, function call chains, API handshakes Sequence diagram (/draw/seq) references/flowchart.md
Branching logic, algorithms, auth/pipeline stages Flowchart (/draw/mermaid) references/flowchart.md
State machines, statuses, retry/rollback Lifecycle (/draw/lifecycle) references/flowchart.md
Data pipelines, dependency/bundle weights, traffic routing Sankey (?type=sankey) references/sankey.md
Feature trees, module taxonomy Mind map (/draw/mindmap) references/general-charts.md
Roadmaps, schedules, release plans Gantt (/draw/gantt) references/general-charts.md
Quantitative repo metrics (language split, coverage, growth) Data charts (`?type=pie hbar
Broad "visualize this repo" Multi-diagram suite: 1 archmap overview + 1 Sankey (data/dependency flow) or seq (core request flow) the two matching references

Same-grammar siblings of archmap (see references/architecture.md): arch2 (alt skin). Data/behavior modeling: uc, dataflow, erd, class — grammars and live examples in references/technical-diagrams.md. Long-tail charts (treemap, funnel, graph, ...): /draw/echarts?d=<url-encoded echarts option JSON>.

Scan modes — scope the scan before reading code (user may pick; default from intent):

Mode Scope Typical output
quick manifests, tree to depth 2, entry points 1 overview diagram
architecture modules, services, dependency graph archmap (+ Sankey by weight)
deep-dive call chains, data flow, state machines seq / flowchart / Sankey suite
impact git diff vs base: changed files and their dependents change-flow diagram
full all of the above Repository Report (suite + quality report)

impact mode loads references/architecture-diff.md (git-diff delta workflow); full mode loads references/codebase-report.md (standard report structure); repeat scans of the same repo may load references/incremental-scan.md (opt-in cache protocol); multi-diagram or evidence-sensitive work loads references/repository-ir.md.

Step 2 — Token-Disciplined Codebase Scanning

  1. Read root manifests first: package.json, go.mod, Cargo.toml, pyproject.toml, docker-compose.yml, plus a directory tree to depth 3 and the declared entry points.
  2. Never read every source file. Sample entry-point files and route tables; summarize components into high-signal nodes and edges.
  3. Derive Sankey weights from real quantities where possible: file sizes (du -sh), import/reference counts, or traffic/cost figures the user supplies.
  4. URL length guardrail: keep one diagram to ~15–20 nodes (~60 links for Sankey) so URLs stay readable and inside CDN limits. For large repos, emit a high-level overview diagram + one diagram per subsystem, never a single dense mega-diagram.
  5. Detect language and stack from the manifests and scan with that lens: Go → packages/interfaces/goroutines; TypeScript → modules/import graph/API routes; Rust → crates/traits/features; Python → packages/decorators/entry points.
  6. Record evidence as you scan: every node/edge gets file[:symbol[:lines]] and a level — verified (seen in the code), inferred (derived from structure), or unknown (pattern assumption). Never mark verified without opening the file.

Step 3 — Construct the URL

  • Build the lightweight Repository IR first for suites (one shared node inventory, one document per diagram); map IR → URL at encode time. Schema and validation protocol: references/repository-ir.md.
  • Every URL you build carries its labels to the renderer — apply the Step 4 confidentiality rule before constructing, validating, or exporting it.
  • Grammar (nodes/edges/boundaries), encoding table, worked examples, and per-type limits live in the reference files. Follow them exactly; every example there is live-tested.
  • Encoding essentials: space %20, + %2B, & %26, # %23, </> %3C/%3E, newline %0A; separators ; = , : / @` stay literal. No B
Полный SKILL.md на ClawHub

Установить repoviz в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл repoviz?

Scan any codebase or logic and instantly generate rich visual diagrams—including architecture diagrams, flowcharts, Sankey diagrams, sequence diagrams, and mind maps—via zero-dependency cloud rendering URLs. Outputs ready-to-embed Markdown links by default, with on-demand export to local SVG, PNG, or standalone interactive HTML reports. Use when the user asks to visualize a repo, map architecture, trace data flows, draw a flowchart/Sankey/sequence diagram, or document system design.

Как установить скилл repoviz?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл repoviz запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить repoviz с