AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Sf Diagram Mermaid

skill-jaganpro-sf-skills-sf-diagram-mermaid · by Jaganpro

>

No reviews yet
0 installs
27 views
0.0% view→install

Install

$ agentstack add skill-jaganpro-sf-skills-sf-diagram-mermaid

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-jaganpro-sf-skills-sf-diagram-mermaid)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
Archived

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Sf Diagram Mermaid? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

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 mockups → [sf-diagram-nanobananapro](../sf-diagram-nanobananapro/SKILL.md)
  • non-Salesforce systems only → use a more general diagramming skill
  • object discovery before an ERD → [sf-metadata](../sf-metadata/SKILL.md)

Supported Diagram Families

| Type | Preferred Mermaid form | Typical use | |---|---|---| | OAuth / auth flows | sequenceDiagram | Authorization Code, JWT, PKCE, Device Flow | | ERD / data model | flowchart LR | object relationships and sharing context | | integration sequence | sequenceDiagram | request/response or event choreography | | system landscape | flowchart | high-level architecture | | role / access hierarchy | flowchart | users, profiles, permissions | | Agentforce behavior map | flowchart | agent → topic → action relationships |


Required Context to Gather First

Ask for or infer:

  • diagram type
  • scope and entities / systems involved
  • output preference: Mermaid only, ASCII only, or both
  • whether styling should be minimal, documentation-first, or presentation-friendly
  • for ERDs: whether org metadata is available for grounding

Recommended Workflow

1. Pick the right diagram structure

  • use sequenceDiagram for time-ordered interactions
  • use flowchart LR for ERDs and capability maps
  • keep a single primary story per diagram when possible

2. Gather data

For ERDs and grounded diagrams:

  • use [sf-metadata](../sf-metadata/SKILL.md) when real schema discovery is needed
  • optionally use the local metadata helper script for counts / relationship context when appropriate

3. Generate Mermaid first

Apply:

  • accurate labels
  • simple readable node text
  • consistent relationship notation
  • restrained styling that renders cleanly in markdown viewers

4. Add ASCII fallback when useful

Provide an ASCII version when the user wants terminal compatibility or plaintext documentation.

5. Explain the diagram briefly

Call out the key relationships, flow direction, and any assumptions.


High-Signal Rules

For sequence diagrams

  • use autonumber when step order matters
  • distinguish requests vs responses clearly
  • use notes sparingly for protocol detail

For ERDs

  • prefer flowchart LR
  • keep object cards simple
  • use clear relationship arrows
  • avoid field overload unless the user explicitly asks for field-level detail
  • color-code object types only when it improves readability

For ASCII output

  • keep width reasonable
  • align arrows and boxes consistently
  • optimize for readability over decoration

Output Format

````markdown

Mermaid Diagram

ASCII Fallback

Notes

````


Cross-Skill Integration

| Need | Delegate to | Reason | |---|---|---| | real object / field definitions | [sf-metadata](../sf-metadata/SKILL.md) | grounded ERD generation | | rendered diagram / image output | [sf-diagram-nanobananapro](../sf-diagram-nanobananapro/SKILL.md) | visual polish beyond Mermaid | | connected-app auth setup context | [sf-connected-apps](../sf-connected-apps/SKILL.md) | accurate OAuth flows | | Agentforce logic visualization | [sf-ai-agentscript](../sf-ai-agentscript/SKILL.md) | source-of-truth behavior details | | Flow behavior diagrams | [sf-flow](../sf-flow/SKILL.md) | actual Flow logic grounding |


Reference Map

Start here

  • [references/diagram-conventions.md](references/diagram-conventions.md)
  • [references/mermaid-reference.md](references/mermaid-reference.md)
  • [references/usage-examples.md](references/usage-examples.md)

Styling / ERD specifics

  • [references/mermaid-styling.md](references/mermaid-styling.md)
  • [references/color-palette.md](references/color-palette.md)
  • [references/erd-conventions.md](references/erd-conventions.md)

Preview

  • [references/preview-guide.md](references/preview-guide.md)
  • [scripts/mermaidpreview.py](scripts/mermaidpreview.py)
  • [scripts/query-org-metadata.py](scripts/query-org-metadata.py)

Score Guide

| Score | Meaning | |---|---| | 72–80 | production-ready diagram | | 60–71 | clear and useful with minor polish left | | 48–59 | functional but could be clearer | | 35–47 | needs structural improvement | | < 35 | inaccurate or incomplete |

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.