Lark whiteboard

From seaworld008/Commonly-used-high-value-skills · View interactive version

Lark whiteboard is an AI agent skill from the GitHub repository seaworld008/Commonly-used-high-value-skills. Use when querying, exporting, or editing Lark whiteboards, including preview images, raw node structures, and structured canvas updates.

How to use this skill

Skill file

[!IMPORTANT]

- 运行 lark-cli --version,确认可用,无需询问用户。

- 查询、预览和导出仅需已有 lark-cli,不运行会下载依赖的 npx 自检。需要 DSL 转 raw 时,先检查本地转换器;只有现有授权包含安装时才安装缺项,再按更新参考调用。

CRITICAL — 开始前 MUST 先用 Read 工具读取 CODE0,其中包含认证、权限处理


快速决策

身份:画板操作默认使用 --as user。仅当需要以应用身份上传时使用 --as bot。

先判断「只读还是写入」,再在对应表内按上到下匹配,命中即停。

A. 只读 · 查看 / 导出(不改画板)

| 用户需求 | 行动 |

|---|---|

| 查看画板内容 / 导出图片 | CODE0 |

| 导出 SVG 矢量图 | CODE0 |

| 提取画板的 Mermaid/PlantUML 源码 | CODE0 |

B. 写入 · 创作 / 编辑(会改画板,命中即停)

| 场景 | 行动 | 写入方式 | 对原内容 |

|---|---|---|---|

| 用户已提供 Mermaid/PlantUML/SVG 代码,或明确指定用该格式 | 使用该代码 → CODE0,--input_format 取单值 mermaid / plantuml / svg;写入非空已有画板并需要 overwrite 时,先确认会整板重建;若 SVG 用于修改已有画板,先走 CODE5 有损确认 | overwrite / append | 按用户要求 |

| 从零新建复杂图表(架构/流程/组织等) | → § 创作 Workflow | 首次写入 | — |

| 修改 / 增补已有画板 | → § 编辑 Workflow | 见该表 | 见该表 |

Shortcuts

| Shortcut | 说明 |

|---------------------------------------------------|---|

| CODE0 | 导出画板为预览图片、SVG 矢量图、代码或原始节点结构。 |

| CODE0 | 更新画板,支持 PlantUML、Mermaid、SVG 或 OpenAPI 原生格式 |


不在本 skill 范围

<!-- LOCAL-QUALITY-SUPPLEMENT:START -->

Usage Notes

This supplement is maintained by the repository sync pipeline. It keeps the

imported upstream skill usable inside this curated collection when the upstream

source is intentionally concise.

Common Patterns

1. Confirm that the user's task matches the skill trigger.
2. Read the relevant project files or user-provided context before acting.
3. Choose the smallest reversible action that advances the task.
4. Run the verification command or manual check that proves the result.
5. Report the outcome, evidence, and any remaining risk.

Boundaries

guardrails.

unavailable.

expose private data, or change production state.

applicable workflow and keep user or repository instructions authoritative.

<!-- LOCAL-QUALITY-SUPPLEMENT:END -->

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.