home / skills / ntaksh42 / agents / plantuml-diagram
This skill generates PlantUML diagrams (class, sequence, activity, component) from textual specs to visualize system architecture quickly.
npx playbooks add skill ntaksh42/agents --skill plantuml-diagramReview the files below or copy the command above to add this skill to your agents.
---
name: plantuml-diagram
description: Generate PlantUML diagrams including UML class, sequence, and component diagrams. Use when creating UML diagrams or system architecture visualizations.
---
# PlantUML Diagram Skill
PlantUML記法でUML図を生成するスキルです。
## 主な機能
- **クラス図**: UML class diagrams
- **シーケンス図**: Interaction diagrams
- **アクティビティ図**: Workflow diagrams
- **コンポーネント図**: Architecture diagrams
## クラス図
```plantuml
@startuml
class User {
+String id
+String name
+String email
+login()
+logout()
}
class Order {
+String id
+Date createdAt
+Float total
+addItem()
+checkout()
}
User "1" -- "*" Order : places
@enduml
```
## シーケンス図
```plantuml
@startuml
actor User
participant Frontend
participant Backend
database Database
User -> Frontend: Login
Frontend -> Backend: POST /api/login
Backend -> Database: SELECT user
Database --> Backend: User data
Backend --> Frontend: JWT token
Frontend --> User: Success
@enduml
```
## バージョン情報
- Version: 1.0.0
This skill generates PlantUML diagrams for UML class, sequence, activity, and component views. It produces ready-to-render PlantUML source that you can paste into PlantUML tools or automation pipelines. Use it to quickly turn system designs and interactions into visual diagrams.
Provide a description of the model, actors, components, or interactions you want to visualize and the skill returns PlantUML source code. It supports class relationships, sequence flows, activity workflows, and component topology, with options for labels, multiplicity, and basic styling. The output is plain PlantUML text that you can render with any PlantUML-compatible tool or integrate into documentation pipelines.
Can I get diagrams in image formats?
The skill returns PlantUML source. Use a PlantUML renderer or integration (CLI, server, or editor plugin) to convert the source into PNG, SVG, or other image formats.
How do I include relationships and multiplicity in class diagrams?
Provide relationship details (e.g., 1..*, aggregation, composition) and the skill will emit the appropriate PlantUML syntax with labels and multiplicity.