Skip to content
cccskills
FreePublished on GitHub

lark-whiteboard

View and edit whiteboards embedded in 飞书 cloud documents. Export previews, SVG vector images, diagram source code, or structural data, and update boards using Mermaid, PlantUML, SVG, or the native OpenAPI format.

OriginalShow the original description

飞书画板:查询和编辑飞书云文档中的画板。支持导出画板为预览图片、导出原始节点结构、使用多种格式更新画板内容。当用户需要查看画板内容、导出画板图片、编辑画板时使用此 skill。

不负责:飞书云文档内容编辑(lark-doc)、文档内嵌电子表格/Base(lark-sheets / lark-base)。

See how to install

Good for

  • Exporting whiteboards as images
  • Retrieving diagram source code
  • Updating boards from Mermaid or PlantUML code
  • Adding to existing whiteboards

Files included (31)

  • SKILL.md3.0 KB
  • 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-export.md3.0 KB
  • references/lark-whiteboard-update.md4.6 KB
  • references/lark-whiteboard-workflow.md6.1 KB
  • routes/dsl.md6.7 KB
  • routes/mermaid.md1.1 KB
  • routes/svg-edit.md3.8 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/mention.md3.0 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

SKILL.md (original)

Review the instructions the agent will receive before you install.

[!IMPORTANT]

  • 运行 lark-cli --version,确认可用,无需询问用户。
  • 运行 npx -y @larksuite/whiteboard-cli@^0.2.13 -v,确认可用,无需询问用户。

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


快速决策

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

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

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

用户需求行动
查看画板内容 / 导出图片+export --output-type preview
导出 SVG 矢量图+export --output-type svg
提取画板的 Mermaid/PlantUML 源码+export --output-type source

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

场景行动写入方式对原内容
用户已提供 Mermaid/PlantUML/SVG 代码,或明确指定用该格式使用该代码 → +update,--input_format 取单值 mermaid / plantuml / svg;写入非空已有画板并需要 overwrite 时,先确认会整板重建;若 SVG 用于修改已有画板,先走 routes/svg-edit.md 有损确认overwrite / append按用户要求
从零新建复杂图表(架构/流程/组织等)→ § 创作 Workflow首次写入—
修改 / 增补已有画板→ § 编辑 Workflow见该表见该表

Shortcuts

Shortcut说明
+export导出画板为预览图片、SVG 矢量图、代码或原始节点结构。
+update更新画板,支持 PlantUML、Mermaid、SVG 或 OpenAPI 原生格式

不在本 skill 范围

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

lark-approval

FreeSummary

Find and process approval requests in 飞书, including approving, rejecting, transferring, or returning them. Review forms and progress, search existing approval forms and workflows, and submit native requests such as leave or expense claims.

  • Review pending and completed approval requests
  • Approve, reject, or return a request
  • Find an existing form and submit leave or expense claims
larksuite/cli17.7KUpdated Oct 16, 2026

lark-apps

FreeSummary

Build, publish, and manage apps on 妙搭(Spark/Miaoda) through local development or cloud AI sessions. Create page designs, manage data and permissions, inspect logs and usage, and configure automated triggers.

  • Build and publish a business app
  • Create landing pages and interactive prototypes
  • Inspect production logs and usage
larksuite/cli17.7KUpdated Oct 16, 2026

lark-attendance

FreeSummary

Retrieve your own attendance clock records from 飞书 through lark-cli. The skill fills in fixed query parameters and uses read-only attendance access to look up the records you want to check.

  • Checking your own attendance clock records
  • Reviewing recorded clock-ins and clock-outs
  • Asking an agent to retrieve attendance records
larksuite/cli17.7KUpdated Oct 16, 2026

lark-base

FreeSummary

Build and manage business tables in Feishu Base, including fields, records, views, and data queries. Create forms and dashboards, configure automated workflows, organize BaseApp pages and components, and manage role-based access permissions.

  • Create business tables and update records
  • Filter and summarize table data
  • Create information collection forms
larksuite/cli17.7KUpdated Oct 16, 2026

lark-calendar

FreeSummary

Manage events, attendees, and meeting rooms in 飞书. Check shared availability, get meeting time suggestions that account for working hours and breaks, and create or update events with room reservations.

  • Review today's events or search upcoming meetings
  • Find suitable meeting times for several people
  • Book a room with a calendar event
larksuite/cli17.7KUpdated Oct 16, 2026

lark-contact

FreeSummary

Finds Lark contacts by name or email and retrieves open_id, an identifier used in later actions. It also looks up profile details, personal status, and signatures, and searches for bots or agents visible to the current user.

  • Identifying a colleague before messaging or scheduling
  • Looking up a profile from a known open_id
  • Checking colleagues’ personal status and signatures
larksuite/cli17.7KUpdated Oct 16, 2026

See all skills by larksuite

Report a problem with this skill