lark-whiteboard

Extract, visualize, and update Lark whiteboard content with PlantUML or Mermaid syntax.

Updated Jun 7, 2025
One-click install
npx skills add https://github.com/TK0918/BestAds --skill lark-whiteboard-tk0918
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lark-whiteboard
Source: https://github.com/TK0918/BestAds/tree/main/.agents/skills/lark-whiteboard
Command: npx skills add https://github.com/TK0918/BestAds --skill lark-whiteboard-tk0918

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires lark-cli, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill enables users to quickly query and manipulate飞书白板中的内容,涵盖导出预览图、提取代码和原始节点结构。

Core Features & Use Cases

  • 内容查询:支持导出画板预览图、提取PlantUML/Mermaid代码、获取原生飞书节点结构。
  • 内容更新:允许用PlantUML或Mermaid代码批量更新画板内容,支持纯文本和脚本操作。
  • Use Case:设计架构图时,用户可用PlantUML快速绘制,然后导出原生节点进行微调。

Quick Start

使用 lark-cli whiteboard +query --whiteboard-token <token> --output_as image 获取画板图片。

Frequently Asked Questions about lark-whiteboard

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I export a Feishu whiteboard as an image?

To export a Feishu whiteboard as an image, use the command `lark-cli whiteboard +query` with the whiteboard token and set the output parameter to image. This quickly retrieves a visual preview of the canvas.

Can I extract PlantUML or Mermaid code from a Feishu whiteboard?

Yes, you can extract PlantUML or Mermaid code from a Feishu whiteboard. The Skill queries the canvas content and converts the raw node structure into the corresponding scripting syntax for flexible editing.

Does querying Feishu whiteboard content require lark-cli?

Yes, querying Feishu whiteboard content requires lark-cli as a dependency. The Skill relies on this command-line interface to interact with Feishu documents and execute whiteboard queries.

What is the best way to extract raw node structure from a Feishu whiteboard?

The best way to extract the raw node structure from a Feishu whiteboard is using the Skill's query function. It retrieves native Feishu nodes, allowing you to perform precise micro-adjustments on the canvas design.

Why does my Feishu whiteboard export not show updated content?

If your Feishu whiteboard export does not show updated content, ensure you are using the batch update function with valid PlantUML or Mermaid syntax. The content update requires correct scripting to reflect changes in the node structure.