Skip to content
Development
Command

/visualize

Generate visual diagrams of codebase structure using Mermaid Chart MCP rendering.

From plugin
claude-night-market
325163 skills59 agents163 commands1 MCP
Install
$ npx -y skills add athola/claude-night-market --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/visualize

Context preview

What this command does when you run it.

Generate visual diagrams of codebase structure using Mermaid Chart MCP rendering.

Command definition

visualize.md

Visualize Codebase

Generate visual diagrams of codebase structure using Mermaid Chart MCP rendering.

Arguments

  • `type` - Diagram type: `architecture`, `data-flow`,

`dependency`, `workflow`, or `class` (required)

  • `scope` - Directory path to limit analysis (optional,

defaults to project root)

Usage

/visualize architecture
/visualize data-flow plugins/sanctum
/visualize dependency --depth 2
/visualize workflow .github/workflows
/visualize class plugins/sanctum/scripts

Diagram Types

| Type | Skill | Mermaid Format | |------|-------|----------------| | `architecture` | `cartograph:architecture-diagram` | flowchart TD | | `data-flow` | `cartograph:data-flow` | sequenceDiagram | | `dependency` | `cartograph:dependency-graph` | flowchart LR | | `workflow` | `cartograph:workflow-diagram` | flowchart TD/LR | | `class` | `cartograph:class-diagram` | classDiagram |

Workflow

1. Parse the diagram type from arguments 2. Invoke the matching skill:

  • `architecture` invokes

`Skill(cartograph:architecture-diagram)`

  • `data-flow` invokes `Skill(cartograph:data-flow)`
  • `dependency` invokes

`Skill(cartograph:dependency-graph)`

  • `workflow` invokes

`Skill(cartograph:workflow-diagram)`

  • `class` invokes `Skill(cartograph:class-diagram)`

3. Pass scope argument to the skill 4. Skill handles exploration, Mermaid generation, and MCP rendering

Error Handling

If no type argument is provided, display this help text. If an invalid type is provided, show the valid options table above.

Read more
Ships withclaude-night-market

A plugin marketplace for Claude Code. Install only the plugins you need to run git workflows, code review, spec-driven development, and autonomous agents from inside your Claude Code session.

Get the whole plugin, auto-invoked
Stats
325
Stars
0
Views
35
Forks
Active
Maintenance
Python
Language
MIT
License
1d ago
Last commit
8mo ago
Created

Repo: athola/claude-night-market