Skip to content
Skills Library
Programming · Building & coding

component

/component

Writes valid component diagram source for uml-mcp (diagram_type=component). Shows components and dependencies Use when the user asks for component or that notation; then call validate_uml / generate_uml / generate_uml_image.

Repository
uml-mcp ↗
Licence
MIT
Last repository change
27.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Writes valid component diagram source for uml-mcp (diagram_type=component). Shows components and dependencies Use when the user asks for component or that notation; then call validate_uml / generate_uml / generate_uml_image.

Original author description

Writes valid component diagram source for uml-mcp (diagram_type=component). Shows components and dependencies Use when the user asks for component or that notation; then call validate_uml / generate_uml / generate_uml_image.

How it works

  1. Themes
  2. Starter template
  3. Example
  4. Render with uml-mcp
Original SKILL.md headings · 66 lines, 245 words
SKILL.md preview
---
name: component
description: >-
  Writes valid component diagram source for uml-mcp (diagram_type=component). Shows components and dependencies Use when the user asks for component or that notation; then call validate_uml / generate_uml / generate_uml_image.
---

# component diagram (uml-mcp)

**`diagram_type`:** `component`  
**Backend:** `plantuml`  
**Output formats:** png, svg, pdf, txt, base64

Shows components and dependencies

Load the workflow skill [uml-mcp-diagrams](../uml-mcp-diagrams/SKILL.md) for URL-first replies, progressive discovery, and which MCP tool to call. This file is notation only; it does not add an MCP tool.

## Themes

Pass **`theme`** to `generate_uml` / `generate_uml_image` (PlantUML built-in name).
The server injects `!theme <name>` after `@startuml` when the source has no `!theme` yet.

Recommended: `cerulean`, `materia`, `sketchy`, `cyborg`, `plain`, `aws-orange`, `blueprint`, `sandstone`.

Match the **page background** (also see MCP prompt **`diagram_theme`**):
- light / white: `cerulean`, `materia`, `plain`, `sketchy`, `sandstone`
- dark / black: `blueprint`, `cyborg`, `black-knight`, `carbon-gray`, `crt-green`
- B&W / print: `plain`, `sketchy`, `sketchy-outline`, `mimeograph`, `lightgray`

Or embed in source:

```plantuml
@startuml
!theme cerulean
' … diagram …
@enduml
```

## Starter template

```plantuml
@startuml
component [Component A]
component [Component B]
[Component A] --> [Component B]
@enduml
```

## Example

```plantuml
@startuml
component [Web Server] as WS
component [API Gateway] as GW
component [User Service] as US
component [Database] as DB
WS --> GW
GW --> US
US --> DB
@enduml
```

## Render with uml-mcp

1. Set `diagram_type` to `component` exactly.
2. Call **`validate_uml`** when the source is untrusted (prefer `strict: true` for Mermaid sequence).
3. Call **`generate_uml`**, **`generate_uml_image`** (chat PNG), or **`generate_uml_batch`**.
4. Pass **`theme`** when this skill's Themes section lists supported values.
5. Surface the returned `url` / `playground` (see the workflow skill).

Confirm formats with `uml://formats` or `list_diagram_types` when unsure.

Versions

RepositoryScoreLicence
This page · antoinebou12/uml-mcp100MIT
DonaldMurillo/momentum-cms100MIT
Dragoon0x/dragoon-skills100MIT

Database snapshot: 13.11.2026 · package version 5dce65df0b5c (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100deployment
    Writes valid deployment diagram source for uml-mcp (diagram_type=deployment). Shows physical architecture of a system Use when the user asks for deployment or that notation; then call validate_uml / generate_uml / generate_uml_image.
  • 100nwdiag
    Writes valid nwdiag diagram source for uml-mcp (diagram_type=nwdiag). Network diagrams (blockdiag family) Use when the user asks for nwdiag or that notation; then call validate_uml / generate_uml / generate_uml_image.
  • 91uml-diagram-design
    UML 图表设计和绘制。当用户需要创建系统架构图、类图、时序图、用例图或其他 UML 图表时使用此技能。
  • 100insight-diagram
    为任意项目生成 UML 图、架构图和流程图。分析代码库后让用户选择要生成的图表类型,使用 architecture-diagram skill 渲染为 HTML+SVG,保存到 docs/ 目录。适用于任何软件项目的文档可视化。

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.