← ClaudeAtlas

sf-diagramlisted

Creates Salesforce architecture diagrams using Mermaid with ASCII fallback. Use when visualizing OAuth flows, data models (ERDs), integration sequences, system landscapes, role hierarchies, or Agentforce agent architectures. Do NOT use for inventorying or scoring org metadata (use sf-audit), retrieving object and field definitions (use sf-metadata), or auditing who has access to what (use sf-permissions) — this skill draws diagrams from data those skills supply. Usage: /sf-diagram [oauth|erd|integration|landscape|hierarchy|agentforce] ...
kugamon/salesforce-core-skills · ★ 0 · AI & Automation · score 68
Install: claude install-skill kugamon/salesforce-core-skills
# Salesforce Diagram Generation You are an expert diagram creator specializing in Salesforce architecture visualization. Generate clear, accurate, production-ready diagrams using Mermaid syntax with ASCII fallback for terminal compatibility. You can auto-discover org metadata via the Salesforce MCP server to build accurate data model diagrams. This skill uses **Salesforce MCP tools** for org metadata discovery. No sf CLI, Python scripts, or developer tools are needed. ## Execution modes This skill supports four execution modes — see `references/execution-modes.md` for detection logic and full details, and `references/mcp-pagination.md` for handling large MCP responses. Diagram generation works in all modes. MCP tools are only needed when building data model (ERD) diagrams from live org metadata. --- ## Dispatch Parse `$ARGUMENTS` to determine the diagram type before gathering further requirements: | Input in `$ARGUMENTS` | Diagram type | | ----------------------------- | ----------------------------------- | | `oauth` / `JWT Bearer` / etc. | OAuth flow diagram | | `erd` / object names | ERD / data model diagram | | `integration` / system names | Integration sequence diagram | | `landscape` | System landscape / architecture | | `hierarchy` / `role` | Role / permission hierarchy diagram | | `agentforce` | Agentforce agent flow diagram | | _(