lark-whiteboard
Skill by eastreams
Draws architecture diagrams, flowcharts, mind maps, sequence diagrams and other charts on Feishu (Lark) whiteboards in cloud documents. It is for users who need visual charts inside Feishu, rendered as PNG or uploaded to a whiteboard.
Install lark-whiteboard
Built from the published package, never by AI.
git clone --depth 1 https://github.com/eastreams/loong /tmp/loong && mkdir -p ~/.claude/skills && cp -r /tmp/loong/skills/larksuite-cli/lark-whiteboard ~/.claude/skills/lark-whiteboardRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/eastreams/loong /tmp/loong && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/loong/skills/larksuite-cli/lark-whiteboard ~/.gemini/antigravity-cli/skills/lark-whiteboardAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
lark-whiteboard is an agent skill for creating diagrams on Feishu (Lark) whiteboards inside cloud documents. It covers architecture diagrams, flowcharts, mind maps, sequence diagrams, class diagrams, pie charts and other visual charts. Each request is routed to either a Mermaid path or a JSON DSL path, depending on the chart type.
For DSL charts, the assistant writes a JSON file, or a Node.js script for charts that need coordinate math, and renders it to PNG with @larksuite/whiteboard-cli. It reviews the image, fixes problems for up to two rounds, then shows the PNG or uploads it to a Feishu whiteboard through lark-cli. The source is written for users who want charts in Feishu documents.
Written from the project's SKILL.md and checked against it.
What it can do
- Mermaid chart routingSends mind maps, sequence diagrams, class diagrams, pie charts and flowcharts to the Mermaid path by default.
- DSL chart generationWrites JSON diagram files for architecture, org, comparison and other chart types using the DSL path.
- Script-based layoutsUses Node.js scripts to calculate coordinates for fishbone, flywheel, bar and line charts.
- PNG renderingRenders diagrams to PNG with the whiteboard CLI and checks text, layout and connectors.
- Fix loopApplies fixes from a symptom table and re-renders, for up to two review rounds.
- Whiteboard uploadUploads finished diagrams to a Feishu whiteboard using lark-cli, given a token or document URL.
- Overwrite protectionRuns a dry run first and asks the user before replacing nodes on a non-empty whiteboard.
What you need
- Node.js 18 or later
- @larksuite/whiteboard-cli
- lark-cli
- Feishu login and permissions for uploading to a whiteboard
Try asking
- Draw an architecture diagram of our three-tier backend in a Feishu whiteboard.
- Make a flowchart of our order approval process and show me the PNG.
- Create a sequence diagram of the login flow and upload it to my Feishu doc.
Good to know
- Uploaded whiteboards cannot be modified after upload, according to the source.
- Updating a non-empty whiteboard deletes its existing nodes, so the user must confirm first.
- Installing new npm dependencies requires the user's consent, per the source.
- Review and fix cycles are limited to two rounds before falling back to Mermaid.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/larksuite-cli/lark-whiteboard/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md10 KB -
references/connectors.md4 KB -
references/content.md1 KB -
references/layout.md10 KB -
references/schema.md9 KB
Show all 19 files
-
references/style.md10 KB -
references/typography.md2 KB -
scenes/architecture.md21 KB -
scenes/bar-chart.md8 KB -
scenes/comparison.md7 KB -
scenes/fishbone.md10 KB -
scenes/flywheel.md9 KB -
scenes/funnel.md4 KB -
scenes/line-chart.md9 KB -
scenes/mermaid.md3 KB -
scenes/milestone.md4 KB -
scenes/organization.md8 KB -
scenes/pyramid.md4 KB -
scenes/treemap.md6 KB
Alternatives to lark-whiteboard
All alternatives →PaperBanana generates publication-quality academic diagrams from a paper's methodology text and figure caption. It is aimed at researchers preparing figures for venues such as NeurIPS, ICML, and ACL.
Creates a monochrome technical wireframe design system for dark diagnostic interfaces. It covers layout, typography, info labels, widgets and an exploded wireframe centerpiece. It is for designers and developers building teardown, systems dashboard or specification-style screens.
Guides an AI assistant through embedding interactive Spline.design 3D scenes in web projects. It covers vanilla, React, Next.js, Vue and iframe setups, for developers adding 3D to websites.
Code Slice Hero is a HyperFrames headline block. A tiled surface flips cell by cell to reveal a second headline behind the first, at 1920×1080 and 8 seconds.
Generates patent-office-compliant figures and converts drawings through the PatentFig AI API. Built for patent filers who need USPTO or EPO line art, CAD-ready vectors, or filing-ready TIFF, PDF, or PNG files.
Creates a framed dark technical design system for AI assistants, using border-gradient shells, asymmetrical grid panels, and mono labels. Suited to premium, instrument-like interfaces that need visible boundaries. Published by MengTo.
Compare with paperbanana, technical-wireframe-info-layout or spline-3d-integration
lark-whiteboard: common questions
Which chart types does lark-whiteboard support?
The source lists architecture, organization, comparison, fishbone, bar, line, treemap, funnel, pyramid, flywheel, milestone and Mermaid chart guides. Mermaid covers mind maps, sequence, class, pie and flowcharts.
Can it overwrite an existing Feishu whiteboard?
Yes, but the skill first runs a dry run to count nodes to be deleted. It must get explicit user approval before overwriting a non-empty whiteboard.
What happens if the rendered diagram has problems?
The skill follows a symptom-to-fix table and re-renders, for up to two rounds. If serious issues remain, it suggests switching to the Mermaid path.
How do I install lark-whiteboard?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is lark-whiteboard free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is lark-whiteboard safe to use?
It scores 80 of 100. Grades: maintenance B, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to lark-whiteboard?
Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.
