Логотип 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 и локальными моделями.

  • Всё необходимое — в инструкциях

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

  • Открытый исходный код

    Издатель навыка на GitHub — howznguyen. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Sk Scene в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать 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?

С любым количеством. В TypingMind вы можете использовать Sk Scene с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Sk Scene?

Да. Навык опубликован на GitHub по лицензии MIT. Издатель — howznguyen. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇