miro-app
Installation
SKILL.md
Building a Miro app
A Miro app is a React panel in an iframe on a board, driven by the Web SDK that Miro injects into that iframe. Source lives in integrations/miro-app/. Optional server-side code exists only for the OAuth exchange and, when the panel's origin cannot reach your API directly, a thin proxy.
The trap that wastes a day: there is no runtime SDK package
The types package is types only. The runtime is window.miro, injected by Miro into the panel iframe from a script the host page loads. Consequences, all at once:
importing the SDK gives you nothing at runtime,- outside a board
window.mirois simply undefined, - so a panel written as if the SDK is always there is undevelopable and undemoable outside Miro.
Rule: treat the SDK as an optional capability. Feature-detect window.miro, and back the panel with mock board items when it is missing. That single decision is what lets you build the UI locally and lets a reviewer see something before they install.