content/skills/visual-media-design/excalidraw/SKILL.md
--- name: excalidraw description: >- Create editable Excalidraw diagrams for architecture views, flowcharts, sequence flows, dependency maps, and other visuals that need a freeform canvas instead of text-only markup. Use when the user wants an Excalidraw file, an editable diagram, a whiteboard or sketch, or a spatial visual for a system with 3+ components or a multi-step flow. Prefer this over Mermaid when layout freedom or post-editing matters. Do not trigger for simple lists, qui
npx skillsauth add bahayonghang/my-claude-code-settings content/skills/visual-media-design/excalidrawInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Generate an Excalidraw diagram from $ARGUMENTS.
If $ARGUMENTS is empty or too vague to identify the subject, ask for the missing diagram description before proceeding.
$SKILL_DIR/references/EXCALIDRAW_GUIDE.md before doing layout work. For complex diagrams or exports, use the relevant sections instead of improvising structure.professional by default for architecture, systems, APIs, workflows, and most technical diagramssketch only when the user explicitly asks for a whiteboard, brainstorm, rough draft, or hand-drawn look<descriptive-name>.excalidraw.json in the active directorycurl is availableexcalidraw-brute-export-cli when the local CLI is availableAlways deliver:
.excalidraw.json pathDo not dump the full JSON into chat unless the user explicitly asks for inline content.
.excalidraw.json is the required deliverable. Rendered exports are optional enhancements.width, height, and strokeColor on every text element.width, height, strokeColor, and the selected font.boundElements.development
Turn vague or complex Codex tasks into strong `/goal` commands with outcome, verification, constraints, boundaries, iteration policy, completion evidence, and pause/block conditions. Use when the user asks for Codex goal instructions, Goal 指令, 目标指令, `/goal` prompts, 中文 Goal 模板, plan-to-goal interviews, success criteria, verification commands, or bounded agent work definitions.
tools
Write, debug, and validate ast-grep structural code search rules. Use this skill when the user needs syntax-aware code search, AST pattern matching, structural refactor discovery, language-construct queries, or searches that plain text tools like rg can miss, such as finding functions with particular descendants, calls inside specific contexts, missing error handling, React hook shapes, decorators, or other Tree-sitter-backed code structures.
development
Use when the user asks to ground an ambitious proposal, avoid over-grand designs, make a bold direction executable, pressure-test feasibility, prevent "too much vision and too little landing", or turn a strategy/refactor/product idea into the smallest verifiable first move with stop rules. Trigger for requests such as 落地, 先落地, 别太飘, 收一收, 可执行, 可验证, 止损, and for follow-ups after geju-style big-picture thinking. Do not trigger for ordinary code review or implementation unless the user explicitly asks to ground or shrink the plan first.
development
Use when the user explicitly asks to think bigger, open up the design space, challenge conservative design, avoid over-indexing on backward compatibility, escape local-detail fixation, or make a bold high-level product or architecture direction call. Use for strategic reframing, not for ordinary code review, PRD writing, implementation planning, or adversarial risk review.