شعار One Time Surface

One Time Surface

المجتمع
namedtoaster
one-time-surface

Build or check a surface that is meant to appear once and then stop, such as a coach mark, tooltip, tour, primer, upsell card or review ask. Covers the three questions that decide whether it works for real people, not just on your phone, plus the traps that silently take it to zero. Use when adding a hint or one time card, when one is not appearing, when one keeps reappearing, or before shipping a surface you have only ever seen on your own device.

نظرة عامة

الناشرnamedtoaster
المستودعThe-Last-Mile
اسم المهارةone-time-surface
النجوم
39
التفريعات
2
الملفات المرفقة
تعليمات فقط
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

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

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

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

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

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

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

التثبيت

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

1

التثبيت في TypingMind

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

  1. افتح التطبيق وانتقل إلى الإضافات → المهارات.
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/namedtoaster/The-Last-Mile/tree/main/skills/one-time-surface
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات → المهارات → إضافة مهارة → من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/namedtoaster/The-Last-Mile.git /tmp/The-Last-Mile
mkdir -p .claude/skills
cp -r /tmp/The-Last-Mile/skills/one-time-surface .claude/skills/one-time-surface
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

One time surfaces

A hint, a coach mark, a primer, a review ask. They share a failure mode: they look right on the device that built them and reach nobody, or everybody, twice.

Three questions decide whether yours works. Each needs different evidence, and none of them is answered by looking at it on your own phone.

QuestionWhat answers it
Does it appear at all, for someone who is not you?Instrumentation, after a release. Nothing else
Does it appear at the right moment?Tests over the gates, plus one look on a device
Does it stay gone once it has been seen?The record you store, and a test of the rule

1. Store a count, never a boolean

A flag cannot express "three times, then stop", which is the rule that retires a surface before anyone is annoyed enough to dismiss it. Shipped consumer apps store counts, and more besides. Common shapes worth matching:

  • an impression count per surface
  • a lifetime ceiling, so it retires on its own
  • a separate dismissal record, because being seen and being dismissed are different events and the second is rarer than you expect
  • a per session record, so a surface cannot appear twice in one sitting
  • a version in the key, so a redesigned surface can legitimately show again

That last one is the one teams skip and cannot retrofit cleanly. Put a version in the key the day you write it.

Suppression does not have to run on a calendar. Counting against a domain event the person actually does, rather than days elapsed, is often truer to intent.

2. Decide nothing from a store that has not answered

This is where these surfaces go wrong most often. The gates are read asynchronously, they land in different orders, and the empty default of most of them is exactly what a brand new user looks like. So the surface either:

  • draws itself from unread state and is withdrawn a moment later, which reads as a glitch, or
  • is suppressed by a gate that has not loaded yet and never appears at all.

Two rules that prevent both:

  • Hold every surface that can withdraw itself until every read has ANSWERED. One rule for all of them, not a flag per surface, or the next surface is written without it.
  • A read that FAILS must still answer. Otherwise one unreadable table leaves a screen with nothing on it for the rest of the session, which is worse than the flash you were preventing. Set the answered flag in a finally.

3. Check what a gate actually means

Two specific confusions, both of which ship silently:

  • A one time key means "not dismissed", not "on screen now." Using it as a proxy for visibility suppresses other things long after the thing itself is gone. Gate on whether the surface is actually being drawn.
  • A boolean whose false means both "no" and "not read yet" will be read as a fact. Give it a third state, or a separate answered flag.

4. Prove it, in the order confidence allows

  1. Tests over the gates. Hold each read open in turn and assert the surface is NOT drawn. Then let them land and assert it is. Verify each by reverting the gate and watching the test go red: a test that passes either way proves nothing.
  2. One look on a real build. A recording of a cold open, frames extracted, is enough to show it arrives and is never taken back. A development build is not representative: its timings are nothing like what you ship.
  3. The number that matters, after release. Not how many obeyed it. How many eligible people never saw it. Every gate can take that to zero, and that is invisible until somebody measures the gap between who qualified and who was shown.

Emit an impression event and a resolution event with the outcome (obeyed, dismissed) from the day you build it. Without them, step 3 is impossible and you will be guessing for a release cycle.

5. When you want to know how others do it

Reading a shipped app of this kind tells you the STORAGE rules quickly: key names for counts, ceilings, sessions and versions are readable from an Android build's identifiers and strings. It will not tell you when anything fires, and it cannot tell you anything about whether YOUR surface reaches YOUR users.

Treat the shapes as evidence and any claim about timing as inference.

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

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

Build or check a surface that is meant to appear once and then stop, such as a coach mark, tooltip, tour, primer, upsell card or review ask. Covers the three questions that decide whether it works for real people, not just on your phone, plus the traps that silently take it to zero. Use when adding a hint or one time card, when one is not appearing, when one keeps reappearing, or before shipping a surface you have only ever seen on your own device.

لماذا تستخدم One Time Surface على TypingMind؟

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

كيف أثبّت One Time Surface في TypingMind؟

افتح الإضافات → المهارات → التثبيت من GitHub في TypingMind والصق https://github.com/namedtoaster/The-Last-Mile/tree/main/skills/one-time-surface. يقرأ TypingMind ملف SKILL.md الخاص بها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

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

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

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

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

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

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

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

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

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

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

عرض الكل

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

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