← ClaudeAtlas

plantuml-authoringlisted

Author PlantUML diagrams (UML, C4, ER, ArchiMate, MindMap, WBS, Gantt, Salt, JSON/YAML, nwdiag family). Use when creating, restructuring, or choosing a type for a .puml/.plantuml/.iuml file, when setting up PlantUML project configuration, or when adapting diagrams to a render target (web/docx/pdf/pptx). For rendering to image, use plantuml-convert.
MrBogomips/claude-code · ★ 0 · Data & Documents · score 75
Install: claude install-skill MrBogomips/claude-code
# PlantUML Authoring Progressive disclosure router. Do NOT read all sub-files by default. Decide which sub-files to load based on the routing rules below. ## Routing 1. **Project has no `.plantuml/` AND no "PlantUML Policy" section in CLAUDE.md?** → Read `project-config.md` and run the bootstrap dialog. 2. **Need to choose a diagram type or generate one?** → Read `principles.md` (once, ~200 lines; applies to every type). → If type is already picked: read only `diagrams/<type>.md`. → If not: read `diagrams/INDEX.md` first to pick, then the type file. 3. **Rendering requested (any target)?** → Read `render-profiles.md`. → Compose the `plantuml-convert` invocation with `PLANTUML_TARGET` env var. 4. **Refactoring or reviewing an existing diagram?** → Do NOT re-run bootstrap. Respect existing `.plantuml/`. → Read `principles.md` + `diagrams/<type>.md`. ## Universal workflow (apply in order) 1. **Audience & purpose.** Ask: who reads this, what decision/understanding does it support? If unclear, ask the user — do not guess. 2. **Pick type.** Consult `diagrams/INDEX.md` decision table. 3. **Pick detail level preset.** The `diagrams/<type>.md` file lists its own `minimal`/`standard`/`detailed` presets. Default to the project's `Default detail level` from CLAUDE.md Policy, else `standard`. 4. **Emit `.puml`.** Start with: ``` @startuml <Title> !$target = %getenv("PLANTUML_TARGET") !include .plantuml/_base.puml !include .plantum