بنقرة واحدة
diagram
Create PlantUML diagrams and add them to documentation
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Create PlantUML diagrams and add them to documentation
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
Create a well-formatted git commit with staged changes
Docker commands for containers, images, and compose
Explain how code works in plain language
GitHub CLI commands for PRs, issues, repos, and workflows
Git commands, workflows, and troubleshooting
Go toolchain commands - build, test, modules, and more
استنادا إلى تصنيف SOC المهني
| name | diagram |
| description | Create PlantUML diagrams and add them to documentation |
| argument-hint | [diagram type] [description or target file] |
| allowed-tools | Bash, Read, Edit, Write, Glob |
Create a PlantUML diagram and optionally add it to a markdown file.
/diagram sequence user login flow - Create a sequence diagram/diagram component for README.md - Create a component diagram and add to README/diagram class data models - Create a class diagramDetermine diagram type from arguments:
sequence - Interactions between actors/systemscomponent - System architecture and dependenciesclass - Data models and relationshipsactivity - Workflows and decision flowsstate - State machinesCreate the PlantUML syntax appropriate for the type
Generate URLs using the plantuml plugin MCP server:
cd /path/to/plugins/plantuml && printf '%s\n%s\n%s\n' \
'{"jsonrpc":"2.0","id":0,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"claude","version":"1.0"}}}' \
'{"jsonrpc":"2.0","method":"notifications/initialized"}' \
'{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"plantuml_generate_urls","arguments":{"diagram":"..."}}}' \
| python3 main.py
If a target file is specified, add the diagram to it:
[](editor-url)<details> blocks or other non-standard markdownShow the user:
@startuml
actor User
participant "System A" as A
participant "System B" as B
User -> A: request
A -> B: process
B --> A: response
A --> User: result
@enduml
@startuml
package "System" {
[Component A] as A
[Component B] as B
}
A --> B : uses
@enduml
@startuml
class Entity {
+id: string
+name: string
+save(): void
}
@enduml
When adding to a file, use a linked image with descriptive alt text. Do NOT include <details> blocks or inline PlantUML source — the editor link serves as the source reference:
[](https://www.plantuml.com/plantuml/uml/~1...)