شعار Driving The Editor Ui

Driving The Editor Ui

مؤسسة
SummerEngine
driving-the-editor-ui

تحكّم في واجهة المحرر باستخدام الأسماء: نفّذ الإجراءات، وأغلق مربعات الحوار المعطِّلة، وبدّل الشاشات، واقرأ لوحة الإرساء.

Add to TypingMind

نظرة عامة

الناشرSummerEngine
المستودعsummer
اسم المهارةdriving-the-editor-ui
النجوم
91
التفريعات
8
الملفات المرفقة
1
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 1

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها SummerEngine على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Driving The Editor Ui في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/SummerEngine/summer/tree/main/library/skills/driving-the-editor-ui
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/SummerEngine/summer.git /tmp/summer
mkdir -p .claude/skills
cp -r /tmp/summer/library/skills/driving-the-editor-ui .claude/skills/driving-the-editor-ui
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Driving The Editor Ui في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Driving The Editor Ui تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Driving The Editor Ui بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Driving the Editor UI

UI work vs scene work — decide first

The editor UI is not where scene work happens. Nodes, properties, placement, lighting, materials: scene-scripting (summer_run_script), the scene tools, summer_world_snapshot / summer_snapshot_diff / summer_screenshot (verifying-scenes). The Scene dock and the Inspector are views of that data; clicking through them to change a property is slower, less reliable, and unverifiable compared with summer_set_prop.

UI ops are for the steps a human does with the mouse that have no scene-level equivalent:

AskRoute
"Open Project Settings" / "open the Import dock" / "toggle the Animation panel"summer_ui_actions mode:"invoke" by name
"Switch to the 3D view" / "go to the Script screen"summer_ui_activate path:"main_screen" action:"select_tab" value:"3D"
"Something is blocking the editor" / tool calls return modal_openthe blocking-dialog pattern below
"What does the Inspector show right now?"summer_ui_tree root:"dock:inspector"
"Change the main scene setting"summer_project_setting — a dedicated tool wins over any UI op
"Move the player to (0, 1, 0)"summer_set_prop / summer_run_script — scene work, never UI

The ladder

  1. Dedicated tool (summer_project_setting, summer_open_scene, summer_select_node, summer_save_scene, …). If one exists, the UI ops are the wrong layer.
  2. Named action — summer_ui_actions mode:"list" filter:"<word>" to find the exact name, then mode:"invoke" action_name:"<name>". The event takes the same path the shortcut key would, so the editor's own handlers run.
  3. Tree + activate — summer_ui_tree to find a control's path, summer_ui_activate to press / toggle / select a tab / set text / set a value through the control's own input path.
  4. Pixels — summer_ui_screenshot, only to look. There is no coordinate click anywhere in this surface: if a thing is visible it is in the tree, and the tree is what activation takes.

Each rung costs more tokens and is less deterministic than the one above it. Do not start at 3 because it feels general.

The blocking-dialog pattern

An exclusive dialog (Project Settings, a confirmation, an unsaved-changes prompt) makes the root window drop input; every mutating UI op then answers modal_open with the blocking_dialog, and other editor operations may stall as still_queued.

  1. summer_ui_tree root:"dialogs" → read blocking, blocking_dialog {title, path, class}, and the dialog's text and buttons (kind: ok | cancel | custom, enabled).
  2. Decide with the user in view. button:"cancel" is the safe close and the default; "ok" or a custom button text confirms whatever the dialog asks — only when that is what the user wants.
  3. summer_ui_activate action:"dismiss_dialog" path:"<blocking_dialog.path>" (or title:"<title>").
  4. Read back: the result's visible_after must be false, and summer_ui_tree root:"dialogs" must show blocking:false. visible_after:true means the dialog re-validated and stayed up — read it again with root:"dialog:<title>" instead of retrying blindly.

A dialog the human would have to click through, you also have to click through — nothing here bypasses one.

Main-screen switching

spatial_editor/* actions need the 3D screen; canvas_item_editor/* need 2D; the script editor's actions need Script. A not_handled result (invoked:true, handled:false) usually means the wrong screen is up.

summer_ui_activate path:"main_screen" action:"select_tab" value:"3D"
→ state.current_tab / state.text read back the selected editor

value is the editor name (2D, 3D, Script, Game, AssetLib, case-insensitive) or index. not_selected means the switch was refused (scene change in progress, hidden editor button) — wait, retry, read back.

Reading a dock's state

summer_ui_tree root:"dock:<title|id>" (file_system, scene_tree, inspector, or any dock title) returns the dock's controls with text, tooltip (icon-only buttons are named by it), checked, enabled, tabs + current_tab, value/min/max, item_count/selected. Go deeper on one subtree with root:"path:<path>" and a larger depth/limit; children_truncated:true plus the real child_count tells you where a cut happened.

Paths and auto-names (@Panel@123) are stable within a session only. Re-read the tree before activating; never persist a path across sessions.

The deny-list

The engine refuses, with denied_action, anything that ends or replaces the session or deletes without the human's confirmation: editor/file_quit, editor/quit_to_project_list, editor/reload_current_project, scene_tree/delete_no_confirm, every project_manager/* name — and buttons or menu items whose label quits, reloads the project, or closes the editor. summer_ui_actions mode:"list" marks them denied:true. Do not attempt them and do not route around them by path; tell the user what was asked and leave that click to them. File-dialog paths that leave the project (.., user://, ~, absolute paths outside res://) are refused as denied_path.

Verification — read back, never assume

  • An invoke succeeded when its effect is observable: a dialog appears in root:"dialogs", a dock's summer_ui_tree changes, or — for anything scene-level — summer_snapshot_diff / summer_get_scene_tree show it. invoked:true alone proves the event was dispatched, not that anything happened.
  • summer_ui_activate returns state after the action from the same node (checked, current_tab, text, value, freed:true if the action freed it). Cite it.
  • A screenshot proves appearance only. A control's exact state is in the tree.
  • engine_lacks_op means the build predates these ops: nothing was sent. Use the dedicated tools for the outcome, or ask the user to click, and say so.

Failure taxonomy — what to do

failure_reasonMeansNext
unknown_action (+close_matches)no such namepick one of the matches, or mode:"list" with a filter
denied_actionsafety liststop; hand the click to the user
modal_open (+blocking_dialog)exclusive dialog eats inputblocking-dialog pattern
not_handleddispatched, no receiverswitch main screen / reveal the owning panel, retry
not_visible / disabled / obscuredcontrol exists but cannot take the eventreveal it, satisfy the precondition, or dismiss what covers it
unsupported_control (+supported_actions)class not driven this wayuse the listed action, or a named action (MenuBar)
no_activation_pathno hover and no focus reached the buttonthe named action instead
tab_not_found / button_not_found / ambiguous_dialogwrong or ambiguous nameuse the listed tabs / buttons / candidates verbatim
no_rendererheadless editor, no pixelssummer_ui_tree; pixels need a display

Related skills: scene-scripting and verifying-scenes own the scene loop this skill deliberately stays out of; verification-before-completion carries the done-claiming rules; headless-scripting is the route when there is no editor UI at all.

From a shell

No Summer MCP tools in this session? Run each one as a command; when summer --version is missing or below 4.0, use npx -y summer-engine@latest in place of summer. Fields are flags in kebab-case (--scene-path res://main.tscn) or one --input '<json>', and summer ops describe <op> prints the exact input. The summer-cli skill has the rest.

In this skillCommand
summer_get_scene_treesummer engine get-scene-tree
summer_ui_actionssummer engine list-ui-actions, summer engine invoke-ui-action
summer_open_scenesummer engine open-scene
summer_project_settingsummer engine project-setting
summer_run_scriptsummer engine run-script
summer_save_scenesummer engine save-scene
summer_screenshotsummer engine screenshot
summer_select_nodesummer engine select-node
summer_set_propsummer engine set-prop
summer_snapshot_diffsummer engine snapshot-diff
summer_ui_activatesummer engine ui-activate
summer_ui_screenshotsummer engine ui-screenshot
summer_ui_treesummer engine ui-tree
summer_world_snapshotsummer engine world-snapshot

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Driving The Editor Ui؟

تحكّم في واجهة المحرر باستخدام الأسماء: نفّذ الإجراءات، وأغلق مربعات الحوار المعطِّلة، وبدّل الشاشات، واقرأ لوحة الإرساء.

لماذا تستخدم Driving The Editor Ui على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Driving The Editor Ui عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Driving The Editor Ui في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/SummerEngine/summer/tree/main/library/skills/driving-the-editor-ui. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Driving The Editor Ui؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Driving The Editor Ui؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Driving The Editor Ui معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Driving The Editor Ui مجانية؟

نعم. نشرها SummerEngine على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇