
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-codeInstalls 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:
- non-Salesforce systems only → use a more general diagramming skill
- object discovery before an ERD → platform-custom-object-generate or platform-custom-field-generate
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- Integration Connectivity Connected App Configure5.5K
- Integration Connectivity Generate5.5K
- Agentforce D360 Analyze5.4K
- Experience Ui Bundle Frontend Generate5.3K
- Platform Tracing Configure5.3K
- Experience Ui Bundle Metadata Generate5.3K
- Experience Ui Bundle App Coordinate5.3K
- Experience Ui Bundle Deploy5.3K
- Experience Ui Bundle Salesforce Data Access5.3K
- Experience Ui Bundle Custom App Generate5.3K
- Dx App Analytics Query5.2K
- Platform Tracing Agentforce Configure5.2K
- Platform Value Set Generate5.2K
- Integration Eventing Cdc Configure5.2K
- Integration Eventing Subscription Configure5.2K
- Platform Trust Archive Manage5.2K
- Experience Ui Bundle File Upload Generate5.2K
- Experience Ui Bundle Features Generate5.1K
- Dx Devops Test Failures Analyze5.1K
- Data360 Schema Get5.1K
- Dx Devops Test Pipeline Configure5.1K
- Experience Ui Bundle Site Generate5K
- Dx Devops Test Suite Assignments Configure5K
- Dx Devops Test Suite Run5K