ClaudeCodeMod

All shelves / Marketplaces

mikegazzaruso/codemap

mikegazzaruso/codemap · 2 stars · 1 plugin

Marketplace Generate architecture, dependency, flow, and ER diagrams as validated SVGs from any codebase — Claude Code plugin

Install

In Claude Code
/plugin marketplace add mikegazzaruso/codemap

Run inside Claude Code, then install plugins from it. Check the repo's README before you run it.

Open the repo

Plugins 1

After adding the marketplace, install one with /plugin install <name>@codemap-marketplace.

  1. 1codemapGenerate architecture, dependency, flow, and ER diagrams as validated SVGs from any codebase./plugin install codemap@codemap-marketplacev1.1.0visualization

Files

README.md

codemap

Generate professional Mermaid diagrams from your codebase with a single command.

Commands

Command Description
/codemap:architecture Full system architecture diagram
/codemap:deps Module dependency graph with circular dependency detection
/codemap:flow <target> Flowchart for a specific function or endpoint
/codemap:er Entity-relationship diagram from models/schemas

Output

Each command produces:

  1. A fenced Mermaid code block that renders natively on GitHub, GitLab, Notion, Obsidian, and any Markdown viewer that supports Mermaid.
  2. A rendered SVG file saved to ./codemap-output/<type>.svg in your project root.

The SVG is generated via @mermaid-js/mermaid-cli and validated automatically — if rendering fails, the plugin reads the error, fixes the Mermaid code, and retries until the SVG is valid.

Output files
Command SVG path
architecture ./codemap-output/architecture.svg
deps ./codemap-output/deps.svg
flow <target> ./codemap-output/flow-<target>.svg
er ./codemap-output/er.svg

Prerequisites

  • Node.js (v18+) with npx available in PATH

The plugin uses npx -y @mermaid-js/mermaid-cli to render SVGs on-the-fly — no global install needed. If npx is not available, install the CLI globally:

npm install -g @mermaid-js/mermaid-cli

Install

From your terminal, run:

claude plugin marketplace add mikegazzaruso/codemap
claude plugin install codemap@codemap-marketplace

Then restart Claude Code to load the plugin.

Update

claude plugin update "codemap@codemap-marketplace"

Restart Claude Code after updating.

Examples

Architecture
/codemap:architecture

Produces a graph TD diagram showing system layers, components, and communication protocols.

Dependencies
/codemap:deps

Produces a graph LR diagram mapping inter-module imports. Highlights circular dependencies when found.

Flow
/codemap:flow handleCheckout

Produces a flowchart TD tracing the execution path of a function, including branches, error handling, and external calls.

Entity-Relationship
/codemap:er

Produces an erDiagram with entities, attributes, types, and relationship cardinality extracted from your ORM models, migrations, or schema definitions.

Supported Stacks

Works with any language and framework. The plugin analyzes your project structure, config files, imports, and model definitions regardless of tech stack.

Author

Mike Gazzaruso

License

MIT

Facts

Kind
Marketplace
Repo
mikegazzaruso/codemap
Group
Uncategorized
Stars
2
Marketplace name
codemap-marketplace
Owner
Mike Gazzaruso
Created
2026-02-02
Last push
2026-02-02
Plugins
1

Next on this shelf

  1. 1656misfitdev/claude-pluginsmisfitdev/claude-plugins2
  2. 1657moonklabs/aiwfmoonklabs/aiwf2
  3. 1658MoveIndustries/move-skillsMoveIndustries/move-skills2
  4. 1659nanasess/eccube-dev-agentsnanasess/eccube-dev-agents2
  5. 1660narumiruna/context7-skills-skillnarumiruna/context7-skills-skill2
  6. 1661nickth3man/claude_marketnickth3man/claude_market2