Przejdź do treści
Biblioteka skilli
Programowanie · Budowanie i kod

state

/state

Pisze poprawny kod diagramu stanów dla uml-mcp, a następnie sprawdza go i generuje z niego obraz.

Repozytorium
uml-mcp ↗
Licencja
MIT
Ostatnia zmiana repozytorium
27.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 27.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Pisze poprawny kod diagramu stanów dla uml-mcp, a następnie sprawdza go i generuje z niego obraz.

Oryginalny opis (EN)

Writes valid state diagram source for uml-mcp (diagram_type=state). Shows states of an object during its lifecycle Use when the user asks for state or that notation; then call validate_uml / generate_uml / generate_uml_image.

Jak działa

  1. Themes
  2. Starter template
  3. Example
  4. Render with uml-mcp
Sekcje z nagłówków SKILL.md, w oryginale · 66 linii, 250 słów
Podgląd SKILL.md
---
name: state
description: >-
  Writes valid state diagram source for uml-mcp (diagram_type=state). Shows states of an object during its lifecycle Use when the user asks for state or that notation; then call validate_uml / generate_uml / generate_uml_image.
---

# state diagram (uml-mcp)

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

Shows states of an object during its lifecycle

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
[*] --> Idle
Idle --> Running: start
Running --> Idle: stop
@enduml
```

## Example

```plantuml
@startuml
[*] --> Idle
Idle --> Running: start
Running --> Paused: pause
Paused --> Running: resume
Running --> Idle: stop
Idle : entry / init
Idle : exit / cleanup
@enduml
```

## Render with uml-mcp

1. Set `diagram_type` to `state` 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.

Wersje

RepozytoriumWynikLicencja
Ta strona · antoinebou12/uml-mcp100MIT
synaptiai/agent-capability-standard100Apache-2.0
cwinvestments/memstack98MIT
PIXARTSeu/Synapse95AGPL-3.0
juspay/kolu81AGPL-3.0

Migawka bazy z 13.11.2026 · wersja paczki 31ab04bc7bcf (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100c4plantuml
    Pisze poprawny kod źródłowy diagramów c4plantuml dla uml-mcp, waliduje go i generuje obraz narzędziami validate_uml, generate_uml i generate_uml_image.
  • 100component
    Pisze poprawne źródło diagramu komponentów dla uml-mcp, pokazując komponenty i zależności, oraz waliduje je i generuje diagram.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.