lark-whiteboard
飞书画板:查询和编辑飞书云文档中的画板。支持导出画板为预览图片、导出原始节点结构、使用多种格式更新画板内容。 当用户需要查看画板内容、导出画板图片、编辑画板时使用此 skill。不负责:飞书云文档内容编辑(lark-doc)、文档内嵌电子表格/Base(lark-sheets / lark-base)。
- License 许可
- MIT
- 最近更新
- 2026-08-19
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- metadata
- { "cliHelp": "lark-cli whiteboard --help" }
- description
- 飞书画板:查询和编辑飞书云文档中的画板。支持导出画板为预览图片、导出原始节点结构、使用多种格式更新画板内容。 当用户需要查看画板内容、导出画板图片、编辑画板时使用此 skill。不负责:飞书云文档内容编辑(lark-doc)、文档内嵌电子表格/Base(lark-sheets / lark-base)。
02 资源文件 30
- 参考文档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
03 SKILL.md 正文
[!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 范围
- 文档内容编辑 → lark-doc lark-doc
- 在文档中创建画板 → lark-doc-whiteboard.md
- 表格 / Base 操作 → lark-sheets / lark-base
04 同仓库更多 Skills
youtube-transcript
Extract transcripts from YouTube videos. Use when the user asks for a transcript, subtitles, or captions of a YouTube video and provides a YouTube URL (youtube.com/watch?v=, youtu.be/, or similar). Supports output with or without timestamps.
youtube-thumbnail-design
YouTube thumbnail design with specific dimensions, contrast rules, and mobile preview optimization. Covers safe zones, text placement, face expression psychology, and A/B testing. Use for: YouTube thumbnails, video cover images, click-through optimization. Triggers: youtube thumbnail, thumbnail design, video thumbnail, click through rate, ctr optimization, youtube cover, video cover image, thumbnail maker, thumbnail tips, youtube design, video preview image
youtube-short-maker
Make YouTube Shorts that hold attention with Pexo — vertical 9:16, fast-paced, hook in the first 3 seconds. Describe your topic and Pexo writes the script, generates the shots, picks the models, and assembles a finished Short with music and captions. Use for YouTube Shorts: "youtube short", "make a youtube short", "shorts video", "short-form video". NOT for long-form or landscape video.
xcode-project-setup
Safely modifies Xcode projects (.pbxproj) to add Swift Packages and link files. Use this skill whenever an iOS project needs dependencies installed (e.g. Firebase, Alamofire).
x402
Set up Browser Use Cloud payments with x402 — pay per request from a crypto wallet (USDC on Base mainnet), no signup or API key. Two setups it works out up front — "just use it" (set up a wallet so you or Claude Code can run cloud browser tasks paid from the wallet — Claude writes and runs throwaway scripts, nothing touches your codebase) or "build it in" (install the SDK and write the key + code into your project). Walks through wallet setup, funding, .env, and a ~$1 test run. Use when the user asks about x402, pay-per-use, USDC payments, or wants Browser Use Cloud without an API key. For the free-tier signup (reverse-CAPTCHA → API key), use `browser-use cloud signup` or the `cloud` skill instead.
x-twitter-scraper
Build GitHub Copilot workflows with Xquik X API SDKs, REST endpoints, hosted Apify Actor runs, MCP tools, TweetClaw OpenClaw plugin installs, signed webhooks, tweet search, user lookup, follower exports, media actions, and agent automation.