lark-whiteboard

Translate user prompts into Mermaid or DSL diagrams for Feishu Whiteboard.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/2p1c/2p1c_blog --skill lark-whiteboard-2p1c
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: lark-whiteboard
Source: https://github.com/2p1c/2p1c_blog/tree/main/.agents/skills/lark-whiteboard
Command: npx skills add https://github.com/2p1c/2p1c_blog --skill lark-whiteboard-2p1c

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Translating user prompts into structured visual diagrams for Feishu cloud documents and the Whiteboard, reducing manual diagram crafting and ensuring consistency.

Core Features & Use Cases

  • Generate architecture diagrams, workflows, mind maps, and sequence diagrams from natural language prompts.
  • Support both Mermaid and DSL rendering paths and automate rendering via the Whiteboard CLI.
  • Include safe upload workflows and guidance for publishing diagrams to Feishu docs or Whiteboard boards.

Quick Start

Request a diagram (for Feishu docs or Whiteboard) and render it with the Whiteboard CLI.

Frequently Asked Questions about lark-whiteboard

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

FAQPage Schema
How do I generate a diagram from text directly in Feishu docs?▼

To generate a diagram in Feishu docs, you translate natural language prompts into structured diagram definitions like Mermaid or DSL, then render and upload them using the Whiteboard CLI.

What diagram types can I create for Feishu Whiteboard using natural language?▼

You can create architecture diagrams, workflows, mind maps, and sequence diagrams for Feishu Whiteboard by providing natural language prompts that output structured Mermaid or DSL definitions.

Do I need Node.js to render architecture diagrams with the Whiteboard CLI?▼

Yes, rendering architecture diagrams with the Whiteboard CLI requires Node.js 18+, the lark-cli binary, and access to Feishu docs or Whiteboard to publish the output.

What is the best way to automate workflow diagram creation for Feishu cloud documents?▼

The best way to automate workflow diagram creation is using the Whiteboard CLI to render JSON or DSL definitions generated from your prompts, utilizing safe upload workflows to publish directly to Feishu cloud documents.

Does the Whiteboard CLI support both Mermaid and DSL rendering paths?▼

Yes, the Whiteboard CLI supports both Mermaid and DSL rendering paths, allowing you to choose your preferred structured definition format to output and render visual diagrams.

Why are my generated diagrams not rendering correctly in Feishu Whiteboard?▼

Diagrams fail to render in Feishu Whiteboard if the output is not a valid structured definition like JSON, DSL, or Mermaid, or if the Whiteboard CLI environment lacks Node.js 18+ and the lark-cli binary.