360 Secure SkillHub
360 安全技能中心

Lark CLI Dev Hub Whiteboard

核心功能是通过lark-cli或feishu-cli创建、更新飞书/Lark画板,支持架构图、Bug排查路径、任务依赖图等开发知识图谱。典型场景涵盖架构梳理、问题排查、项目管理等。输入可用Mermaid、SVG/DSL等格式,通过CLI命令操作;需搭配Base的Artifacts记录便于检索,使用前建议本地验证。

afengzi
afengzi
热度 27.89
最近更新 2026-05-20 02:36:31
分类:开发依赖:代码执行 / 第三方 API应用场景:API 集成 / 自动化脚本 / DevOps / 任务管理 ...

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add lark-cli-devhub-whiteboard
Metadata
name
lark-cli-devhub-whiteboard
description
Use when creating or updating Feishu/Lark Whiteboards through lark-cli or feishu-cli for a development knowledge hub, including architecture maps, bug investigation paths, task maps, dependency maps, and project knowledge graphs.
metadata
{"requires":{"bins":["lark-cli","npx"]}}

Lark CLI Dev Hub Whiteboard

Whiteboard is for human scanning and relationship maps. It is not the only AI-readable source of truth.

Discovery aliases: feishu-cli whiteboard, 飞书画板, lark-cli whiteboard, Lark Whiteboard, architecture diagram, knowledge graph.

Good Uses

  • Architecture map with 3-7 zones.
  • Bug diagnosis path.
  • Release flow.
  • Task dependency map.
  • Project knowledge graph overview.
  • Decision impact map.

Required Pairing

Every durable Whiteboard should have a Base Artifacts record with:

  • Title
  • Project
  • Area
  • Artifact Type = Whiteboard
  • Source URL
  • Summary
  • AI Summary
  • Search Keywords

This lets future agents discover the map without needing to visually inspect it first.

Rendering Rules

  • Mermaid is good for simple flows, timelines, sequence diagrams, and mind maps.
  • SVG or DSL is better for dense architecture and knowledge maps.
  • Keep line count low. Prefer grouping and adjacency over all-to-all edges.
  • Validate locally before writing to Feishu when possible.

CLI Pattern

npx -y @larksuite/whiteboard-cli@^0.2.11 \
  -i diagram.mmd -o diagram.png -f mermaid

npx -y @larksuite/whiteboard-cli@^0.2.11 \
  -i diagram.mmd --to openapi --format json \
  | lark-cli whiteboard +update \
      --whiteboard-token "$WHITEBOARD_TOKEN" \
      --source - --input_format raw \
      --idempotent-token "$(date +%s)-devhub" \
      --overwrite --dry-run --as user

After a meaningful redraw, query or export the remote board once to confirm the write landed.

When official lark-whiteboard skill is installed, use it for exact query/update workflows.