用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill uml-diagrams命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | uml-diagrams |
| description | >- Use when this capability is needed. |
Maintainers: Canonical long-form copy also lives in
.skill/skills/uml-mcp-diagrams/SKILL.md. Keep tool tables andoutput_dirwording aligned with the Smithery bundle uml-skill.
Produce valid diagram_type and DSL code, call generate_uml, and give the user the url (and playground when present). Prefer URL-first output: omit output_dir / use null unless the user wants files on disk (local stdio only).
diagram_type is unclear, use list_diagram_types or read uml://types / uml://formats before generate_uml.diagram_type to the language of code (e.g. Mermaid body → mermaid; @startuml → plantuml or the specific Kroki PlantUML subtype when applicable).validate_uml before heavy retry loops or on pasted diagram source.url plus a short copy of code so the user can edit and regenerate.diagram_type or output_format; confirm from uml://types / uml://formats or list_diagram_types.code—only valid diagram DSL.output_dir unless the user asked for saved files (not applicable to the default HTTP deployment).uml://types / uml://capabilities when the type is ambiguous.uml://templates, uml://examples, or uml://recipes for starters.validate_uml with strict: true for stricter Mermaid/D2 checks.generate_uml, validate_uml, list_diagram_types, generate_uml_batchuml://types, uml://formats, uml://templates, uml://examples, uml://capabilities, uml://recipes, uml://server-info, uml://workflow, plus URIs from resources/listPrompts (when exposed): uml_diagram, uml_diagram_with_thinking, class_diagram, sequence_diagram, activity_diagram, usecase_diagram, mermaid_sequence_api, mermaid_gantt, bpmn_process_guide, c4_model, wireviz_harness, bpmn_executable_process, convert_class_to_mermaid, algorithm_explainer, paper_concept_diagram.
| Field | Notes |
|---|---|
diagram_type | Required; must match server-supported keys. |
code | Required; DSL only. |
output_dir | Omit for HTTP MCP (URL + base64 in response). |
output_format | Often svg; check uml://formats for the type. |
theme | PlantUML types only. |
scale | SVG only. |
Highlight url, then playground if present, then local_path only when output_dir was used. On error, fix DSL or types and retry or run validate_uml.
| Intent | Typical diagram_type |
|---|---|
| Classes / associations | class or Mermaid classDiagram |
| Lifelines / messages | sequence or Mermaid sequence |
| Flow / BPMN | activity, bpmn, or Mermaid flowchart |
| Quick charts | mermaid |
| Declarative layout | d2 |
When several fit, prefer what the user named; otherwise prefer the clearest match from uml://types.
Source: antoinebou12/uml-mcp — distributed by TomeVault.