Logotipo de Sk Scene

Sk Scene

Comunidad
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.

Descripción general

Editorhowznguyen
Repositorioshorts-kit
Nombre de la habilidadsk-scene
Estrellas
127
Forks
51
Archivos incluidos
Solo instrucciones
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Todo en las instrucciones

    Todo lo que necesita el modelo está en las instrucciones: no hay archivos adicionales que sincronizar.

  • Código abierto

    Publicada por howznguyen en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Sk Scene en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/howznguyen/shorts-kit/tree/main/.claude/skills/sk-scene
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

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
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Sk Scene en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Sk Scene automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Sk Scene no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

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.

Preguntas frecuentes

¿Qué hace la habilidad de IA 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.

¿Por qué usar Sk Scene en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Sk Scene está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Sk Scene en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/howznguyen/shorts-kit/tree/main/.claude/skills/sk-scene. TypingMind lee el archivo SKILL.md de esa carpeta e instala su contenido como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Sk Scene?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Sk Scene?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Sk Scene con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Sk Scene?

Sí. howznguyen la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇