一键导入
diagram
Generate Excalidraw diagrams with a hand-drawn aesthetic. Pushes elements to a live Excalidraw canvas via HTTP API, or renders to PNG/SVG.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generate Excalidraw diagrams with a hand-drawn aesthetic. Pushes elements to a live Excalidraw canvas via HTTP API, or renders to PNG/SVG.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | diagram |
| description | Generate Excalidraw diagrams with a hand-drawn aesthetic. Pushes elements to a live Excalidraw canvas via HTTP API, or renders to PNG/SVG. |
drawbridge is the command-line interface for live canvas work and rendering.Choose zones, flow direction, and element groups first. Prefer fewer larger elements over many small ones. Never: start emitting boxes before deciding the layout direction.
Zones are low-opacity rectangles at opacity 30 to 35. Place zones first in the array because z-order is array order: first is back, last is front. Add a standalone text label inside the top-left corner.
Every element needs type, unique id, x, and y. Skip defaults: strokeColor #1e1e1e, backgroundColor transparent, fillStyle solid, strokeWidth 2, roughness 1, and opacity 100.
Never: dump full internal Excalidraw objects when the skeleton fields are enough.
Rectangle, ellipse, and diamond can take a label object. Text auto-centers. The container auto-resizes only when width and height are omitted. Include roundness: { type: 3 } for rounded corners.
Example: calculate explicit width with max(120, text.length * fontSize * 0.6 + 40).
Standalone text x is the left edge. To center at cx, use x = cx - (text.length * fontSize * 0.5) / 2. textAlign affects multi-line wrapping, not position.
Arrows use points as [dx,dy] offsets from the arrow's own x,y. Bind arrows with start and end, and position the arrow's x,y at the source shape edge.
Never: startBinding or endBinding; those are internal Excalidraw fields.
Use the palette in element-format.md. Body text is at least 16, titles at least 20, annotations at least 14, labeled shapes at least 60 high, and gaps 20 to 30px.
Never: font size below 14 or colors outside the palette.
Array order is z-order. Emit elements progressively: zone, shape, its arrows, next shape, its arrows.
Example: zone → box1 → arrow1 → box2 → arrow2 → box3.
Never: box1 → box2 → box3 → arrow1 → arrow2.
drawbridge for live and file outputdrawbridge auto-starts the server when needed.
Template:
drawbridge push <session> '{"elements": [...]}'
drawbridge append <session> '{"elements": [...]}'
drawbridge clear <session>
drawbridge undo <session>
drawbridge get <session>
drawbridge open <session>
drawbridge render input.excalidraw output.png
.excalidraw fileUse the standard Excalidraw wrapper when saving to disk. Template:
{
"type": "excalidraw",
"version": 2,
"source": "https://excalidraw.com",
"elements": [],
"appState": { "viewBackgroundColor": "#ffffff", "gridSize": null },
"files": {}
}
Confirm drawing order, font sizes, label widths, labeled-shape heights, arrow bindings, palette colors, and either live canvas push or rendered file output. Never: report done before the diagram has been pushed to the live viewer or rendered to a file.
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes
Broad-to-narrow research Orchestration - start with a wide census, harden the scope from returned Evidence, and specialize Subagents only once the exact situation is proven. TRIGGER when the Architect says "progressive research", "start broad", or when dispatching research or debugging Subagents into a situation whose cause or shape is unknown. DO NOT TRIGGER when the exact scope is already proven - dispatch the specialized Subagent per /subagents directly.
Consolidate the knowledge wiki — revisit journaled topics, fold repeated findings into each topic's Claude.md, surface contradictions, keep cross-links true. TRIGGER on a scheduled pass or when a topic tree has grown messy or redundant. DO NOT TRIGGER to file fresh session material (that is journal), or to gather new research.
File a session's loose material into the knowledge wiki — each capture into its owning topic folder, the topic's Claude.md kept current. TRIGGER after a session hands you loose captures (notes, clippings, findings, screenshots) that need a home in the wiki. DO NOT TRIGGER to gather new research, or to consolidate the wiki itself (that is dream).
Operate Dent via first-party API. Trigger: Dent API, Funnels, Offers, Pages, Articles, Courses, Spaces, Analytics. Do not trigger for WordPress-only work.
Autonomous async Execution. The Architect hands off and walks away; the Agent drives the Task to done — makes every Architectural call via /trace + /pcc + ranking, executes through /subagents, verifies from each implementing Subagent's Evidence (they exercise their own flows, real browser for UI), and returns finished code plus the recorded Decisions for review. TRIGGER when the Architect says "code-first", "/code-first", "execute with /subagents", "execute directly & autonomously", "drive it and report back", "iterate until done", "I'm going to bed", "off to bed", or signals an AFK / overnight handoff. DO NOT TRIGGER when the Architect wants options before action — that is the default mode (propose via /pcc and wait).