forcedotcom avatar

External Diagram Mermaid Generate

This generates Mermaid diagrams for Salesforce architecture with ASCII fallbacks when you need something that renders in plain text. It covers OAuth flows, ERDs, integration sequences, and Agentforce structure maps. The skill bundles templated flows for every OAuth grant type and pre-built ERD models for Sales Cloud, Service Cloud, and B2B Commerce, so you're not starting from scratch. It also includes a Python preview server and an org metadata query script to ground diagrams in real schema. The workflow is sensible: pick your diagram type, gather context, generate Mermaid, add ASCII if needed, then explain what you drew. Worth using if you document Salesforce integrations in markdown or need diagrams that live in GitHub issues without image uploads.

skills.sh installs
5.6K
GitHub stars
1.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add forcedotcom/sf-skills --skill external-diagram-mermaid-generate --agent claude-code

Installs into .claude/skills of the current project.

Files

external-diagram-mermaid-generate: Salesforce Diagram Generation

Use this skill when the user needs text-based diagrams: Mermaid diagrams for architecture, OAuth, integration flows, ERDs, or Agentforce structure, plus ASCII fallback when plain-text compatibility matters.

Scope

In Scope

Use external-diagram-mermaid-generate when the user wants:

  • Mermaid output
  • ASCII fallback diagrams
  • architecture, sequence, flowchart, or ERD views in markdown-friendly form
  • diagrams that can live directly in docs, READMEs, or issues

Out of Scope — Delegate elsewhere when the user wants:


Supported Diagram Families

Sponsors

Details

Repository
github.com/forcedotcom/sf-skills
Categories
Security, Code Review & Quality, Sales & Marketing
First seen
Jul 14, 2026

More from forcedotcom/sf-skills

All 158

Recommended

More Security
1affaan-m avatargithub-opsaffaan-m/eccGitHub repository operations, automation, and management. Issue triage, PR management, CI/CD operations, release management, and security monitoring using the g5.6Kskills.sh installs
2affaan-m avatardjango-verificationaffaan-m/eccVerification loop for Django projects: migrations, linting, tests with coverage, security scans, and deployment readiness checks before release or PR.5.6Kskills.sh installs
3github avatarweb-codergithub/awesome-copilotExpert 10x engineer with comprehensive knowledge of web development, internet protocols, and web standards. Use when working with HTML, CSS, JavaScript, web API5.5Kskills.sh installs
4forcedotcom avatarintegration-connectivity-generateforcedotcom/sf-skillsSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Serv5.5Kskills.sh installs
5affaan-m avatarkotlin-ktor-patternsaffaan-m/eccKtor server patterns including routing DSL, plugins, authentication, Koin DI, kotlinx.serialization, WebSockets, and testApplication testing.5.5Kskills.sh installs
6samber avatarsite-launch-checklistsamber/cc-skillsPre-launch checklist for shipping a new website. Orchestrates analytics setup (GA4, PostHog, Google Search Console, Ahrefs), legal compliance, security headers 5.4Kskills.sh installs