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.
Works with
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versionsf-diagram-mermaidExecute the skills CLI command in your project's root directory to begin installation:
Fetches sf-diagram-mermaid from jaganpro/sf-skills and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate sf-diagram-mermaid. Access via /sf-diagram-mermaid in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Automate repetitive workflows and reduce manual effort
Example
Generate reports, summarize documents, draft communications
Save 3-5 hours per week on routine tasks
Learn new skills, understand complex topics, get expert guidance
Example
Explain concepts, provide examples, suggest learning resources
Accelerate learning and skill development by 2x
Enhance output quality through reviews, suggestions, and refinements
Example
Review drafts, suggest improvements, catch errors
Improve work quality by 30-40% with less effort
0
total installs
0
this week
442
GitHub stars
0
upvotes
Run in your terminal
0
installs
0
this week
442
stars
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.
Use sf-diagram-mermaid when the user wants:
Delegate elsewhere when the user wants:
| 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 |
Ask for or infer:
sequenceDiagram for time-ordered interactionsflowchart LR for ERDs and capability mapsFor ERDs and grounded diagrams:
Apply:
Provide an ASCII version when the user wants terminal compatibility or plaintext documentation.
Call out the key relationships, flow direction, and any assumptions.
autonumber when step order mattersflowchart LR## <Diagram Title>
### Mermaid Diagram
```mermaid
<diagram>
```
### ASCII Fallback
```text
<ascii>
```
### Notes
- <key point>
- <assumption or limitation>
| Need | Delegate to | Reason |
|---|---|---|
| real object / field definitions | sf-metadata | grounded ERD generation |
| rendered diagram / image output | sf-diagram-nanobananapro | visual polish beyond Mermaid |
| connected-app auth setup context | sf-connected-apps | accurate OAuth flows |
| Agentforce logic visualization | sf-ai-agentscript | source-of-truth behavior details |
| Flow behavior diagrams | sf-flow | actual Flow logic grounding |
| 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 |
Prerequisites
Time Estimate
15-45 minutes depending on use case complexity
Steps
Common Pitfalls
✓ Do
✗ Don't
💡 Pro Tips
✓ Use when
Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.
✗ Avoid when
Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.
intellectronica/agent-skills
imxv/pretty-mermaid-skills
jeremylongshore/claude-code-plugins-plus-skills
github/awesome-copilot
davila7/claude-code-templates
am-will/codex-skills
sf-diagram-mermaid has been reliable in day-to-day use. Documentation quality is above average for community skills.
Useful defaults in sf-diagram-mermaid — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
Solid pick for teams standardizing on skills: sf-diagram-mermaid is focused, and the summary matches what you get after install.
sf-diagram-mermaid reduced setup friction for our internal harness; good balance of opinion and flexibility.
sf-diagram-mermaid fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
We added sf-diagram-mermaid from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
We added sf-diagram-mermaid from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
We added sf-diagram-mermaid from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
sf-diagram-mermaid reduced setup friction for our internal harness; good balance of opinion and flexibility.
sf-diagram-mermaid reduced setup friction for our internal harness; good balance of opinion and flexibility.
showing 1-10 of 59