forcedotcom avatar

Generating Mermaid Diagrams

Generates Mermaid diagrams for Salesforce architecture, OAuth flows, ERDs, integration sequences, and Agentforce structures, with ASCII fallback for plaintext compatibility. Ships with templates for all major OAuth grant types and domain-specific ERD patterns across Sales Cloud, Service Cloud, and B2B Commerce. The workflow is deliberate: gather context, pick the right diagram type (sequence vs flowchart), optionally ground it with real org metadata using the included Python script, then output both Mermaid and ASCII versions. Useful when you need diagrams that live directly in markdown docs or GitHub issues. The cross-skill integration is well thought out, delegating to generating-visual-diagrams when you need rendered PNGs and to object/field generation skills when you need schema discovery before drawing relationships.

skills.sh installs
2.8K
GitHub stars
1.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add forcedotcom/sf-skills --skill generating-mermaid-diagrams --agent claude-code

Installs into .claude/skills of the current project.

Files

Generates Mermaid diagrams for Salesforce architecture, OAuth flows, ERDs, integration sequences, and Agentforce structures, with ASCII fallback for plaintext compatibility. Ships with templates for all major OAuth grant types and domain-specific ERD patterns across Sales Cloud, Service Cloud, and B2B Commerce. The workflow is deliberate: gather context, pick the right diagram type (sequence vs flowchart), optionally ground it with real org metadata using the included Python script, then output both Mermaid and ASCII versions. Useful when you need diagrams that live directly in markdown docs or GitHub issues. The cross-skill integration is well thought out, delegating to generating-visual-diagrams when you need rendered PNGs and to object/field generation skills when you need schema discovery before drawing relationships.

Browse the repository on GitHub

Sponsors

Details

Repository
github.com/forcedotcom/sf-skills
Categories
Security, Code Review & Quality, Sales & Marketing, Design & UI/UX
First seen
Jun 3, 2026

More from forcedotcom/sf-skills

All 158

Recommended

More Security
1coinbase avataragentic-walletcoinbase/agentic-wallet-skillsCrypto wallet operations via the awal CLI — sign in, check balances, send USDC/ETH/POL/SOL, trade tokens, fund the wallet, and use the x402 payment protocol to 2.8Kskills.sh installs
2payloadcms avatarpayloadpayloadcms/payloadUse when working with Payload projects (payload.config.ts, collections, fields, hooks, access control, Payload API). Use when debugging validation errors, secur2.7Kskills.sh installs
3elastic avatarcloud-create-projectelastic/agent-skillsCreates Elastic Cloud Serverless projects (Elasticsearch, Observability, or Security) via the REST API, saves credentials to file, and bootstraps a scoped Elast2.7Kskills.sh installs
4dynatrace avatardt-obs-awsdynatrace/dynatrace-for-aiAWS cloud resource monitoring including EC2, RDS, Lambda, ECS/EKS, VPC networking, load balancers, S3, DynamoDB, SQS/SNS, and cost optimization. Use when analyz2.7Kskills.sh installs
5hustcer avatarnushell-prohustcer/nushell-proComprehensive Nushell scripting best practices, idioms, security, and code review. Use when writing, reviewing, auditing, debugging, or refactoring Nushell (.nu2.7Kskills.sh installs
6auth0 avatarauth0-quickstartauth0/agent-skillsUse when adding Auth0 authentication to any app and unsure which SDK or skill to use. Detects the project's framework and routes to the right setup workflow — u2.7Kskills.sh installs