Skip to content

giuseppe-trisciuoglio/developer-kit / plugins/developer-kit-core/skills/drawio-logical-diagrams

drawio-logical-diagrams

Verified

Creates professional logical flow diagrams and logical system architecture diagrams using draw.io XML format (.drawio files). Use when creating: (1) logical flow diagrams showing data/process flow between system components, (2) logical architecture diagrams representing system structure without cloud provider specifics, (3) BPMN process diagrams, (4) UML diagrams (class, sequence, activity), (5) data flow diagrams (DFD), (6) decision flowcharts, or (7) system interaction diagrams. This skill focuses on generic/abstract representations, not AWS/Azure-specific architectures (use aws-drawio-architecture-diagrams for cloud diagrams).

references/shape-examples.md

View on GitHub
# Shape Examples - XML Reference

Complete XML examples for common shapes in draw.io format.

## Simple Process Box

```xml
<mxCell id="2" value="Process Name"
  style="rounded=1;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;fontSize=12;"
  vertex="1" parent="1">
  <mxGeometry x="200" y="100" width="120" height="60" as="geometry" />
</mxCell>
```

**Attributes:**
- `rounded=1` - Rounded corners (use 0 for square corners)
- `whiteSpace=wrap` - Text wraps within shape
- `html=1` - Enable HTML formatting
- `fillColor` - Background color
- `strokeColor` - Border color
- `fontSize` - Text size in pixels

## Decision Diamond

```xml
<mxCell id="3" value="Decision?"
  style="rhombus;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=12;"
  vertex="1" parent="1">
  <mxGeometry x="280" y="200" width="80" height="80" as="geometry" />
</mxCell>
```

**Note:** Diamonds should be square (width = height) for best appearance.

## Start/End Oval

```xml
<mxCell id="4" value="Start"
  style="ellipse;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;fontSize=12;"
  vertex="1" parent="1">
  <mxGeometry x="200" y="300" width="80" height="40" as="geometry" />
</mxCell>
```

**Style tip:** Use green for start points, red for end points.

## Data Store (Cylinder)

```xml
<mxCell id="5" value="Database"
  style="shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;fillColor=#e1f5fe;strokeColor=#0277bd;fontSize=12;"
  vertex="1" parent="1">
  <mxGeometry x="400" y="100" width="60" height="80" as="geometry" />
</mxCell>
```

**Shape-specific attributes:**
- `shape=cylinder3` - Use cylinder shape
- `boundedLbl=1` - Keep label within cylinder bounds

## Process/Document (Parallelogram)

```xml
<mxCell id="6" value="Input Data"
  style="shape=ext;double=1;rounded=0;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=12;"
  vertex="1" parent="1">
  <mxGeometry x="200" y="200" width="120" height="60" as="geometry" />
</mxCell>
```

**Attributes:**
- `shape=ext` - Extended shape
- `double=1` - Creates parallelogram effect

## Container (Grouping Box)

```xml
<mxCell id="7" value="Subsystem"
  style="rounded=1;whiteSpace=wrap;html=1;fillColor=#f5f5f5;strokeColor=#666666;fontSize=14;fontStyle=1;"
  vertex="1" parent="1">
  <mxGeometry x="100" y="50" width="400" height="300" as="geometry" />
</mxCell>
```

**Usage:** Groups related elements together.

## Connector/Arrow (Standard Flow)

```xml
<mxCell id="10"
  style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;endArrow=classic;endFill=1;strokeColor=#666666;strokeWidth=2;"
  edge="1" parent="1" source="2" target="3">
  <mxGeometry relative="1" as="geometry" />
</mxCell>
```

**Attributes:**
- `edgeStyle=orthogonalEdgeStyle` - Right-angle bends
- `endArrow=classic` - Filled triangle arrowhead
- `endFill=1` - Solid arrowhead
- `strokeWidth=2` - Line thickness

## Dashed Connector (Alternative Flow)

```xml
<mxCell id="11"
  style="edgeStyle=orthogonalEdgeStyle;dashed=1;dashPattern=5 5;strokeColor=#666666;"
  edge="1" parent="1" source="2" target="4">
  <mxGeometry relative="1" as="geometry" />
</mxCell>
```

**Usage:** Shows optional or alternative flows.

## Label on Connector

```xml
<mxCell id="12" value="Data"
  style="text;html=1;align=center;verticalAlign=middle;fontSize=11;fontColor=#333333;labelBackgroundColor=#ffffff;"
  vertex="1" parent="1">
  <mxGeometry x="250" y="160" width="40" height="20" as="geometry" />
</mxCell>
```

**Tip:** Position labels near the midpoint of connectors for clarity.

## Actor/User Symbol

```xml
<mxCell id="13" value="User"
  style="ellipse;whiteSpace=wrap;html=1;fillColor=#ffe0b2;strokeColor=#f57c00;fontSize=12;"
  vertex="1" parent="1">
  <mxGeometry x="40" y="340" width="60" height="40" as="geometry" />
</mxCell>
```

**Color:** Orange indicates external actors/users.

## Error/Stop Symbol

```xml
<mxCell id="14" value="Error"
  style="ellipse;whiteSpace=wrap;html=1;fillColor=#f8cecc;strokeColor=#b85450;fontSize=12;"
  vertex="1" parent="1">
  <mxGeometry x="400" y="300" width="80" height="40" as="geometry" />
</mxCell>
```

**Color:** Red indicates errors or exceptional conditions.

## Style Quick Reference

| Purpose | Style String |
|---------|--------------|
| Basic rectangle | `rounded=0;whiteSpace=wrap;html=1;` |
| Rounded rectangle | `rounded=1;whiteSpace=wrap;html=1;` |
| Circle/Ellipse | `ellipse;whiteSpace=wrap;html=1;` |
| Diamond | `rhombus;whiteSpace=wrap;html=1;` |
| Cylinder | `shape=cylinder3;whiteSpace=wrap;html=1;boundedLbl=1;` |
| Parallelogram | `shape=ext;double=1;rounded=0;whiteSpace=wrap;html=1;` |
| Hexagon | `shape=hexagon;perimeter=hexagonPerimeter2;whiteSpace=wrap;html=1;` |

## Geometry Tips

**Positioning:**
- Always use positive coordinates (x, y >= 0)
- Align to grid (multiples of 10)
- Allow 40-60px spacing between elements

**Sizing:**
- Process boxes: 100-140px wide, 50-70px high
- Diamonds: square (width = height)
- Cylinders: 60-80px wide, 80-100px high
- Labels on connectors: 30-50px wide, 20px high
writing-skillsobra/superpowersUse when creating new skills, editing existing skills, or verifying skills work before deploymentStars: 322kUpdated Claude CodeCodexVerifiedInstall
xlsxanthropics/skillsUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
shipping-and-launchaddyosmani/agent-skillsPrepares production launches. Use when preparing to deploy to production, or when asking what needs to be in place before shipping. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
childhoodthedotmack/claude-memBabysit a shipped release after merge, publication, or deployment. Verify published packages, production behavior, installed plugins, and late CI or user reports until the observation window is clean; use babysit for PR readiness before release.Stars: 118kUpdated Claude CodeCodexVerifiedInstall