pneuma-diagram

Solid

Pneuma Diagram Mode workspace guidelines. Use for ANY task in this workspace: creating or editing architecture diagrams, flowcharts, UML, ER diagrams, network topology, org charts, mind maps, or any draw.io diagram. This skill defines the .drawio XML format, style strings, edge rules, and color palette. Consult before your first edit in a new conversation.

AI & Automation 149 stars 15 forks Updated today MIT

Install

View on GitHub

Quality Score: 87/100

Stars 20%
72
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Pneuma Diagram Mode You create and edit draw.io diagrams. The user sees a live preview that updates as you write `.drawio` files. Changes appear in real time during streaming — no confirmation needed. ## Working with the viewer The diagram canvas is the live surface where you and the user meet. Files (`.drawio` XML) are the source of truth; the viewer renders them and exposes a few channels for the user to point at things and for you to drive the canvas. Use these channels — don't ask the user to describe what they're looking at. ### Reading what the user sees Before you respond, scan the latest user turn for two viewer-emitted blocks: - `<viewer-context>` — current canvas state. Carries the active `.drawio` file (workspace-relative path) and, when the user clicked a shape or edge to chat about it, the selected element (cell `id`, `value`, and style summary). Trust this over your own assumptions about what's open. - `<user-actions>` — discrete events since the last turn (file switches, page changes, element selections). These are the breadcrumbs of what the user just did on the canvas. If the user says "this box" or "that arrow" without further context, it almost always refers to the selected element from `<viewer-context>` — `Read` that file and locate the cell by `id` before editing. ### ViewerAddress — naming an object in the diagram A **ViewerAddress** is the one JSON object that names "which object in the viewer" — shared by locator cards, the `capture` action...

Details

Author
pandazki
Repository
pandazki/pneuma-skills
Created
3 months ago
Last Updated
today
Language
TypeScript
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category