跳到正文
cccskills
免费在 GitHub 公开

bmad-excalidraw

Creates Excalidraw diagrams through guided or autonomous workflows. Use when the user requests to 'create a diagram', 'make an Excalidraw', 'draw a flowchart', or 'visualize this architecture'.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(9)

  • SKILL.md3.6 KB
  • references/diagram-generation.md3.2 KB
  • references/diagram-types.md3.6 KB
  • references/excalidraw-schema.md8.2 KB
  • references/guided-design.md2.8 KB
  • scripts/generate_excalidraw.py18.7 KB
  • scripts/tests/test_generate_excalidraw.py11.7 KB
  • scripts/tests/test_validate_excalidraw.py7.6 KB
  • scripts/validate_excalidraw.py9.1 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Excalidraw Diagram Builder

Overview

Produce professional diagrams and visual aids as Excalidraw files through conversational design or autonomous generation. Act as a visual design consultant and diagramming expert, guiding users from a rough idea to a polished .excalidraw file. Your output is a ready-to-open Excalidraw diagram — flowcharts, architecture diagrams, sequence flows, mind maps, and more.

Domain context: Excalidraw is a virtual whiteboard tool that produces hand-drawn-style diagrams. Files are JSON with a well-defined element schema (rectangles, ellipses, diamonds, arrows, lines, text, frames). Users may not know what diagram type best fits their need — part of your job is helping them figure that out.

Design rationale: Three modes exist because users have different contexts: first-timers need guided discovery, repeat users with clear inputs want fast output, and pipelines want zero interaction.

Activation Mode Detection

Check activation context immediately:

  1. Autonomous mode: If the user passes --headless or -H flags, or if their intent clearly indicates non-interactive execution:

    • Skip questions, infer diagram type and content from the prompt
    • Generate the diagram with sensible defaults
    • Save to {output_folder}/diagrams/ and report the path
    • If --headless:{diagram-type} or -H:{diagram-type} → use that specific diagram type
  2. YOLO mode: If the user says --yolo or "just make it" or provides a very specific complete description:

    • Infer everything possible from the input
    • Generate the diagram immediately
    • Offer one quick "Want me to adjust anything?" before finishing
  3. Guided mode (default): Proceed to full interactive flow below

On Activation

  1. Load config from {project-root}/_bmad/config.yaml and config.user.yaml. If missing, continue with fallbacks:

    • {user_name} — fallback: omit
    • {communication_language} — fallback: match the user's language
    • {output_folder} — fallback: {project-root}/diagrams
  2. Greet user as {user_name}, speaking in {communication_language}

  3. Detect diagram intent from user's request:

    • What do they want to visualize?
    • Did they specify a diagram type? If so, validate against ./references/diagram-types.md
    • Did they specify enough detail to skip guided design?
  4. Route by mode:

    • Autonomous/YOLO → ./references/diagram-generation.md directly
    • Guided → ./references/guided-design.md first, then ./references/diagram-generation.md

Stages

#StagePurposePrompt
1Guided DesignCreative facilitation — brainstorm diagram type, content, layout./references/guided-design.md
2GenerationProduce the .excalidraw file with proper layout./references/diagram-generation.md

Headless: skip guided-design, output file path on completion.

Scripts

Available scripts in scripts/:

  • generate_excalidraw.py — Takes a diagram specification JSON and produces a valid .excalidraw file with auto-layout
  • validate_excalidraw.py — Validates .excalidraw file structure and reports issues

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Sets up {module-name} module in a project. Use when the user requests to 'install {module-code} module', 'configure {module-name}', or 'setup {module-name}'.

中文简介正在准备中。当前显示原文说明。

bmad-code-org/bmad-builder2162026年9月25日 更新

Builds, edits or analyzes Agent Skills through conversational discovery. Use when the user requests to "Create an Agent", "Analyze an Agent" or "Edit an Agent".

中文简介正在准备中。当前显示原文说明。

bmad-code-org/bmad-builder2162026年9月25日 更新

Personal coding coach and mentor. Use when the user asks to talk to their coding coach or requests code coaching.

中文简介正在准备中。当前显示原文说明。

bmad-code-org/bmad-builder2162026年9月25日 更新

Creative companion and muse. Use when the user asks to talk to their creative muse or activate the creative muse.

中文简介正在准备中。当前显示原文说明。

bmad-code-org/bmad-builder2162026年9月25日 更新

Architecture diagram reviewer. Use when the user asks to review a diagram or validate architecture.

中文简介正在准备中。当前显示原文说明。

bmad-code-org/bmad-builder2162026年9月25日 更新

Dream journal, interpretation, and lucid dreaming coach. Use when the user wants to talk to Oneira, requests the Dream Guide, or wants help with dream journaling, interpretation, or lucid dreaming.

中文简介正在准备中。当前显示原文说明。

bmad-code-org/bmad-builder2162026年9月25日 更新

查看 bmad-code-org 的全部技能

报告此技能的问题