本文へ移動
cccskills
無料GitHub で公開

feishu-whiteboard-pro

Builds, revises, restyles, and critiques deliberate, editable Feishu / Lark whiteboards from content, references, existing SVGs, or live boards. Use for whiteboards, infographics, diagrams, system maps, timelines, decision boards, posters, and visual explainers that need factual fidelity, strong hierarchy, intentional composition, and evidence-based review rather than a generic grid of equal cards. Routes creation, revision, and critique through separate playbooks; commits to a content-and-design contract before drawing; validates deterministic SVG defects; renders and inspects the actual artifact; and uses an independent final reviewer for material deliveries.

インストール方法を見る

含まれるファイル(46)

  • SKILL.md6.6 KB
  • .gitignore269 B
  • agents/whiteboard-finish-reviewer.md3.9 KB
  • CATALOG.md3.5 KB
  • COMPOSITION.md10.2 KB
  • coze/build.sh5.0 KB
  • coze/CREDENTIALS.md3.6 KB
  • coze/scripts/feishu_write.py6.2 KB
  • coze/scripts/probe_board_api.py6.7 KB
  • coze/SKILL.md4.5 KB
  • CRITIQUE.md6.2 KB
  • examples/01-system-map.png274.7 KB
  • examples/01-system-map.svg5.0 KB
  • examples/02-pipeline-fork.png278.2 KB
  • examples/02-pipeline-fork.svg6.2 KB
  • examples/03-swimlane-sequence.png304.4 KB
  • examples/03-swimlane-sequence.svg7.2 KB
  • examples/04-radial-system-map.png491.1 KB
  • examples/04-radial-system-map.svg10.9 KB
  • examples/05-comparison-matrix.png663.3 KB
  • examples/05-comparison-matrix.svg15.0 KB
  • examples/06-timeline.png318.7 KB
  • examples/06-timeline.svg11.0 KB
  • examples/07-hierarchy.png558.4 KB
  • examples/07-hierarchy.svg14.1 KB
  • examples/README.md5.5 KB
  • LICENSE1.3 KB
  • README.md7.8 KB
  • references/create.md3.4 KB
  • references/critique.md1.9 KB
  • references/revise.md2.2 KB
  • RULES.md12.6 KB
  • scripts/build-catalog.mjs5.4 KB
  • scripts/check-repo.mjs7.9 KB
  • scripts/fit-check.mjs19.6 KB
  • scripts/preflight.sh2.2 KB
  • templates/coral/design.md1.4 KB
  • templates/GENERATE.md6.1 KB
  • templates/grove/design.md1.5 KB
  • templates/mint-brut/design.md1.5 KB
  • templates/monochrome/design.md1.2 KB
  • templates/polar-signal/design.md1.2 KB
  • templates/riptide-cobalt/design.md1.4 KB
  • templates/riso-brut/design.md1.5 KB
  • templates/signal-night/design.md1.2 KB
  • tests/fit-check.test.mjs5.6 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Feishu Whiteboard Pro

Create real, editable Feishu SVG whiteboards with deliberate composition and verifiable content. The medium is intentionally narrow: one font, native rectangles/circles/connectors, no gradients, filters, opacity, or motion. Quality comes from truth, hierarchy, topology, rhythm, contrast, and air.

Core contract

  • The brief wins. Honor supplied brand, palette, reference, density, and style commitments. A default or anti-pattern warning cannot silently redirect a clear request.
  • Revision preserves; redesign replaces. A repair keeps content, relationships, geometry, and visual identity unless the user names an axis to change. A restyle changes the visual system, not the information architecture.
  • Visual authority is evidence. An existing board, SVG, screenshot, or explicit brief remains authoritative even without a separate design document.
  • Relationships are claims. Never invent an arrow, number, quotation, category, owner, status, or causal link to make the layout feel complete. Clearly label authored demonstration content.
  • Mechanical checks and design judgment stay separate. Scripts own measurable defects; the reviewer owns truth, reading path, hierarchy, balance, density, contrast in context, and alignment.
  • Verification is bounded. Inspect once, batch fixes, confirm once. Clear remaining deterministic failures, but do not reopen an unlimited taste loop.

Setup

Resolve <skill-dir> to the directory containing this SKILL.md; keep the working directory at the user's project. All bundled references and scripts resolve from <skill-dir>.

Run bash <skill-dir>/scripts/preflight.sh once before local rendering. Node 20+ is required. The whiteboard CLI runs through npx and may need network access on first use.

Feishu authentication is required only for publishing. Before writing a live board, run bash <skill-dir>/scripts/preflight.sh --publish. If publishing is unavailable, continue with the local SVG and tight PNG; do not discard a valid local deliverable.

Route the request

Read RULES.md for every build or edit, then load exactly one workflow:

RequestWorkflowDefault authority
New board or replacement compositionreferences/create.mdUser content, references, and the new board contract
Repair, restructure, restyle, or simplify an existing boardreferences/revise.mdExisting artifact plus the explicitly changed axes
Review, diagnose, or approve a boardreferences/critique.mdCurrent evidence; read-only unless fixes were requested

Load supporting references only when the selected workflow needs them:

If a request is ambiguous between creating and revising, inspect the supplied artifact first. Ask a question only when choosing the wrong authority would materially change the result.

Build and verify

For SVG work:

  1. Start from the matching examples/*.svg when its topology fits. Replace content and recheck old arrowheads and meta text rather than trusting the example blindly.

  2. Run the deterministic check:

    node <skill-dir>/scripts/fit-check.mjs <dir>/diagram.svg
    
  3. Render and inspect the tight local image:

    npx -y @larksuite/whiteboard-cli@^0.2.11 \
      -i <dir>/diagram.svg -o <dir>/diagram.png -f svg
    
  4. Batch visible fixes, rerun fit-check, and make one confirmation render. Use node <skill-dir>/scripts/fit-check.mjs --json <dir>/diagram.svg when passing evidence to another process.

  5. For a material delivery, use the fresh read-only reviewer in agents/whiteboard-finish-reviewer.md. Pass the original request, fact/design contract, SVG, local PNG, checker output, and any real Feishu evidence.

Publish and deliver

Follow RULES.md for exact Feishu creation, update, and query commands. Publishing changes external state, so do it only when the user requested a live board or supplied a target to update.

Deliver the Feishu document link when publishing succeeded, plus the local diagram.svg and tight diagram.png. The square Feishu export is verification evidence, not the share image. If publishing is unavailable, deliver the local artifacts and the precise authentication step still required.

Repository files

  • RULES.md — verified medium constraints and publish commands.
  • references/ — create, revise, and critique playbooks; load one per request.
  • COMPOSITION.md — spacing, type scale, archetypes, and anti-reflex guidance.
  • CRITIQUE.md — truth gate, five visual axes, and bounded review flow.
  • CATALOG.md — generated palette index.
  • templates/ — curated palettes and the optional generation recipe.
  • examples/ — editable gold-standard SVG starting points and renders.
  • scripts/fit-check.mjs — deterministic medium and untransformed-geometry checker with text and JSON output.
  • scripts/check-repo.mjs — offline repository regression check.
  • scripts/preflight.sh — local and publish readiness check.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

创建、修改、换肤和评审真正经过设计的可编辑飞书白板。适用于信息图、流程图、系统图、 时间线、决策板、海报和可视化讲解:先锁定内容事实与设计简报,再按白板媒介构图,机械检查 SVG,查看真实渲染,并在重要交付前做独立终审;避免等大卡片网格和凭空补造关系。飞书写入 使用扣子平台授权,授权暂不可用时仍交付本地 SVG + PNG。

日本語の概要は準備中です。原文の説明を表示しています。

LcpMarvel/feishu-whiteboard-pro602026年8月31日 更新

LcpMarvel のスキルをすべて見る

このスキルの問題を報告する