drawbridge
Installation
SKILL.md
Drawbridge Diagram Skill
Generate hand-drawn style diagrams as Excalidraw JSON. Uses the simplified element format with convertToExcalidrawElements handling all the heavy lifting (text measurement, container binding, arrow routing).
Element Format (Simplified)
Only specify what matters. convertToExcalidrawElements fills in all required internal properties (groupIds, frameId, seeds, versions, etc.).
Required Fields (all elements)
type, id (unique string), x, y
Defaults (skip these)
strokeColor="#1e1e1e", backgroundColor="transparent", fillStyle="solid", strokeWidth=2, roughness=1, opacity=100
Labeled Shapes (PREFERRED)
Add label to any shape for auto-centered text. No separate text elements needed: