lark-whiteboard
飞书画板:查询和编辑飞书云文档中的画板。支持导出画板为预览图片、导出原始节点结构、使用多种格式更新画板内容。 当用户需要查看画板内容、导出画板图片、编辑画板时使用此 skill。不负责:飞书云文档内容编辑(lark-doc)、文档内嵌电子表格/Base(lark-sheets / lark-base)。
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-14
- Stars
- ★ 1.6k
- Forks
- 491
01 前言 Front Matter
- name
- lark-whiteboard
- version
- 1.0.0
- metadata
- { "cliHelp": "lark-cli whiteboard --help", "requires": { "bins": [ "lark-cli" ] } }
- description
- 飞书画板:查询和编辑飞书云文档中的画板。支持导出画板为预览图片、导出原始节点结构、使用多种格式更新画板内容。 当用户需要查看画板内容、导出画板图片、编辑画板时使用此 skill。不负责:飞书云文档内容编辑(lark-doc)、文档内嵌电子表格/Base(lark-sheets / lark-base)。
02 资源文件 29
- 参考文档elements/connectors.md5.5 KB
- 参考文档elements/content.md1.5 KB
- 参考文档elements/image.md4.3 KB
- 参考文档elements/layout.md18.7 KB
- 参考文档elements/schema.md14.9 KB
- 参考文档elements/style.md10.8 KB
- 参考文档elements/typography.md2.1 KB
- 参考文档references/lark-whiteboard-query.md2.6 KB
- 参考文档references/lark-whiteboard-update.md4.4 KB
- 参考文档references/lark-whiteboard-workflow.md4.7 KB
- 参考文档routes/dsl.md6.5 KB
- 参考文档routes/mermaid.md1.1 KB
- 参考文档routes/svg-edit.md3.3 KB
- 参考文档routes/svg.md4.4 KB
- 参考文档scenes/architecture.md21.9 KB
- 参考文档scenes/bar-chart.md7.8 KB
- 参考文档scenes/comparison.md7.4 KB
- 参考文档scenes/fishbone.md9.6 KB
- 参考文档scenes/flowchart.md10.6 KB
- 参考文档scenes/flywheel.md8.6 KB
- 参考文档scenes/funnel.md4.2 KB
- 参考文档scenes/line-chart.md9.4 KB
- 参考文档scenes/mermaid.md3.4 KB
- 参考文档scenes/milestone.md4.0 KB
- 参考文档scenes/organization.md8.2 KB
- 参考文档scenes/photo-showcase.md6.0 KB
- 参考文档scenes/pyramid.md3.9 KB
- 参考文档scenes/swimlane.md19.6 KB
- 参考文档scenes/treemap.md6.3 KB
03 SKILL.md 正文
[!IMPORTANT]
- 运行
lark-cli --version,确认可用,无需询问用户。- 运行
npx -y @larksuite/whiteboard-cli@^0.2.13 -v,确认可用,无需询问用户。
CRITICAL — 开始前 MUST 先用 Read 工具读取 ../lark-shared/SKILL.md,其中包含认证、权限处理
快速决策
身份:画板操作默认使用 --as user。仅当需要以应用身份上传时使用 --as bot。
| 用户需求 | 行动 |
|---|---|
| 查看画板内容 / 导出图片 / 导出 SVG 矢量图 | +query --output_as image/svg |
| 获取画板的 Mermaid/PlantUML 代码 | +query --output_as code |
| 检查画板是否由代码绘制 | +query --output_as code |
| 仅微调节点文字/颜色 | +query --output_as raw → 手动改 JSON → +update --input_format raw |
| 用户已提供 Mermaid/PlantUML/SVG 代码,或明确指定用该格式 | 自己生成/使用代码 → +update --input_format mermaid/plantuml/svg |
| 新建/创作复杂图表(架构/流程/组织等) | → 创作 Workflow |
| 修改/重绘已有画板 | → 修改 Workflow |
Shortcuts
| Shortcut | 说明 |
|---|---|
+query |
查询画板,导出为预览图片、SVG 矢量图、代码或原始节点结构。 |
+update |
更新画板,支持 PlantUML、Mermaid、SVG 或 OpenAPI 原生格式 |
不在本 skill 范围
- 文档内容编辑 → lark-doc lark-doc
- 在文档中创建画板 → lark-doc-whiteboard.md
- 表格 / Base 操作 → lark-sheets / lark-base
04 同仓库更多 Skills
worktable-review-with-annotations
Create, inspect, reply to, update, or resolve situated Worktable annotations. Use when feedback belongs to a Doc section, block, text range, or HTML Doc, or when the user asks to address existing review feedback and coordinate a requested artifact edit.
worktable-find-and-synthesize-context
Find, assess, and synthesize context from Worktable Docs and Records. Use when the user asks what a workspace contains, wants workspace-backed research, needs current facts reconciled across artifacts, or requests a cited synthesis without changing workspace state.
worktable-create-or-update-docs
Create, edit, rename, or maintain narrative Worktable Docs. Use for plans, decisions, briefs, notes, research syntheses, and other durable prose when the user requests a new artifact or a safe update to an existing one.
worktable-create-or-manage-records
Organize repeated structured information as durable Worktable Records. Use for research datasets, inventories, directories, pipelines, trackers, and other collections whose items need identity, fields, filtering, links, validation, or individual updates.
worktable-create-or-manage-interactive-html
Create or improve durable visual and interactive artifacts in Worktable. Use for dashboards, trackers, calculators, mini apps, slide presentations, and other requests that benefit from a polished HTML Doc.
worktable-collaborate-threads
Read, answer, and hand off messages through durable Worktable threads with users or other authenticated participants. Use when the user asks to check addressed messages, reply to a participant, continue a thread, request another agent's help, wait briefly for a response, or watch for comments and messages sent to the agent.