powered by
etapx

0%

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.11 -v,确认可用,无需询问用户。

CRITICAL — 开始前 MUST 先用 Read 工具读取 ../lark-shared/SKILL.md,其中包含认证、权限处理


快速决策

用户需求 行动
查看画板内容 / 导出图片 +query --output_as image
获取画板的 Mermaid/PlantUML 代码 +query --output_as code
检查画板是否由代码绘制 +query --output_as code
修改节点文字/颜色(简单改动) +query --output_as raw → 手动改 JSON → +update --input_format raw
用户已提供 Mermaid/PlantUML 代码,或明确指定用该格式 自己生成/使用代码 → +update --input_format mermaid/plantuml
绘制复杂图表(架构/流程/组织等) § 创作 Workflow
修改/重绘已有复杂画板 § 修改 Workflow
Installs
222.4K
Repository
larksuite/cli
GitHub Stars
13.9K
First Seen
Mar 28, 2026

Explore more of GLSRM