external-diagram-mermaid-generate

Generate Salesforce architecture diagrams in Mermaid syntax with ASCII fallback.

Updated Jul 2, 2026
One-click install
npx skills add https://github.com/padjei/SF_Agents --skill external-diagram-mermaid-generate-padjei
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: external-diagram-mermaid-generate
Source: https://github.com/padjei/SF_Agents/tree/main/.claude/skills/external-diagram-mermaid-generate
Command: npx skills add https://github.com/padjei/SF_Agents --skill external-diagram-mermaid-generate-padjei

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires mermaid, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill generates Salesforce architecture diagrams using Mermaid syntax, with an ASCII art fallback for terminal compatibility. It addresses the need for clear and efficient documentation of Salesforce system designs and integration flows.

Core Features & Use Cases

  • Mermaid Syntax Support: Uses Mermaid for creating text-based diagrams like sequence diagrams, ERDs, and flowcharts.
  • ASCII Fallback: Provides ASCII art versions of diagrams for terminal displays or plaintext documentation.
  • Salesforce-Specific Templates: Offers pre-defined templates for OAuth flows, ERDs, and other Salesforce-specific diagrams.
  • Integration with Other Skills: Can integrate with other skills like platform-custom-object-generate for grounded ERD generation and agentforce-generate for visualizing AI agent architectures.

Quick Start

Use the external-diagram-mermaid-generate skill to create an OAuth flow diagram by typing:

Create an OAuth flow diagram for the 'salesforce_to_sap' flow

Or generate an ERD for the 'Account' object by typing:

Create an ERD for the 'Account' object

Frequently Asked Questions about external-diagram-mermaid-generate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate Salesforce architecture diagrams using Mermaid syntax?

You can generate Salesforce architecture diagrams by providing a text prompt describing the flow or object. This Skill outputs Mermaid syntax for rendering sequence diagrams, ERDs, and OAuth flows.

Can I create an OAuth flow diagram for a Salesforce integration?

Yes, you can create an OAuth flow diagram by specifying the integration flow name. The Skill generates Mermaid syntax documenting the Salesforce authentication sequence using pre-defined templates.

Does Mermaid diagram generation work without a visual renderer?

Mermaid diagram generation works without a visual renderer by outputting an ASCII art fallback. This ensures diagrams remain viewable in terminal displays and plaintext documentation where graphical rendering is unavailable.

How do I document Salesforce ERDs and system landscapes in plaintext?

To document Salesforce ERDs and system landscapes in plaintext, the Skill generates Mermaid syntax with an ASCII art fallback. This allows you to embed object relationships and system designs directly in plaintext documentation.

What is the best way to visualize Salesforce integration sequences?

The best way to visualize Salesforce integration sequences is by generating Mermaid sequence diagrams. The Skill produces text-based syntax mapping the step-by-step message flow between Salesforce and external systems.

Are there limitations when using ASCII fallback for Mermaid diagrams?

A limitation of using ASCII fallback for Mermaid diagrams is reduced visual clarity for complex Salesforce system landscapes. While terminal-compatible, ASCII art lacks the rendering precision of Mermaid diagrams and requires plaintext documentation.