Loading...
Loading...
Compare original and translation side by side
external-diagram-mermaid-generateexternal-diagram-mermaid-generate| Type | Preferred Mermaid form | Typical use |
|---|---|---|
| OAuth / auth flows | | Authorization Code, JWT, PKCE, Device Flow |
| ERD / data model | | object relationships and sharing context |
| integration sequence | | request/response or event choreography |
| system landscape | | high-level architecture |
| role / access hierarchy | | users, profiles, permissions |
| Agentforce behavior map | | agent → topic → action relationships |
| 类型 | 首选Mermaid形式 | 典型用途 |
|---|---|---|
| OAuth/认证流程 | | 授权码、JWT、PKCE、设备流程 |
| ERD/数据模型 | | 对象关系与共享上下文 |
| 集成序列 | | 请求/响应或事件编排 |
| 系统全景 | | 高层架构 |
| 角色/权限层级 | | 用户、配置文件、权限 |
| Agentforce行为映射 | | Agent→主题→动作关系 |
sequenceDiagramflowchart LRsequenceDiagramflowchart LRautonumberautonumberflowchart LRflowchart LRundefinedundefined<diagram><diagram><ascii><ascii>
---
---| Need | Delegate to | Reason |
|---|---|---|
| real object / field definitions | platform-custom-object-generate / platform-custom-field-generate | grounded ERD generation |
| rendered diagram / image output | external-diagram-visual-generate | visual polish beyond Mermaid |
| connected-app auth setup context | integration-connectivity-connected-app-configure | accurate OAuth flows |
| Agentforce logic visualization | agentforce-generate | source-of-truth behavior details |
| Flow behavior diagrams | automation-flow-generate | actual Flow logic grounding |
| 需求 | 转至技能 | 原因 |
|---|---|---|
| 真实对象/字段定义 | platform-custom-object-generate / platform-custom-field-generate | 生成基于真实数据的ERD |
| 渲染后的图表/图片输出 | external-diagram-visual-generate | 提供超出Mermaid的视觉优化 |
| 连接应用认证设置上下文 | integration-connectivity-connected-app-configure | 生成准确的OAuth流程 |
| Agentforce逻辑可视化 | agentforce-generate | 获取真实的行为细节 |
| 流行为图表 | automation-flow-generate | 基于实际流逻辑生成 |
| Issue | Resolution |
|---|---|
| Mermaid renderer not available | Provide ASCII fallback automatically; note that the Mermaid block still carries the diagram for copy-paste into a renderer |
| ERD becomes unreadable with too many objects | Split into sub-diagrams by domain (Sales, Service, etc.) and link them in prose |
| Sequence diagram step order unclear | Use |
| OAuth flow actors differ by grant type | Read the relevant asset template first before generating to avoid actor mismatch |
| 问题 | 解决方案 |
|---|---|
| Mermaid渲染器不可用 | 自动提供ASCII备选方案;说明Mermaid代码块仍可复制粘贴到支持的渲染器中使用 |
| ERD因对象过多而难以阅读 | 按领域(销售、服务等)拆分为子图表,并在文本中建立链接 |
| 序列图步骤顺序不清晰 | 使用 |
| OAuth流程参与者因授权类型而异 | 生成前先查阅相关资产模板,避免参与者不匹配 |
```mermaidautonumber```mermaidautonumber| 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 |
| 分数 | 含义 |
|---|---|
| 72–80 | 可直接用于生产环境的图表 |
| 60–71 | 清晰实用,仅需少量优化 |
| 48–59 | 可用,但可进一步提升清晰度 |
| 35–47 | 需要调整结构 |
| < 35 | 不准确或不完整 |