用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/bobcob7/dot-tools --skill diagram命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 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...)