Token导航 LogoToken导航

Agent Skill · 前端设计

excalidraw-workflow(excalidraw 工作流)

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

excalidraw-workflow 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为操作浏览器;许可证信息还不明确,第三方扫描已通过,按安装量在前端设计类的 10,216 个 Skill 里排第 8,923。

总安装 247周安装 10GitHub Stars 5下载 78核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 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

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

excalidraw-workflow 提供自主完成的闭环循环机制,持续构建、改进或修复图表内容。适合在 Codex、Claude、Cursor、Gemini CLI 中需要迭代优化复杂图表或多步骤流程图时使用。设定 2–5 个检查点,逐项执行并验证,避免任务中断与上下文溢出。

默认连续作业,不暂停等待授权,确保大型图表处理的稳定性。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/excalidraw-workflow

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/opencoredev/excalidraw-cli --skill excalidraw-…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

excalidraw-workflow 怎么安装?

在终端执行 npx skills add https://github.com/opencoredev/excalidraw-cli --skill excalidraw-workflow。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

excalidraw-workflow 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

excalidraw-workflow 需要什么权限?

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

excalidraw-workflow 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

excalidraw-workflow 用的人多吗?

公开数据是累计安装 247 次,近一周安装 10 次,下载 78 次,GitHub 5 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

excalidraw-workflow 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理前端设计类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

前端设计类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
frontend-design

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
excalidraw-workflow

excalidraw 工作流 · 本页

2475操作浏览器未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

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

平台分布

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