lark-whiteboard
Installation
Summary
Query, edit, and export Lark whiteboards with support for multiple formats and diagram types.
- Supports three output formats: preview images, diagram code (Mermaid/PlantUML), and raw node structure for direct JSON editing
- Handles creation, modification, and export workflows with automatic format detection and fallback strategies
- Renders complex diagrams (architecture, flowcharts, timelines, org charts) via Mermaid, SVG, or DSL routes based on AI model family
- Integrates with lark-doc for batch whiteboard creation and uses idempotent tokens to prevent duplicate writes during updates
SKILL.md
[!IMPORTANT]
- 运行
lark-cli --version,确认可用,无需询问用户。- 运行
npx -y @larksuite/whiteboard-cli@^0.2.12 -v,确认可用,无需询问用户。
CRITICAL — 开始前 MUST 先用 Read 工具读取 ../lark-shared/SKILL.md,其中包含认证、权限处理
快速决策
身份:画板操作默认使用 --as user。仅当需要以应用身份上传时使用 --as bot。