plugins/uml-mcp/skills/uml-diagrams/SKILL.md
Create and validate diagrams with the uml-mcp MCP server (generate_uml, validate_uml, list_diagram_types, generate_uml_batch). Use for UML, Mermaid, D2, Graphviz, Kroki URLs, or diagram_type questions.
npx skillsauth add antoinebou12/uml-mcp uml-diagramsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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.
tools
Creates diagrams via the uml-mcp MCP server (generate_uml, validate_uml, list_diagram_types, generate_uml_batch) and returns shareable Kroki URLs plus optional playground links. Use when the user wants a diagram, asks for PlantUML/Mermaid/D2/UML, wants a URL instead of a saved file, or mentions uml-mcp, Kroki, or diagram_type.
tools
Produces Mermaid or PlantUML diagram code from user specifications for UML, architecture, and flow diagrams. Use when the user asks for a diagram (sequence, class, activity, use case, component, state, deployment), diagram code, or when generating diagram script for documentation, design, or the generate_uml MCP tool. Supports Kroki-renderable output.
tools
Modern Python tooling and best practices using uv, ruff, ty, and pytest. Covers project setup with pyproject.toml (PEP 735), src layout, linting/formatting with ruff, type checking with ty, testing with pytest and coverage, pre-commit with prek, and security (pip-audit, detect-secrets, actionlint). Use when setting up or working on Python projects, replacing pip/virtualenv with uv, replacing flake8/black/mypy with ruff/ty, adding pre-commit or security scanning, or when the user mentions uv, ruff, ty, pytest, or cookiecutter-python patterns.
tools
Create and extend MCP (Model Context Protocol) servers in Python using FastMCP and the official SDK. Covers tools, resources, prompts, STDIO vs HTTP transports, logging rules for STDIO, and production best practices. Use when building or modifying MCP servers in Python, adding tools/resources/prompts, debugging MCP servers, or choosing transport and client config.