/cartograph:data-flowfrom cartograph
Generates a Mermaid sequence diagram to trace how data moves between components. Useful for understanding request flows and data transformation pipelines.
Ships in cartograph. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Generate a Mermaid sequence diagram showing how data moves between components in a codebase.
cartograph:call-chain)cartograph:workflow-diagram)Dispatch the codebase explorer agent:
Agent(cartograph:codebase-explorer)
Prompt: Explore [scope] and return a structural model.
Focus on function calls, data transformations, and
inter-module communication for a data flow diagram.
Transform the structural model into a Mermaid sequence diagram.
Rules for data flow diagrams:
sequenceDiagram for request/response flows->> for calls,
-->> for returnsactivate/deactivate for long-running operationsNote over for data transformationsalt/else for conditional flowsExample output:
sequenceDiagram
participant User
participant Command as /commit
participant Sanctum as sanctum.commit
participant Leyline as leyline.git_platform
participant Git
User->>Command: /commit
Command->>Sanctum: generate_message()
Sanctum->>Leyline: get_staged_changes()
Leyline->>Git: git diff --cached
Git-->>Leyline: diff output
Leyline-->>Sanctum: structured changes
Note over Sanctum: Classify change type
Sanctum-->>Command: commit message
Command->>Git: git commit -m "..."
Call the Mermaid Chart MCP to render:
mcp__claude_ai_Mermaid_Chart__validate_and_render_mermaid_diagram
prompt: "Data flow diagram of [scope/feature]"
mermaidCode: [generated syntax]
diagramType: "sequenceDiagram"
clientName: "claude-code"
If rendering fails, fix syntax and retry (max 2 retries).
Show the rendered diagram with a brief description of the flow depicted (2-3 sentences).
sequenceDiagram syntax generated with participants
and at least one ->> call arrowmcp__claude_ai_Mermaid_Chart__validate_and_render_mermaid_diagram
called with diagramType: "sequenceDiagram" and returns without
error (or retry attempted on first failure)-->>) are present for any request that has
a corresponding response in the traced flowWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
data-flow, mermaid, sequence-diagram, request-tracing, data-pipeline
npx claudepluginhub athola/claude-night-market --plugin cartograph7 skills in this plugin
/architecture-diagramGenerates a Mermaid architecture diagram showing high-level component relationships. Use when visualizing how plugins or modules fit together./call-chainTraces execution paths through the code graph with criticality scoring and Mermaid charts. Use when understanding how a function propagates through the system./class-diagramGenerates a Mermaid class diagram showing types, inheritance, and composition. Use when visualizing class hierarchies or documenting a module public API.Other plugins' skills for the same job