شعار Sk Scene

Sk Scene

المجتمع
howznguyen
sk-scene

Builds and fixes the visuals of a short in Remotion inside its own folder src/videos/<id>/, using shared components from src/shared/, keeping text inside the platform safe zones, and reviewing rendered stills before claiming anything is done. Use when the user says "build the scenes", "make this shot", "the text is cut off", "move the caption", "add motion", "change the colours or font", "open the studio", "render a still", or "check the layout". Steps 8 and 9 of sk-pipeline.

نظرة عامة

الناشرhowznguyen
المستودعshorts-kit
اسم المهارةsk-scene
النجوم
127
التفريعات
51
الملفات المرفقة
تعليمات فقط
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

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

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

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

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

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

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

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

التثبيت

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

1

التثبيت في TypingMind

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

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/howznguyen/shorts-kit/tree/main/.claude/skills/sk-scene
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/howznguyen/shorts-kit.git /tmp/shorts-kit
mkdir -p .claude/skills
cp -r /tmp/shorts-kit/.claude/skills/sk-scene .claude/skills/sk-scene
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

sk-scene: build the picture, then look at it

Announce: "Using sk-scene for ."

Rules: §5 (docs/soul/03-visuals.md) and the files in docs/visuals/ for each type in visual, §6 colour and type, §7 safe zones and captions (docs/soul/05-caption.md), §12 motion (docs/soul/09-motion.md), §13 files. The § wins over this file.

Layout

src/videos/<id>/  entry.tsx  <Name>.tsx  scenes.tsx  Cover.tsx  timing.ts  narration.json  voice.json
src/shared/       theme.ts font.ts timings.ts
                  frame/ (ShortsTemplate, SafeZones, SafeCheck, Watermark, Backdrop)
                  caption/ (Captions, TypeStage)  audio/ (BackgroundMusic, Sfx)  motion/ (anim)

Each video has its own entry.tsx with its own registerRoot, so a half-built video never breaks another video's bundle. A video never imports another video. Something two videos need goes to src/shared/<kind>/, written against theme.ts and the safe zones, not copied between folders.

The canvas is per video (video.json → format). Read size and safe area from useFormat() / safeFor() in src/shared/format.ts; W and H in theme.ts are the portrait defaults only. Landscape promos: docs/promo/README.md.

Steps

  1. Storyboard first, approved before code. After bun run tts, run bun run storyboard <id> --init and fill in every shot: camera, onScreen, text, transition, sfx, anchored to the word that names the change. Show it to the user (preview, Storyboard tab) and wait for approval; set those shots to approved. Build only approved shots, mark each built after you have looked at its still, and change the storyboard before the scene when the plan changes. After any change to the words (script edit, bun run tts, bun run cut), run bun run storyboard <id> --sync: shots whose line changed go back to planned and need the user's approval again before their scenes change. Schema and rules: docs/storyboard.md.
  2. Check src/shared/ before writing a component. It already handles the 9:16 frame, theme and safe zones. For interface components (cards, tags, code, chat, agent UI, product flows, backgrounds) take them from Knowns UI, in its own tokens, instead of drawing new ones (§5; recipe in docs/promo/real-ui.md). Other borrowed code is rewritten against theme.ts, with its source and licence in a comment. Avoid runtime dependencies that fetch data while rendering: a re-render must produce the same file.
  3. Time from the voice, never by hand. Use src/shared/timings.ts: sceneTimings(voice, fps, outroHold), totalFrames(voice, fps, outroHold), wordsInScene(...), wordAt(voice, t). Anchor a shot to the word that names it with frameAtWord(voice, fps, sceneId, word, nth?), so the picture shows what is being said; it throws at build time if the word is gone from the script.
  4. Maps and globe (visual satellite-map / globe). List camera shots in src/videos/<id>/map.json, then bun run satellite <id> (imagery, one mosaic per scale) and bun run geo <id> (coasts, borders, rivers). Draw with SatelliteMap, VectorLayer, Route, Pin/Measure from src/shared/map/; Vietnam has a ready VietnamMap with the archipelagos. For the planet, Globe, GlobeLine and GlobeReveal (pull out from a scene to Earth). Rules: docs/visuals/satellite-map.md, docs/visuals/globe.md. Distances on frame come from distanceKm, not from a quote.
  5. Build in the studio: bun run dev <id>.
  6. Two motion rules (§12): no shot stands still while the voice is speaking, and no shot is empty. On-frame text is a fact the ear cannot catch (a number, a name), never a copy of the caption, and at most onFrameTextMaxSceneShare of scenes.
  7. Keep Watermark (if used) after the <Sequence> blocks so it renders on top. Sound effects (optional): 2–3 per video, each cued to a word with frameAtWord(voice, FPS, scene, word) and passed as sfx={...} to ShortsTemplate. Only where the facts are already funny or sharp, never on a sentence or a death toll. Ids, rules and cases: docs/shots/sfx/ (one card per effect).
  8. Type-check and boundaries: bun run check.
  9. Still-first review. Before any full render:
    bash
    bun run still <id> --frame=<N>     # → out/<id>/still-<N>.png
    Pick frames where something is hard: the densest text, the first frame of each scene, the moment a number appears, the last frame. Render with the SafeCheck overlay on (§7) so the three unsafe edges are drawn over the frame.
  10. Open every still and look at it. A static check passing is not the frame being right: text clipped by a parent's width, a caption under the platform's buttons, a number covered by the like column only show up in pixels. Do not say a scene is done until you have opened its still.

Verify

  • no import from another src/videos/* folder; bun run check clean
  • every visual type in visual has had its docs/visuals/ file read
  • stills rendered for the hard frames, opened, safe-zone overlay clear
  • no static shot under speech, no empty shot
  • probe and test images stay out of the hand-off set (§13)

Next: sk-render.

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

ماذا تفعل مهارة الذكاء الاصطناعي Sk Scene؟

Builds and fixes the visuals of a short in Remotion inside its own folder src/videos/<id>/, using shared components from src/shared/, keeping text inside the platform safe zones, and reviewing rendered stills before claiming anything is done. Use when the user says "build the scenes", "make this shot", "the text is cut off", "move the caption", "add motion", "change the colours or font", "open the studio", "render a still", or "check the layout". Steps 8 and 9 of sk-pipeline.

لماذا تستخدم Sk Scene على TypingMind؟

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

كيف أثبّت Sk Scene في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/howznguyen/shorts-kit/tree/main/.claude/skills/sk-scene. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Sk Scene؟

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

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Sk Scene؟

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

هل مهارة الذكاء الاصطناعي Sk Scene مجانية؟

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

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

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

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

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

عرض الكل

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

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