sf-diagram-mermaid
Create Mermaid diagrams and ASCII fallbacks for Salesforce architecture, entity relationships, OAuth flows, and system landscapes. Choose between sequence diagrams for time-ordered interactions or flowcharts for data models and capability maps, with optional styling for documentation or presentation contexts.
sf-diagram-mermaid generates text-based Mermaid diagrams for Salesforce architecture, data models, and integration flows.
AI-generated summary based on this skill's SKILL.md
Install
Jaganpro/sf-skills/sf-diagram-mermaid · repository language: Python
git clone https://github.com/Jaganpro/sf-skills
cp -r sf-skills/skills/sf-diagram-mermaid ~/.claude/skills/sf-diagram-mermaidFrequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
What can sf-diagram-mermaid create for Salesforce architecture?
sf-diagram-mermaid generates text-based Mermaid diagrams for Salesforce architecture, data models, and system landscapes. It produces flowcharts for data model visualization, sequence diagrams for OAuth flows and integration choreography, entity relationship diagrams (ERDs) showing object relationships, and ASCII fallback diagrams for plaintext documentation. You can request architecture overviews, integration flows, or capability maps tailored to your documentation needs.
How do I create a mermaid diagram for salesforce architecture?
sf-diagram-mermaid lets you request architecture diagrams by specifying your Salesforce components and integration points. Describe your system landscape—such as Salesforce orgs, external APIs, middleware, or data flows—and the skill generates markdown-friendly Mermaid syntax. You can choose flowchart format for hierarchical views or sequence diagram format for time-ordered interactions. The output is ready to embed in documentation or render in tools supporting Mermaid.
Can sf-diagram-mermaid draw an ERD of Salesforce objects?
Yes, sf-diagram-mermaid visualizes entity relationships in markdown-friendly format. Provide your Salesforce object names and their relationships (parent-child, many-to-many, lookups), and the skill generates Mermaid ERD syntax showing object connections and cardinality. The diagrams are text-based, compatible with markdown documentation, and can include custom styling for presentation contexts.
What format does sf-diagram-mermaid use for diagrams?
sf-diagram-mermaid outputs text-based Mermaid syntax compatible with markdown and documentation platforms. For compatibility with plaintext-only environments, it also provides ASCII fallback diagrams. All outputs are markdown-friendly and renderable in tools like GitHub, GitLab, Confluence, or Mermaid Live Editor, making them ideal for technical documentation without requiring image files.
Can I visualize OAuth flow or integration sequences with sf-diagram-mermaid?
sf-diagram-mermaid creates sequence diagrams for OAuth flows, API integrations, and system choreography. Describe your authentication flow (including PKCE variants) or integration steps, and the skill generates time-ordered sequence diagrams showing actor interactions, message exchanges, and decision points. These diagrams clarify complex integration patterns and are perfect for security documentation or architecture reviews.
Does sf-diagram-mermaid support Agentforce and permission hierarchies?
sf-diagram-mermaid can map Agentforce behavior and role/permission hierarchies visually. Request flowcharts or hierarchical diagrams showing user roles, permission sets, and capability assignments. The text-based format makes these diagrams easy to version control and embed in governance documentation or training materials.
SKILL.md
rendered from the published skill — quoted content, verbatim
sf-diagram-mermaid: 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.
When This Skill Owns the Task
Use sf-diagram-mermaid 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
Delegate elsewhere when the user wants: - rendered PNG/SVG images or polished
(truncated - see the full file via the links below)
Read as markdown · JSON record · Browse the source repository
File tree — 15 files
skills/sf-diagram-mermaid/CREDITS.md
skills/sf-diagram-mermaid/README.md
skills/sf-diagram-mermaid/SKILL.md
skills/sf-diagram-mermaid/assets/agentforce/agent-flow.md
skills/sf-diagram-mermaid/assets/architecture/system-landscape.md
skills/sf-diagram-mermaid/assets/datamodel/b2b-commerce-erd.md
skills/sf-diagram-mermaid/assets/datamodel/campaigns-erd.md
skills/sf-diagram-mermaid/assets/datamodel/consent-erd.md
skills/sf-diagram-mermaid/assets/datamodel/files-erd.md
skills/sf-diagram-mermaid/assets/datamodel/forecasting-erd.md
skills/sf-diagram-mermaid/assets/datamodel/fsl-erd.md
skills/sf-diagram-mermaid/assets/datamodel/party-model-erd.md
skills/sf-diagram-mermaid/assets/datamodel/quote-order-erd.md
skills/sf-diagram-mermaid/assets/datamodel/revenue-cloud-erd.md
skills/sf-diagram-mermaid/assets/datamodel/sales-cloud-erd.md