شعار Unity Surface Preflight

Unity Surface Preflight

مؤسسة
Nice-Wolf-Studio
unity-surface-preflight

Use when about to touch a Unity project for the first time in a session; before editing any scene, prefab, or asset file in a Unity repo; when a status probe reports no instances; when more than one Editor may be running; when a command returns AMBIGUOUS_EDITOR, exit 6, or times out; when deciding between running something headless and driving an open Editor.

نظرة عامة

الناشرNice-Wolf-Studio
المستودعunity-claude-skills
اسم المهارةunity-surface-preflight
النجوم
40
التفريعات
5
الملفات المرفقة
1
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

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

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

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

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

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

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

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

التثبيت

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

1

التثبيت في TypingMind

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

  1. افتح التطبيق وانتقل إلى الإضافات → المهارات.
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/Nice-Wolf-Studio/unity-claude-skills/tree/main/unity-ops/skills/unity-surface-preflight
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات → المهارات → إضافة مهارة → من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Nice-Wolf-Studio/unity-claude-skills.git /tmp/unity-claude-skills
mkdir -p .claude/skills
cp -r /tmp/unity-claude-skills/unity-ops/skills/unity-surface-preflight .claude/skills/unity-surface-preflight
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

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

يُحمّل النموذج Unity Surface Preflight تلقائيًا بمجرد ورود طلب ذي صلة بها.

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

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

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

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

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

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

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

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

Unity surface preflight

Exactly one of four surfaces is true before you touch a Unity project — live Editor, batch, blocked-on-Safe-Mode, or unknown-and-must-ask — and you owe yourself evidence for the one you pick. The skill already loaded in this session catalogues each failure mode on its own page, hands you no rule for choosing between them, and at SK:184 lets a disclosed direct file edit follow the words "no reachable Editor" without asking you to rule out either way that conclusion goes wrong.

The Iron Law

"NO EDITOR" IS A CONCLUSION, NOT A COMMAND OUTPUT. NEVER EDIT SCENE, PREFAB, OR ASSET YAML
UNTIL BOTH FALSE NEGATIVES ARE RULED OUT AND THE FALLBACK IS SAID OUT LOUD.

A probe you could not run is not a probe that came back empty. A denied tool call, a binary missing from PATH, a shell whose view of the machine you cannot vouch for — each leaves the surface UNKNOWN, and UNKNOWN is a question you put to the human. It is never a licence to open the YAML instead.

The Gate

  1. pwd. Confirm the directory you are calling the project root holds ProjectSettings/ProjectVersion.txt, read this session — not remembered from an earlier one.
  2. Walk references/decision-table.md from the top and stop at the first predicate that matches. First match wins; do not skip a row because you expect its answer.
  3. Name, in your response, the surface you resolved and the command output you resolved it from. One sentence, quoting the payload.
  4. Only now act. No named surface, no serialized-asset edit.

If step 2 cannot finish because a probe was denied, errored, or was never available to you, the resolved surface is UNKNOWN and step 4 is "ask the human", not "fall back to the file". Inability to reach the CLI is the strongest reason to distrust "no Editor", not a shortcut past it.

Red Flags — STOP

ThoughtReality
"A status probe says no instances, so the Editor is closed."Two different things produce that output and neither means "closed". (a) A sandboxed agent shell reproduces "no instances" against a genuinely running Editor — this caveat does not exist in the skill you have loaded (R1b §B/§D: GitHub-only). (b) A headless/batch-launched Editor serves commands and is never listed by unity status at all, because its lockfile heartbeat differs from a GUI Editor's — confirm reachability with unity list --project-path <project>, not unity status (IA:162-164) — and that probe answers in exactly two shapes, neither of them "empty": a tool catalog (151 entries in Increment 0), or errors[0].code == "COMMAND_FAILED", "No Pipeline instance found for project", at exit 6 (issue #27).
"Exit 6 means I have to pick an Editor."Exit 6 covers more than one condition. unity status --format json with nothing running returns success:false, data.count:0, data.instances:[], errors[0].code:"STATUS_NO_INSTANCES" — observed on this machine by live probe; IA:337 carries only the STATUS_NO_INSTANCES code token, not the payload shape, and is not a citation for data.count:0 [R4-M5] — that is no candidates, not too many. AMBIGUOUS_EDITOR (SK:30; IA:21,44) is only the right branch when data.candidates is non-empty. Read errors[0].code and data.candidates, never the exit code alone.
"unity pipeline list will tell me if this project is in Safe Mode."pipeline list is machine-wide. unity pipeline list --help lists no options of its own beyond -h, --help (a Global Options block prints after it — the CLI's shared set, not this subcommand's); passing --project-path returns error: unknown option '--project-path' and exit 2. The per-project answer is a filter over data.instances[] on the field carrying the project path — observed in Increment 0 as projectPath (Delta D2). The machine-wide key is data.summary.instancesInSafeMode. And pipeline list exits 0 even when it finds nothing (observed: success:true, data.instances:[], all six summary counters 0, exit 0) — while unity status with nothing running exits 6. Gating on pipeline list's exit code learns you nothing; read data.summary.
"Driving a fresh headless Editor gets me the same place."It does not, and doing it silently is a substitution with no disclosure. The one sentence the installed skill gives you (SK:184) covers disclosing a direct file edit; it does not cover silently swapping control surfaces.
"The user says the Editor is open, so it is."It may be, and the probe may still be blind to it — see row 1. A claim sitting in the task you were handed answers no question, because at that moment you had not asked one; it is the brief, not a reply. What counts is a human sentence that lands after all three probes, in this session, addressed to the question you put. Getting told up front makes asking more necessary, not less — that is the case where you would otherwise never ask at all. And even a real answer settles only the sandbox question, never that a project sits at state ready.
"isRunning: true, so a process is alive and only the bridge is down."isRunning: true was watched with no Unity Editor process on the machine at all, so it is not a look at the process table; what it is reading is not established, and nothing here tells you. pipelineServer.isReachable is the key that speaks to reachability. Watched on 2026-09-14 with the Editor shut and no Unity binary running: {"isRunning":true,"hasPipelinePackage":true,"pipelineServer":{"isReachable":false,"apiUrl":null}}, summary.runningInstances: 1, against unity status → STATUS_NO_INSTANCES (issue #30). When they disagree, unity status and isReachable carry it. A lone isRunning: true is not an instance, is not a broken bridge, and is not a reason to stay out of row 5.

Editor targeting, Safe Mode recovery and the never-hand-edit rule are the unity-cli skill's — read them there.

Guardrails

GatedAdvisory in v1Hook pattern → promotion
Any Edit/Write to **/*.unity, **/*.prefab, **/*.asset under a dir containing ProjectSettings/ProjectVersion.txt [restates SK:179 — adds: a glob-enforced gate and a disclosure requirement]Advisory: "preflight not run / surface unresolved — rule out the sandbox and Safe Mode, then say the disclosure sentence out loud"serialized-asset-write → flip to deny after the 30-day window if the metric has not moved
Concluding "no Editor" from a single unity statusRequire the machine-wide Safe-Mode check and unity list --project-path and the sandbox question before the conclusionno pattern (reasoning, not a tool call) — measured via serialized-asset-write
unity pipeline installNever auto-run. Stop and ask. Auto-allowed in ~/Dev/Unity/ai_test only. SK:32 presents it as an ordinary setup step with no caution ("add it once with unity pipeline install"); that framing is what this row overrides.unity-invocation → already an ask; stays an ask
unity open outside ~/Dev/Unity/ai_testName the project and askunity-invocation → stays an ask

Evidence

ClaimRequiresNot sufficient
"A live Editor is reachable for this project" [restates SK:15, IA:326-337 — adds: the headless exception, which inverts the check]For a warm/GUI Editor opened via unity open: unity status --format json from this session with data.instances[] containing this project at state ready (IA:166-168). For a headless/batch-launched Editor: unity list --project-path <project> or unity command, because unity status will not list it at all (IA:162-164).An earlier status; the Editor being visible in the Dock; the user saying it's open; unity status alone for a headless Editor
"No live Editor is reachable"unity status --format json returning errors[0].code == "STATUS_NO_INSTANCES" and unity list --project-path <project> failing with COMMAND_FAILED (never "empty" — it has no such answer) and unity pipeline list --format json showing data.summary.instancesInSafeMode == 0 and a human reply to the sandbox question you put, in this session, once those three probes were already behind youunity status alone — that is two documented false negatives stacked. Nor does "the Editor is open" arriving in the task brief count: it precedes your question, so it is not a reply to it, and treating it as one is how a run reaches this claim having asked nobody anything
"This project is in Safe Mode" [restates IA:355-361 — adds: the correct key path and the machine-wide scoping]unity pipeline list --format json → data.summary.instancesInSafeMode > 0, then the per-project filter over data.instances[] on projectPath (Delta D2), this sessionunity command timing out. Note: data.instances[].safeMode.detected is documented at IA:360-361. Delta D3 filed it as a key whose value was JSON null; 2026-09-14 returned "safeMode":{"detected":false,"confidence":"high"} (Delta D14, issue #31). What has still never been seen in any payload is the shape this field takes when Safe Mode is on — so never test it for truthiness, and read data.summary.instancesInSafeMode, which is the only key this skill acts on.
"I am in the right project"pwd + the resolved --project-path + ProjectSettings/ProjectVersion.txt read this sessionMemory of the last project worked on

The per-project filter, as Delta D2 recorded it — absolute path, no trailing slash, exact string compare, so run it from the project root or normalise both sides yourself:

unity pipeline list --format json | jq --arg p "$PWD" '.data.instances[] | select(.projectPath == $p)'

Default invocation

The env envelope is defined once in unity-ops:unity-cli-contract and is not repeated here; probe calls additionally pass --format json --no-pager explicitly rather than trusting the env.

Chain

  • Entered from any Unity task, before the first action.
  • Envelope and version probe: unity-ops:unity-cli-contract — run as a sub-step first.
  • On LIVE → unity-ops:unity-live-edit-verification
  • On BATCH → unity-ops:unity-batch-hygiene
  • On Safe Mode → unity-ops:unity-script-change-gate
  • Before any shutdown or cleanup command → unity-ops:unity-destructive-gate
  • REQUIRED SUB-SKILL before claiming a surface is unreachable: wolf-core:wolf-verification
  • Command reference, Safe Mode recovery, editor targeting (never restated here): the unity-cli skill.

Decision table

Twelve predicates, evaluated in order, first match wins: references/decision-table.md. Read it there; do not reconstruct it from memory.

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

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

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

ماذا تفعل مهارة الذكاء الاصطناعي Unity Surface Preflight؟

Use when about to touch a Unity project for the first time in a session; before editing any scene, prefab, or asset file in a Unity repo; when a status probe reports no instances; when more than one Editor may be running; when a command returns AMBIGUOUS_EDITOR, exit 6, or times out; when deciding between running something headless and driving an open Editor.

لماذا تستخدم Unity Surface Preflight على TypingMind؟

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

كيف أثبّت Unity Surface Preflight في TypingMind؟

افتح الإضافات → المهارات → التثبيت من GitHub في TypingMind والصق https://github.com/Nice-Wolf-Studio/unity-claude-skills/tree/main/unity-ops/skills/unity-surface-preflight. يقرأ TypingMind ملف SKILL.md الخاص بها، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Unity Surface Preflight؟

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

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Unity Surface Preflight؟

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

هل مهارة الذكاء الاصطناعي Unity Surface Preflight مجانية؟

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

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

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

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

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

عرض الكل

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

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