About diagram-quality
diagram-quality is a guidance skill for agent-uml design conversations and canvas workflows, intended for people writing PlantUML, responding to feedback, and exporting diagrams. It covers rendering safety, feedback decisions, and progressive design layers.
Key features
- 01PlantUML rendering safety rules
- 02Skinparam presets by diagram type
- 03Actions mapped to feedback signals
- 04Guidance for progressive diagram detail
- 05Diagram readiness checks before export
Use cases
- 01Check syntax before creating an agent-uml diagram
- 02Choose whether to revise or ask after feedback
- 03Troubleshoot blank canvases or unclickable elements
- 04Review diagram completeness before export
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ pproenca/ dot-skills --skill diagram-qualityAfter installing, type/diagram-qualityin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
AGENTS.mdmetadata.jsonassets/templates/_template.mdreferences/_conversation.md_design.md_presets.md_sections.mdsyn-safety.mdDetails
From the project READMEagent-uml Diagram Quality Best Practices
Make the human-Claude design conversation converge faster on the agent-uml canvas.
When to Apply
- Before every
diagram_upsertcall — check syntax safety rules and apply the correct skinparam preset - After every
design_feedbackresponse — consult the versioning decision table to choose the right next action - When starting a new design session — follow the progressive detail layers for diagram ordering
- Before calling
design_export— run the export-readiness checklist - When a diagram renders blank or elements aren't clickable — consult rendering safety rules
Rule Categories by Priority
| Priority | Section | Impact | Reference |
|---|---|---|---|
| 1 | Rendering Safety | CRITICAL | syn-safety.md, _presets.md |
| 2 | Conversation Mechanics | HIGH | _conversation.md |
| 3 | Design Effectiveness | MEDIUM | _design.md |
Quick Reference
1. Rendering Safety (CRITICAL)
18 rules that prevent blank canvas and ensure interactive SVG. Read syn-safety.md before writing any PlantUML source.
Key rules:
- Every element gets
as Alias— without it, element is not clickable on canvas skinparam backgroundColor transparent— white default clashes with #f4f1ec canvas- Copy the correct preset from _presets.md — one block per diagram type, matched to canvas CSS variables
2. Conversation Mechanics (HIGH)
5 decision tables for the feedback-response loop. Read _conversation.md when deciding what tool to call next.
Key tables:
- Table 4: Signal → Action — maps annotation, chat, silence, and timeout to the correct tool call
- Table 5: Message content — what to write in the
messageparameter (explain change + ask focusing question)
3. Design Effectiveness (MEDIUM)
4 heuristics with concrete thresholds. Read _design.md when planning diagram sequences or preparing for export.
Key heuristics:
- Progressive detail layers — L1 context → L2 container → L3 class → L4 behavior → L5 state
- Cross-reference traceability — every sequence participant must map to a component; every interface belongs to exactly one component boundary
- Decomposition thresholds — component >12, class >15, sequence >10 participants or >20 messages → split
How to Use
- Starting a session: Read _conversation.md Table 3 (diagram type scope) to decide which diagram to create first
- Writing PlantUML: Apply the skinparam preset from _presets.md, then check syn-safety.md for the rules relevant to your diagram type
- After feedback: Consult _conversation.md Table 4 (signal → action) to decide whether to push a new version or reply with a question
- Before export: Run the checklist in _design.md Heuristic 4
Reference Files
| File | Description |
|---|---|
| references/_sections.md | Section definitions and ordering |
| references/syn-safety.md | 18 rendering safety rules (Incorrect/Correct) |
| references/_presets.md | 5 copy-paste skinparam presets per diagram type |
| references/_conversation.md | 5 decision tables for conversation loop |
| references/_design.md | 4 heuristics with thresholds |
| assets/templates/_template.md | Template for adding new rules |
| metadata.json | Version and reference information |