Token导航 LogoToken导航TokenDH.com
运维和基础设施需要联网github未标认证来源可访问clear审计通过

excalidrawExcalidraw 图表绘制

Agent Skill

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

总安装

1,011

周安装

43

GitHub Stars

69

下载量

354
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/rnjn/cc-excalidraw-skill --skill excalidraw

简介

excalidraw 用于生成 Excalidraw 格式的 JSON 图表,支持流程图、架构图等多种类型。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中需要可视化系统设计、数据流或决策树时使用。
  • 输出为标准 .excalidraw 文件,可直接在 Excalidraw 网页或编辑器中打开编辑。
  • 安装前需确认权限范围、维护状态,以及是否会触发文件生成或网络请求。
  • excalidraw 属于运维和基础设施类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Excalidraw Diagram Creation

This skill enables you to create beautiful, hand-drawn style diagrams in the Excalidraw JSON format.

File Format Overview

Excalidraw files (.excalidraw) are JSON with this structure:

{
  "type": "excalidraw",
  "version": 2,
  "source": "https://excalidraw.com",
  "elements": [],
  "appState": {
    "viewBackgroundColor": "#ffffff",
    "gridSize": null
  },
  "files": {}
}

Quick Start - Creating Elements

Every element needs at minimum: type, id, x, y, and styling properties.

Minimal Rectangle

{
  "type": "rectangle",
  "id": "rect-1",
  "x": 100,
  "y": 100,
  "width": 200,
  "height": 100,
  "angle": 0,
  "strokeColor": "#1e1e1e",
  "backgroundColor": "transparent",
  "fillStyle": "solid",
  "strokeWidth": 2,
  "strokeStyle": "solid",
  "roughness": 1,
  "opacity": 100,
  "seed": 1234,
  "version": 1,
  "versionNonce": 1234,
  "isDeleted": false,
  "groupIds": [],
  "boundElements": null,
  "link": null,
  "locked": false,
  "roundness": { "type": 3 }
}

Text Element

{
  "type": "text",
  "id": "text-1",
  "x": 120,
  "y": 130,
  "width": 160,
  "height": 25,
  "text": "Hello World",
  "fontSize": 20,
  "fontFamily": 1,
  "textAlign": "center",
  "verticalAlign": "middle",
  "angle": 0,
  "strokeColor": "#1e1e1e",
  "backgroundColor": "transparent",
  "fillStyle": "solid",
  "strokeWidth": 2,
  "strokeStyle": "solid",
  "roughness": 1,
  "opacity": 100,
  "seed": 5678,
  "version": 1,
  "versionNonce": 5678,
  "isDeleted": false,
  "groupIds": [],
  "boundElements": null,
  "link": null,
  "locked": false,
  "containerId": null,
  "originalText": "Hello World",
  "autoResize": true,
  "lineHeight": 1.25
}

Arrow Element

{
  "type": "arrow",
  "id": "arrow-1",
  "x": 300,
  "y": 150,
  "width": 100,
  "height": 0,
  "points": [[0, 0], [100, 0]],
  "startArrowhead": null,
  "endArrowhead": "arrow",
  "startBinding": null,
  "endBinding": null,
  "angle": 0,
  "strokeColor": "#1e1e1e",
  "backgroundColor": "transparent",
  "fillStyle": "solid",
  "strokeWidth": 2,
  "strokeStyle": "solid",
  "roughness": 1,
  "opacity": 100,
  "seed": 9012,
  "version": 1,
  "versionNonce": 9012,
  "isDeleted": false,
  "groupIds": [],
  "boundElements": null,
  "link": null,
  "locked": false
}

Element Types

TypeUse For
rectangleBoxes, containers, cards
ellipseCircles, ovals, nodes
diamondDecision points, conditions
textLabels, descriptions
arrowConnections, flow direction
lineConnectors without arrowheads
freedrawHand-drawn paths
imageEmbedded images
frameGrouping/framing elements

Color Palette (Recommended)

Backgrounds

  • #a5d8ff - Light blue
  • #b2f2bb - Light green
  • #ffec99 - Light yellow
  • #ffc9c9 - Light red/pink
  • #e9ecef - Light gray
  • #d0bfff - Light purple
  • #99e9f2 - Light cyan

Strokes

  • #1e1e1e - Default black
  • #1971c2 - Blue
  • #2f9e44 - Green
  • #f08c00 - Orange
  • #e03131 - Red
  • #9c36b5 - Purple

Styling Properties

PropertyValuesDescription
fillStyle"solid", "hachure", "cross-hatch"Fill pattern
strokeWidth1, 2, 4Line thickness
strokeStyle"solid", "dashed", "dotted"Line style
roughness0, 1, 2Hand-drawn feel (0=smooth, 2=rough)
opacity0-100Transparency
roundness{"type": 3}Rounded corners

Connecting Elements with Arrows

To connect shapes with arrows, use bindings:

{
  "type": "arrow",
  "id": "arrow-1",
  "startBinding": {
    "elementId": "rect-1",
    "focus": 0,
    "gap": 5
  },
  "endBinding": {
    "elementId": "rect-2",
    "focus": 0,
    "gap": 5
  },
  "points": [[0, 0], [200, 0]]
}

Also add boundElements to the connected shapes:

{
  "type": "rectangle",
  "id": "rect-1",
  "boundElements": [{ "id": "arrow-1", "type": "arrow" }]
}

Font Families

ValueFont
1Hand-drawn (Virgil)
2Normal (Helvetica)
3Code (Cascadia)

Best Practices

  1. Generate unique IDs - Use descriptive prefixes like rect-1, arrow-2, text-header
  2. Use random seeds - Each element needs a unique seed for consistent rendering
  3. Space elements well - Leave 50-100px between elements
  4. Align elements - Use consistent x/y coordinates for visual alignment
  5. Group related items - Use matching groupIds arrays
  6. Use the color palette - Stick to Excalidraw's built-in colors for consistency

Diagram Types You Can Create

TypeDescription
FlowchartsProcess flows, algorithms, decision trees
Sequence DiagramsAPI calls, user interactions, message flows
Architecture DiagramsSystem design, microservices, infrastructure
Mind MapsBrainstorming, concept mapping, idea organization
Data Flow DiagramsData movement, system analysis
ERDDatabase schemas, entity relationships
WireframesUI mockups, layout sketches

Reference Documentation

Quick Tips for Beautiful Diagrams

  1. Use roughness: 0 for formal/technical diagrams, roughness: 1 for friendly sketches
  2. Use fontFamily: 2 (Helvetica) for professional look, fontFamily: 1 (Virgil) only when casual look is requested
  3. Consistent spacing - 100px between major elements, 50px for related items
  4. Color semantics - Blue for info/input, Green for success/data, Yellow for decisions, Red for errors
  5. Arrow conventions - Solid for actions, Dashed for responses/async

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

Claude Code

30.66%
按下载量换算109

Gemini CLI

24.76%
按下载量换算88

Codex

16.94%
按下载量换算60

OpenCode

13.32%
按下载量换算47

trae

7.79%
按下载量换算28

Antigravity

3.47%
按下载量换算12

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills