Token导航 LogoToken导航TokenDH.com
前端设计操作浏览器github未标认证来源可访问许可证需确认审计通过

excalidraw-workflowexcalidraw 工作流

Agent Skill

excalidraw-workflow 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

247

周安装

10

GitHub Stars

5

下载量

78
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:excalidraw-workflow(excalidraw 工作流)
来源仓库:https://github.com/opencoredev/excalidraw-cli
仓库路径:skills/excalidraw-workflow
安装命令:
npx skills add https://github.com/opencoredev/excalidraw-cli --skill excalidraw-workflow
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/opencoredev/excalidraw-cli --skill excalidraw-workflow

简介

excalidraw-workflow 提供自主完成的闭环循环机制,持续构建、改进或修复图表内容。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中需要迭代优化复杂图表或多步骤流程图时使用。
  • 设定 2–5 个检查点,逐项执行并验证,避免任务中断与上下文溢出。
  • 默认连续作业,不暂停等待授权,确保大型图表处理的稳定性。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Excalidraw Workflow

0. Autonomous Completion Loop (No Mid-Task Stops)

Use this loop whenever the request is to build, improve, or fix anything substantial.

  1. Capture the target outcome in 2-5 concrete checkpoints.
  2. Execute one checkpoint immediately (do not pause after planning).
  3. Prove the checkpoint with evidence (for diagrams: describe + viewport/screenshot spot-check).
  4. Fix any issue before starting the next checkpoint.
  5. Continue until all checkpoints are complete, then do one final verification pass.

Default behavior: do the work continuously. Do not stop between checkpoints for routine permission requests.

No confirmation pauses:

  • Do not pause after "plan" to ask routine permission.
  • Do not pause after one command output when more checkpoints remain.
  • Ask only when truly blocked by missing credentials/secrets or irreversible production risk.

When working in a git repo and the user asks to ship:

  • After each verified checkpoint, stage and commit with a focused message.
  • Push after the final verification pass (or at each checkpoint if the user requested incremental pushes).

Checkpoint proof standard (each checkpoint must include all):

  1. Action performed.
  2. Observable evidence (describe, screenshot, command output).
  3. Next checkpoint started immediately.

1. Quick Grid Plan (30 seconds, saves minutes)

Before the first draw command, decide your coordinate grid. This prevents overlaps and misaligned arrows that are painful to fix mid-diagram.

For architecture / flowcharts — sketch this mentally:

Tier 1 (y=60):   Client / Entry points      (x=80, 320, 560 ...)
Tier 2 (y=200):  Gateway / Edge             (x=80, 320, 560 ...)
Tier 3 (y=340):  Services                   (x=80, 320, 560 ...)
Tier 4 (y=480):  Data stores                (x=80, 320, 560 ...)

Rule of thumb: 140px vertical between tiers, 240px horizontal between columns.

For mind maps / brainstorming: start with the center node, assign fixed radial slots (center -> branches -> children), then draw incrementally.

Only one thing to decide before drawing: what is the first element and where does it go? Draw it immediately.


2. Draw Element by Element — User Can Steer in Real Time

Create each element with its own excalidraw create call so the user sees every shape appear live and can redirect if something looks wrong.

Order:

  1. Background zones / containers (sets the skeleton)
  2. Primary nodes one by one (main shapes)
  3. Arrows one by one — only after both source and target exist
  4. Detail labels / annotations last

Example — element by element:

excalidraw create --type rectangle --id zone-backend --x 40 --y 40 --width 500 --height 400 \
  --fill "#e9ecef" --stroke-color "#868e96" --opacity 40
excalidraw viewport --fit

excalidraw create --type rectangle --id api-gw --x 80 --y 100 --width 200 --height 60 \
  --text "API Gateway" --stroke-color "#9c36b5" --fill "#eebefa"
excalidraw viewport --fit

excalidraw create --type rectangle --id db --x 80 --y 260 --width 200 --height 60 \
  --text "Database" --stroke-color "#0c8599" --fill "#99e9f2"
excalidraw viewport --fit

excalidraw create --type arrow --x 0 --y 0 --start api-gw --end db
excalidraw viewport --fit
Rule: something must appear on canvas within your first tool call. excalidraw batch is best when you have a complete diagram ready — arrow bindings are computed across the whole set at once, giving better geometry. For live incremental drawing, use individual create calls.

Mindmap-specific build rule (for clean radial maps)

If the request is "mindmap" and the branch count is known in advance, prefer:

  1. Build nodes first with fixed radial coordinates (center -> branches -> branch children).
  2. Add all arrows only after all node IDs exist.
  3. Run viewport --fit and visual QA before calling done.

This prevents the scattered-node look caused by improvising positions mid-build.


3. Fix As You Go — Don't Save It For the End

Before every excalidraw create:

  • Width big enough? max(160, charCount * 11 + 40). Go wider when unsure.
  • Multi-word labels: max(160, longestWord * 11 + 80).
  • Both shapes exist before drawing the arrow?
  • At least 60px gap between this shape and its neighbors?

Fix immediately:

excalidraw update <id> --width 220         # text truncating
excalidraw update <id> --x 320 --y 180    # overlapping neighbor
excalidraw viewport --fit

Arrow passes through a box? Shapes were too close, or arrow wasn't bound. Delete it, increase gap, recreate with --start <id> --end <id>.

Overlapping elements? Use excalidraw distribute to space them evenly.

Run excalidraw describe at each checkpoint boundary (not after every element) to verify IDs and branch connectivity.


4. Review Before Finishing

Run this before calling the diagram done:

excalidraw describe

Check:

  • Every shape has a label
  • Every arrow connects two shapes (not floating)
  • No element IDs are duplicated
  • Text isn't truncated (shapes wide enough)
excalidraw viewport --fit
excalidraw screenshot --out /tmp/final.png

Visual check — look for:

  • No overlapping shapes
  • Arrow lines don't pass through boxes
  • Consistent color/sizing within each tier

Mindmap-specific check (if applicable):

  • Center node is visually central
  • First-level branches radiate in distinct directions
  • Each branch has continuation depth (at least one child)
  • No floating labels outside node bounds
  • Branch spacing is balanced (no one side collapsed)
  • First-level branch center distances are within about 80px of each other unless intentional emphasis is stated

Save before stopping:

excalidraw export --out backup.excalidraw

Canvas state and snapshots are both in-memory — lost on server restart.


Troubleshooting

ProblemFix
503 No frontend client connectedOpen http://localhost:3000 in a browser. viewport, screenshot, and mermaid require a live browser tab.
Arrow not connectingUse --start <id> --end <id> — both shapes must exist before creating the arrow
Elements scattered / overlappingRun excalidraw distribute id1 id2 id3 --direction vertical to space evenly
Elements lost after restartRun excalidraw export --out backup.excalidraw before stopping the server
Fill looks sketchy/hatchedAdd --fill color with "fillStyle": "solid" in batch JSON

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.52%
按下载量换算27

Claude

32.89%
按下载量换算26

Cursor

18.26%
按下载量换算14

Gemini CLI

10.4%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills