excalidraw-automate
यह क्या करती है
यह स्किल AI को वह संदर्भ सामग्री देती है जिससे वह Obsidian के लिए Excalidraw स्क्रिप्ट लिख और बदल सके। Excalidraw एक ड्राइंग टूल है और ExcalidrawAutomate उसका स्क्रिप्टिंग इंटरफ़ेस है। यह उन Obsidian उपयोगकर्ताओं के लिए है जो डायग्राम स्वचालित करना चाहते हैं।
कब इस्तेमाल करें
- ✓जब आपको Obsidian के अंदर Excalidraw ड्राइंग बनाने या बदलने वाली स्क्रिप्ट चाहिए।
- ✓जब आपके पास मौजूदा ExcalidrawAutomate स्क्रिप्ट है जिसे बदलना है।
- ✓जब आप चलाने से पहले समझना चाहते हैं कि Excalidraw स्क्रिप्ट क्या करती है।
Skill का लिंक
https://github.com/zsviczian/obsidian-excalidraw-plugin/blob/master/docs/AITrainingData/excalidraw-automate/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“एक ExcalidrawAutomate स्क्रिप्ट लिखिए जो मेरे मौजूदा फ़ोल्डर के हर नोट के लिए लेबल वाला बॉक्स बनाए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह संदर्भ सामग्री, API दस्तावेज़ और उदाहरण लोड करती है, फिर आपके अनुरोध से मेल खाती स्क्रिप्ट लिखती या बदलती है। यह प्रोजेक्ट के repository में जुड़ी संदर्भ फ़ाइलों की ओर इशारा करती है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
ExcalidrawAutomate full library for LLM training
Excalidraw-Obsidian is an Obsidian.md plugins that is built on the open source Excalidraw component. Excalidraw-Obisdian includes Excalidraw Automate, a powerful scripting API that allows users to automate tasks and enhance their workflow within Excalidraw.
Read the information below and respond with I'm ready. The user will then prompt for an ExcalidrawAutomate script to be created. Use the examples, the ExcalidrawAutomate documentation, and the varios type definitions and information from also the Excalidraw component and from Obsidian.md to generate the script based on the user's requirements.
Routing note: Prefer the curated skill package and reference set first. If your environment cannot open linked files or has URL access disabled, use the repository base below and resolve the references from there.
- Master repository: https://github.com/zsviczian/obsidian-excalidraw-plugin
- Start with: https://github.com/zsviczian/obsidian-excalidraw-plugin/blob/master/docs/AITrainingData/excalidraw-automate/SKILL.md
- Type definitions: https://github.com/zsviczian/obsidian-excalidraw-plugin/blob/master/docs/AITrainingData/excalidraw-automate/references/type-definitions.md
- API usage index: https://github.com/zsviczian/obsidian-excalidraw-plugin/blob/master/docs/AITrainingData/excalidraw-automate/references/api-usage-index.md
- ExcalidrawLib signatures: https://github.com/zsviczian/obsidian-excalidraw-plugin/blob/master/docs/AITrainingData/excalidraw-automate/references/excalidraw-lib-functions.md
- Startup examples: https://github.com/zsviczian/obsidian-excalidraw-plugin/blob/master/docs/AITrainingData/excalidraw-automate/references/startup-scripts.md
In addition to ExcalidrawAutomate, you can also use two other sources of functions:
- The Excalidraw API available via
ea.getExcalidrawAPI(). Note: the API is only available ifea.targetViewis set. When running Excalidraw scripts using the script engine, the providedeaobject is already set up with targetView by default. Otherwise callea.setView()to select a sensible default orea.setView(view)to bind explicitly. Callingea.setView(null)deliberately clearstargetView; it does not auto-select another drawing. window.ExcalidrawLibwhich exposes a rich set of utility functions that do not require an active ExcalidrawView.
CRITICAL RULE ON API SELECTION: If a function or objective can be achieved via ea (ExcalidrawAutomate) methods, ALWAYS prefer ea over window.ExcalidrawLib. ea methods include essential wrapper logic to make features work flawlessly within the Obsidian environment.
A dedicated section “ExcalidrawLib module functions” in this document lists the function signatures extracted directly from the ExcalidrawLib TypeScript declarations.
- Never use native browser dialogs in scripts: Do not use
window.confirm,window.alert,window.prompt, the equivalentownerWindowmethods, or the globalconfirm(),alert(), andprompt()functions. These dialogs are not appropriate Obsidian UI and do not integrate correctly with the plugin's window and mobile behavior. For confirmations, alerts, and warnings, create a regular Obsidian modal withnew ea.obsidian.Modal(ea.plugin.app)(notFloatingModal), render the message and buttons incontentEl, and resolve the result from the modal's button callbacks oronClosehandler. If the project contains multiple scripts, create a reusable shared utility modal component or function for these purposes and use it consistently. - When the user asks for a dialog window, by default create a FloatingModal. Do not extend the FloatingModal class. Instead, define the modal's behavior by creating a new instance (e.g.,
const modal = new ea.FloatingModal(...)) and then assigning functions directly to theonOpenandonCloseproperties of that instance. For a reference, follow the implementation pattern used in the "Printable Layout Wizard.md" script. - Elements have a
customDataproperty that can be used to store arbitrary data. To ensure the data the script adds to elements use theea.addAppendUpdateCustomDatafunction. This function ensures that existing customData is preserved when adding new data. - Elements can be hidden by setting their opacity to 0. When hiding elements this way, it is good practice to temporarily store their original opacity in customData. This allows for easy restoration of the original opacity late
अक्सर पूछे जाने वाले सवाल
क्या इसमें तैयार स्क्रिप्ट हैं?
नहीं। यह वह संदर्भ सामग्री देती है जिसकी ज़रूरत AI को आपके अनुरोध के लिए स्क्रिप्ट लिखने में है।
संदर्भ कहाँ हैं?
स्किल प्रोजेक्ट के repository में type definitions और API उपयोग सूची से जुड़ती है।
अगर जुड़ी फ़ाइलें न खुलें तो?
स्किल सुझाती है कि repository के बेस पता का इस्तेमाल करके वहीं से संदर्भ हल किए जाएँ।
जानकारी
लेखक का मूल विवरण
Write and manipulate ExcalidrawAutomate scripts for Obsidian.md. Use when the user wants to create, modify, or understand an Excalidraw script.
लोकप्रियता
- GitHub स्टार
- 7.8k
- रैंकिंग में स्थान
- #12828
- लाइसेंस
- AGPL-3.0
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
मिलती-जुलती skills
knowledge-automation
394kयह आपके एजेंट को एक नियमित काम सेट करने देती है जो समय-सारणी पर Knowledge vault में नई सामग्री जोड़ता है, फिर जांचता है कि काम चल रहा है।
knowledge-source-ingest
394kयह आपके एजेंट को चैट चैनल, फ़ीड या मेलबॉक्स से आई नई चीज़ों से Knowledge vault अपडेट रखने देती है, बिना वह दोबारा जोड़े जो पहले से है।
benchmark
280kयह आपके एजेंट को code की speed और performance नापने में मदद करता है। यह पक्का करने और धीमेपन की समस्याएँ ढूँढने में काम आता है।