bento-slides
ما الذي تفعله
تعلّم هذه المهارة الوكيل كيفية إنشاء عروض الشرائح وتحريرها كملف HTML واحد من نوع Bento. تعمل من بداية فارغة أو من مادة مصدر أو من عرض موجود.
متى تستخدمها
- ✓عندما يريد المستخدم عرض شرائح مبنياً كملف واحد.
- ✓عندما تكون لدى المستخدم ملاحظات مصدر ويريد تحويلها إلى شرائح.
- ✓عندما يريد المستخدم تحسين عرض .bento.html موجود أو تحديثه.
رابط المهارة
https://github.com/nyblnet/bento/blob/main/plugins/bento-slides/skills/bento-slides/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“اصنع لي عرض شرائح قصيراً من ملاحظات الاجتماع هذه بصيغة Bento أستطيع فتحه في المتصفح.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
ينزّل وكيلك أحدث ملف لتطبيق Bento إذا لم يكن هناك عرض يبدأ منه، ثم يكتب محتوى الشرائح داخل كتلة JSON الموجودة فيه. ويبقى باقي الملف كما هو.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Authoring Bento decks
A Bento deck is one self-contained .bento.html file. The document is plain
JSON in a single block:
<script type="application/bento+json" id="bento-doc"> { "format":"bento/slides", ... } </script>
You edit that block only, in place. Escape every < in the JSON as
\u003c so it can never contain a literal </script>. Leave the rest of the
file (the compressed runtime) untouched. In a chat context instead, the user
copies the JSON out (Save ▾ → Copy document JSON) and pastes your
replacement back (Save ▾ → Replace from JSON…); window.bento.loadDoc(json)
does it from the console.
Starting from nothing
The user does NOT need Bento installed — the app ships inside every deck.
When there is no .bento.html to edit, fetch the latest signed release
yourself and author into it:
# name the file after the deck's topic, e.g. Q4_Review.bento.html
curl -fsSL https://bento.page/releases/slides/Bento_Slides.bento.html -o "<Topic>.bento.html"
(Windows without curl: iwr https://bento.page/releases/slides/Bento_Slides.bento.html -OutFile <Topic>.bento.html.)
Then verify the download contains id="bento-doc", and write your document
into that block. The block is empty in the downloaded file — a browser
mints a showcase deck on first open, but on disk there is nothing to discard
and nothing to copy from, so do not go looking for it.
Rules for a fresh document:
- Fetch https://bento.page/agents.md BEFORE authoring and start from its
"Minimal valid document" skeleton.
sizeandtheme(includingtheme.fontFamily) are required — the app will not boot without them. - Fully specify element fields as the skeleton shows (shapes need
stroke/strokeWidth; text needsfontFamily/align/valign) — missing fields render wrong or not at all. - Omit
docIdandcollabentirely: the app mints a fresh identity and dormant collaboration credentials on first open.
When done, open it (open / xdg-open / start) — the file boots straight
into the editor with the finished deck — and look at every slide before you
report done. Text overflow, elements crowding each other, a heading that
wrapped to three lines and a chart key the renderer dropped are all invisible
in the JSON and obvious on screen. Author, render, check, fix; a deck nobody
looked at is not finished.
Workflow
Find the document. Locate the
#bento-docblock; parse its JSON. Notedoc.size(canonical 1280×720),doc.theme, existing elementids, and whetherdoc.template/doc.readonlyare set.Check
doc.collabfirst. If it carriesownerPriv,writerPrivorinvite, this deck's live-session keys are in the file you are about to read — and anything that receives the file or its JSON can join that session and write to it. That is by design: the file is the invitation. Tell the user before you continue, because only they can decide, and they may not know the deck is shared. Offer the alternative: a read-only copy, or Share → Stop sharing on a duplicate. If it has already gone somewhere, the remedy is Share → Rotate keys — removing the keys afterwards does not retract them.Read the source material the user gave you and classify each piece — is it a stat? a table? a process? a definition to expand? a photo?
Map material → feature (do NOT default to bullet text). This is the step that makes it a Bento deck rather than a slideshow of paragraphs:
- numbers to compare visually (trend, magnitude, share) → a chart element
- a comparison / spec / pricing / feature grid → a table element
(
columnsweights +rowsofcells+ astyleobject) - consecutive slides about the same thing changing → morph: give
shared elements the same
idon both slides +transition:"morph"on the later one (Bento's signature move — reach for it liberally) - a point to drill into → a state slide (
stateOf+ elementlink) - a hero / full-slide image → full-bleed image + scrim rect + text, with ken-burns drift
- a sequence / flow / timeline → a line/
pathwith adash-marchloop, or morph a highlight through the steps - a headline number → big text +
fx:{countUp:true} - every cover / divider → at least one ambient motion
- repeated chrome / logo → keep its
idstable across slides so it morphs in place
الأسئلة الشائعة
هل أحتاج إلى تثبيت Bento أولاً؟
لا. تنص المهارة على أن التطبيق مضمّن في كل عرض، ويستطيع الوكيل تنزيله.
كيف يُخزّن محتوى العرض؟
يُخزّن محتوى العرض كـ JSON عادي في كتلة واحدة من الملف.
هل أستطيع تعديل العرض داخل التطبيق بدلاً من ذلك؟
نعم. تنص المهارة على أن المستخدم يستطيع نسخ JSON من التطبيق ولصق بديل مكانه.
التفاصيل
الوصف الأصلي من المؤلف
Create and edit Bento presentations — single-file .bento.html decks whose document is plain JSON in a "#bento-doc" script block. Use whenever the user wants a slide deck or presentation: starting from NOTHING (it downloads the latest Bento app from bento.page automatically), from source material, or by improving an existing .bento.html. Maps content to the right feature (charts, morph transitions, state slides, ken-burns, motion paths) instead of static text slides, then writes the document JSON in place. Full schema + recipes at https://bento.page/agents.md.
repo: nyblnet/bento
الشعبية
- نجوم GitHub
- 5.6k
- الترتيب
- #14757
- الترخيص
- MIT
- آخر تحديث
- 2/11/2026
التعليقات
- …
مهارات مشابهة
feishu-doc
394kيساعد وكيلك على قراءة مستندات Feishu السحابية وإنشائها وتعديلها، بما فيها النصوص والصور والجداول، باستخدام أداة المستندات.
feishu-drive
394kيتيح لوكيلك تصفح الملفات في مجلد سحابي على Feishu شاركته مع البوت، وتنظيمها، والتعليق عليها.
feishu-perm
394kيساعد وكيلك على معرفة من يستطيع الوصول إلى ملف Feishu وتغيير ذلك، مع اختيار أدنى صلاحية تلبي طلبك.