What problem does it solve? Creating accurate Salesforce architecture documentation—OAuth flows, ERDs, integration sequences, and system landscapes—requires manual diagramming effort and often produces inconsistent, hard-to-maintain visuals that cannot live in version-controlled Markdown. ## Core Features & Use Cases - Mermaid Diagram Generation: Produces sequence diagrams for OAuth flows (Authorization Code, PKCE, JWT Bearer, Client Credentials, Device Flow), flowchart-based ERDs, integration sequences, role hierarchies, and Agentforce agent maps. - ASCII Fallback Output: Renders terminal-friendly ASCII versions of every diagram for plaintext documentation and CLI contexts. - Org-Grounded ERDs: Queries live Salesforce orgs via the sf CLI for record counts (LDV indicators), OWD sharing settings, and object types to annotate data model diagrams. - Live Preview Server: Ships a zero-dependency Python HTTP server with Server-Sent Events live reload, SVG download, and dark mode for iterating on diagrams in a browser. - Use Case: Ask for an ERD of Account, Contact, and Opportunity and receive a styled Mermaid flowchart with LDV and OWD annotations pulled from your actual org, plus an ASCII version for your README. ## Quick Start Ask the agent to create a JWT Bearer OAuth flow diagram or an ERD for your Salesforce objects, and optionally request a live browser preview.