スキル一覧に戻る
masayannuu

plantuml

by masayannuu

公開しても良いAgent Skillsをちょいちょい置いていきます

0🍴 0📅 2026年1月16日
GitHubで見るManusで実行

SKILL.md


name: plantuml description: Create PlantUML diagrams (especially swimlane business workflows). Use to look up official syntax, generate .puml, then format/validate and render to PNG.

PlantUML Skill (for Codex)

Goals

  • Generate correct PlantUML.
  • For business workflows, model roles (swimlanes) × steps without breaking the flow.
  • Prefer modern styling: !theme + <style> first; use skinparam only when needed.

Workflow (must follow)

  1. Confirm intent quickly: diagram type, purpose, roles/lanes, scope, exceptions/branches, parallelism.
  2. Search official docs with python scripts/search_docs.py "<query>".
    • If docs cache is missing, fetch it first: python scripts/fetch_docs.py (cache is local-only; not committed).
  3. Output a complete, renderable diagram (@startuml@enduml) in a puml code block.
  4. Sanity-check readability: avoid crossings, reduce width, consistent naming, add legend/notes if helpful.

Doc search (query examples)

  • "Swimlanes |Swimlane| alias"
  • "partition group activity diagram beta"
  • "fork split activity diagram beta"
  • "!theme %get_all_theme"
  • "style <style> activityDiagram"

Business workflow conventions (swimlanes)

  • Use Activity Diagram (beta) for swimlanes.
  • Role = lane, step = action, decision = if/else, retry = repeat, parallel = fork/split.
  • Split large flows into phases with partition / group.

Format / validate / render (PNG)

This skill includes a helper script that uses the official PlantUML CLI via Docker (no public server; no local Java required):

  • Recommended: python scripts/plantuml_server.py build path/to/diagram.puml (format → validate → png)
  • Individual commands:
    • python scripts/plantuml_server.py format path/to/diagram.puml
    • python scripts/plantuml_server.py validate path/to/diagram.puml --out path/to/diagram.validation.txt
    • python scripts/plantuml_server.py render path/to/diagram.puml --format png --out path/to/diagram.png

Docker image can be overridden via PLANTUML_DOCKER_IMAGE.

If your repo uses mise + uv, you can wrap these with tasks (e.g. mise run plantuml-build ...) for reproducible runs.

Output rules

  • Always output fully renderable PlantUML.
  • Add title and legend/note when it reduces reader confusion.

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です