Логотип 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, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Усе необхідне — в інструкціях

    Усе потрібне моделі міститься в інструкціях — жодних додаткових файлів для синхронізації.

  • Відкритий вихідний код

    Видавець на GitHub: howznguyen. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Sk Scene у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/howznguyen/shorts-kit/tree/main/.claude/skills/sk-scene
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
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?

Зі скількома забажаєте. У TypingMind ви можете використовувати Sk Scene із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Sk Scene?

Так. На GitHub цю навичку публікує howznguyen за ліцензією MIT. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇