Miro SDK Patterns
Implements production-ready design patterns and TypeScript standards for Miro REST API v2 integrations.
This skill provides a standardized framework for building robust Miro integrations using the @mirohq/miro-api Node.js client. It simplifies complex tasks like managing OAuth tokens across multi-tenant applications, creating type-safe board services, and implementing resilient error handling. By providing ready-to-use patterns for item factories and Zod-based response validation, it ensures that Miro integrations are scalable, maintainable, and strictly typed, significantly reducing development time for custom SaaS tools and automation scripts.
主な機能
01Type-safe Board Service for structured CRUD operations
022,083 GitHub stars
03Centralized error handling with retry logic classification
04Scalable Item Factory for bulk sticky note, shape, and card creation
05Multi-tenant client management for SaaS applications
06Runtime response validation using Zod schemas
ユースケース
01Automating the generation of complex visual maps and diagrams via scripts
02Building a custom SaaS application that synchronizes external data to Miro boards
03Migrating legacy Miro integrations to the modern REST API v2 and TypeScript