generating-mermaid-diagrams

Official

Turn Salesforce architecture into clear Mermaid diagrams.

Authorforcedotcom
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It solves the problem of communicating complex Salesforce architecture, OAuth flows, data models, and integrations using clean, text-first diagrams that are easy to edit and share.

Core Features & Use Cases

  • Mermaid + ASCII output: Produces Mermaid diagrams for rich rendering and an ASCII fallback for plaintext/terminal compatibility.
  • Salesforce-focused diagram families: Covers OAuth flows (multiple grant types), ERDs/data models, integration sequence patterns, system landscapes, role hierarchies, and Agentforce structure.
  • Grounding and conventions: Encourages consistent diagram structure (actors, steps, relationship types) and supports optional grounding for ERDs via org metadata querying and related skills for object/field discovery.

Quick Start

Ask for a Mermaid diagram and an ASCII fallback by saying: "Create a JWT Bearer OAuth flow diagram for our CI/CD integration and include an ASCII fallback."

Dependency Matrix

Required Modules

None required

Components

scriptsreferencesassets

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: generating-mermaid-diagrams
Download link: https://github.com/forcedotcom/sf-skills/archive/main.zip#generating-mermaid-diagrams

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.