Communitygithub.com

josueh04/product-video-skills

Coordina la creación de uno o más videos firmados del producto actual mediante subagentes (reconocimiento de fuentes, verdad del producto, especificaciones de UI, voz, un constructor por video), re-ejecuta QA por sí mismo y luego entrega. Un coordinador ligero que nunca construye. Se ejecuta solo cuando el usuario escribe /video-build.

¿Qué es product-video-skills?

Esta habilidad transforma al agente principal en un coordinador que orquesta la producción de videos de producto mediante subagentes especializados, en lugar de hacerlo todo internamente. El flujo está dividido en oleadas secuenciales: reconocimiento de fuentes, establecimiento de la verdad del producto, especificaciones de UI, generación de voz, composición y renderizado, QA propio y entrega. Cada etapa es verificada por archivos antes de avanzar, y el coordinador realiza su propio QA independiente, detectando problemas que los subagentes reportan como "limpios". Está diseñado para soportar múltiples videos en paralelo y reanudar construcciones interrumpidas. Es compatible con plataformas como Claude Code y utiliza el Agent tool para desplegar subagentes en segundo plano. La principal innovación es que el coordinador nunca construye ni escribe código de composición, lo que evita la saturación del contexto y permite iteraciones rápidas (tres correcciones en 70 minutos en producción). La barrera de entrada es un gate de calidad que verifica firmas en el brief, evitando el costoso retrabajo de construir sobre requisitos no aprobados.

Compatible con✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/josueh04/product-video-skills/tree/HEAD/skills/video-build

Preguntar en tu IA favorita

Abre un nuevo chat con esta habilidad de agente ya precargada.

Documentación

/video-build

Eres el coordinador. Verificas la puerta de entrada, despachas subagentes etapa por etapa, verificas cada etapa por sus archivos, re-ejecutas QA tú mismo, entregas e informas. No escribes código de composición, especificaciones ni narración, y no renderizas.

Por qué la división: en la producción de la que provienen estas habilidades, mientras el agente principal construía videos él mismo, su contexto se llenaba 8 veces, una vez en medio de una corrección. Cuando solo coordinaba (consolidando, escribiendo briefs, revisando evidencia, entregando), tres correcciones se enviaron en 70 minutos. La coordinación es también donde reside la puerta de calidad: los subagentes reportaban renders "limpios" que el propio QA del coordinador luego detectaba con un destello de 0,3 s y un modal recortado.

0. Encontrar el trabajo

PVS_HOME="$(cd "$(cd "${CLAUDE_SKILL_DIR}" && pwd -P)/../.." && pwd)"
PY="$PVS_HOME/bin/pvs-py"; S="$PVS_HOME/skills/video-build/scripts"   # entrecomillar ambos al usarlos
  • Con <video>: videos/<video>/ en el producto actual.
  • Sin él: la carpeta de video en la que estás, o si no, cada video del producto cuyas hojas están firmadas y cuya versión actual no tiene entrega. Muestra esa lista y confírmala en una pregunta cerrada antes de despachar nada.

Ejecuta "$PY" "$S/stages.py" <video_dir> para cada video y muestra la tabla. Las etapas que ya están hechas se omiten, por lo que /video-build puede reanudar una construcción que se detuvo a la mitad.

1. La puerta de entrada

"$PY" "$S/stages.py" <video_dir> --require signoff. Si alguna de las firmas en BRIEF.md está vacía, detente y dile al usuario qué falta y cómo firmar (el revisor escribe su nombre, o te dice que ejecutes sign.py desde /video-new). Esta es la verificación que evita que comience una construcción con el tipo de retrabajo más costoso (una característica que el revisor quería explicada y nadie escribió).

--draft es la única excepción, y solo cuando el usuario lo escribió: se puede construir un borrador, renderizar y verificar con QA para que el revisor vea algo antes de firmar, pero deliver.py lo rechaza. Dilo en el informe.

También lee tú mismo product.yaml, kit/RULES.md, BRIEF.md, COVERAGE.md y CLAIMS.md: los necesitas para escribir los prompts de los subagentes y para juzgar sus resultados. No leas nada más en profundidad.

2. Despachar

Usa la herramienta Agent con subagentes en segundo plano. Los prompts para cada etapa están en references/stage-prompts.md y el prompt del constructor es references/builder-prompt.md; léelos antes del primer despacho y completa cada marcador de posición. Después de que cada subagente informe, ejecuta "$PY" "$S/stages.py" <video_dir> --require <stage> antes de iniciar cualquier cosa que dependa de ello.

OleadaEtapaSubagentesNecesitaEscribe
1recon1 por video, source-reconsignoffsources.lock, SOURCES.md
2truth1 por video, product-truthreconTRUTH.md
2specs1 por pantalla, ui-spec-from-code (o ui-reference-capture para pantallas sin código)reconspecs/<screen>.md
3voice1 por video, script-and-voicetruthaudio/lines.tsv, clips/, timings.json
4compose + render1 constructor por video, ui-demo-composer + seek-safe-motionspecs, voicevideo/, renders/<video>-v<N>.mp4
5qatúrenderqa/REPORT.json
6delivertúqadeliveries/

Las oleadas se ejecutan en paralelo entre videos y dentro de una oleada (truth y las especificaciones de cada pantalla salen juntas). Varios videos comparten una máquina: di en cada prompt que ningún agente mata un proceso que no inició y que los renders pueden ser más lentos mientras otros se ejecutan.

Antes de la oleada 3 en la versión 1, si el proveedor de voz es de pago, muéstrale al usuario el plan de narración en un mensaje: la tabla de capítulos, el eslogan, la voz, como máximo tres decisiones cerradas con valores predeterminados. Grabar narración consume una cuota compartida, y un tono o un nombre que al revisor no le guste es más barato cambiarlo antes de grabarlo. Si el usuario ya dijo que siga directo, omite esto y enumera las opciones para veto en el informe final.

Mientras los subagentes se ejecutan, no los molestes con mensajes. Verifica el progreso a través de los archivos (horas de modificación, $STAGES, el final de un registro de render) y responde a sus preguntas cuando las envíen. Las aprobaciones van hacia el usuario, las decisiones vuelven: si un subagente pide algo que solo el usuario puede permitir (una descarga, una nueva fuente de activos), pregúntale al usuario una pregunta cerrada y transmite la respuesta.

Si un subagente deja de responder, inicia uno nuevo con el mismo prompt más "el agente anterior se detuvo en ; continúa desde los archivos". El estado vive en los archivos, no en los agentes.

3. Tu propio QA, independientemente de lo que haya reportado el constructor

"$PVS_HOME/bin/pvs-py" "$PVS_HOME/skills/render-qa/scripts/qa.py" <video_dir> <mp4> \
  --strip <nombre>:<t0>:<t1> ...

Carga la habilidad render-qa para saber cómo leer el resultado. Añade un strip alrededor de cada título de capítulo, cada modal y la pantalla final para verificar la entrega (tiempos de la tabla de capítulos del constructor). Luego mira tú mismo qa/REPORT.md, cada hoja de contacto y cada strip. Verifica la narración contra COVERAGE.md: cada fila "sí" debe explicarse en su capítulo.

Si algo falla, envía el problema exacto de vuelta al constructor (SendMessage mientras esté vivo, el formato de corrección condensado en references/stage-prompts.md), o, si ya no está, inicia un reparador con el prompt en $PVS_HOME/skills/video-review/references/fix-prompt.md (lee el archivo; no invoques esa habilidad, la invoca el usuario). Vuelve a ejecutar este paso en el nuevo render. Nunca entregues un render que no hayas verificado tú mismo con QA.

4. Entregar

"$PVS_HOME/bin/pvs-py" "$PVS_HOME/skills/render-qa/scripts/deliver.py" <video_dir> <mp4> --archive-previous

Rechaza un borrador, un informe fallido o un informe cuyo sha256 no coincida con el archivo. No trabajes alrededor de un rechazo: corrige la causa. Nunca sobrescribas un archivo entregado; deliver.py incrementa el nombre en su lugar y advierte, y tú lo dices.

5. Informar

Una tabla para todo el lote, luego como máximo tres decisiones cerradas:

VideoVersiónDuraciónCapítulosCobertura explicadaQAEntregado como

Debajo de ella: qué es real y qué es asumido, cualquier cosa no verificada, los nombres, voces y eslogan para veto, y el siguiente paso (/video-review con las notas del revisor). Escribe en el idioma del usuario, breve, tablas primero.

Cuándo leer las referencias

  • references/stage-prompts.md: antes de despachar las oleadas 1 a 3, y para cualquier solicitud de corrección.
  • references/builder-prompt.md: antes de despachar la oleada 4.

Individual skills in this repo

This repo contains 14 individual skills — each has its own dedicated page.

josueh04/product-video-skills

Extract, once per product, everything every video of it reuses and write it to kit/ and product.yaml (design tokens, font subsets as woff2, icon subsets as SVG from the product's own icon packages, logos in light, dark and app-tile variants from the repo, a fictional cast proposed once for veto and then frozen, the canonical-names map, pronunciations, banned terms and the read-only tool list). Use it when a product is set up or its kit is missing or incomplete, when a video needs an icon, font or logo that is not in kit/ yet, when someone asks for demo names, fake customers, phone numbers or emails, when a brand word is mispronounced or an old product name shows up, and when checking that demo data is fictional.

josueh04/product-video-skills

Interview the user about a product, then create products/<slug>/ with its own git history, a filled product.yaml and linked skills, fetch its sources and build its kit. Run only when the user types /product-new.

josueh04/product-video-skills

Back every sentence of a video's narration (audio/lines.tsv) and every screen it shows with a citation into the pinned source code (role/path:line@sha) or a docs URL, mark what is visible in the UI versus backend-only, flag restricted or unreleased features, and cut or rewrite anything unbacked; writes the video's TRUTH.md and checks it with truth_check.py. Use it whenever a script or narration is drafted or edited, before voice is generated, before a build, when someone asks "can we say this?", "is this true?", "does the product really do X?", when a reviewer asks for a feature or a claim the product may not support, and when a source document (pitch deck, PRD, marketing page) makes claims the video wants to repeat.

josueh04/product-video-skills

Check a rendered product video before anyone else sees it: worker-pattern flicker, black frames, loudness and true peak, clipping, clicks at clip edges, overlapping narration, speech to text against the script, banned terms and legacy names, camera zoom, contact sheets, frame strips at transitions and parity against the approved version; then write qa/REPORT.json, the only thing deliver.py accepts. Use it after every HyperFrames render, whenever someone asks "is the render clean", "QA this", "check the video", "check the audio", "why does it flicker", "there is a click", "compare v3 with v2", "did the approved part change", or before showing, sending, uploading or delivering any MP4, even when the request does not say QA. Also use it to triage a defect a reviewer reported in a render.

josueh04/product-video-skills

Write a product video's narration and turn it into voice clips with word timings, pronunciation fixes, sound effects and even loudness. The script becomes a table of moments and then audio/lines.tsv (one clip per sentence, with role and speed columns); tts.py voices it with ElevenLabs or the free macOS say voice, maps brand respellings back to the on-screen spelling, normalizes every clip and writes audio/timings.json for the composer; make_sfx.py builds typing tracks from real keystrokes and places recorded click and pop sounds. Use it whenever a video needs a script, narration, voice-over, lines.tsv, timings.json, TTS, a new take, a voice or casting choice, a pronunciation fix ("it says the name wrong"), a changed sentence, a tone note ("too hype", "sounds cut off"), audio levels, a click at the end of a clip, typing or click sounds, or when the build stage asks for the voice. Also use it for silent loops, which still need a moment table and SFX.

josueh04/product-video-skills

The animation rules that keep HyperFrames' parallel render workers from dropping, flashing or flickering elements, plus a static lint (lint_motion.py) that finds the violations in a video's template before it costs a render. Use it whenever you write or edit GSAP tweens, timelines, cursors, camera moves, typing, scrolls or pop-ups in a HyperFrames composition or a video's src/template.tpl, whenever a render shows flicker, stutter, an element that vanishes on some frames, a title that flashes, or a "WORKER PATTERN" line from scan_render.py or qa.py, and whenever the preview looks right but the MP4 does not. Also use it to review someone else's timeline code before rendering.

josueh04/product-video-skills

Pin a product's source code (read-only exports in sources/ plus sources.lock), confirm that the pinned commit is what runs in production, and map every screen of a video brief to its route, components, i18n strings and state, written to the video's SOURCES.md. Use it whenever a video needs to know where a screen lives in the code, when sources/ is missing or stale, before ui-spec-from-code or product-truth start on a video, after the product's frontend changed ("what changed", "which videos are affected", "refresh the sources", "is this checkout current", "which commit is in prod"), and when there is no code and you need an inventory of the no-code references (recordings, recovered captures, docs) a screen can be rebuilt from.

josueh04/product-video-skills

Compose a narrated product demo in HyperFrames: the stage (the product UI rebuilt at its real viewport and scaled to 1080p, camera, rack focus with veil, chapter titles, cursor and clicks, typing, streaming text, pop-ups, toasts, scrolls, end screen and lockup) and the build.py that anchors every beat to a word of the narration. Use it whenever you write or edit a video's video/build.py, src/template.tpl or src/app.css, place a beat on a word, add a chapter, a click, a pop-up or a push-in, frame a screen, build the end screen or lockup, snapshot setup beats, or render a draft or delivery MP4 of a product video in this workbench. Also use it when someone says "the cursor is off", "too zoomed in", "too fast", "it feels chaotic", "the title flashes", "sync the UI to the voice", or asks for a walkthrough, demo or pitch video of a UI.

josueh04/product-video-skills

Gather pixel references for UI that the code cannot show, or to check a rebuild against the real thing, using frames and timed OCR text from screen recordings, captures recovered from past Claude Code session transcripts, a local instance of the app built like production, and web research for third-party apps, plus side-by-side parity images and contact sheets. Use it whenever someone hands over a screen recording (.mov or .mp4) of the product, when a screen has no usable source code (a stale checkout, another company's UI such as a sign-in page, calendar or CRM, runtime output from a backend not in the repos), when asked "what does it really look like", "match the recording", "how long does that animation take in the app", "compare our render to the real app", or when screenshots from an earlier session might already exist. Never uses the reviewer's personal browser.

josueh04/product-video-skills

Turn a product's real frontend code into 1:1 rebuild specs for a video, one read-only subagent per screen, each returning static HTML, CSS with every variable resolved to its literal value and cited (role/path:line@sha), every state, transitions with exact durations and easings, icons from the code's own icon sets, and the exact i18n strings; plus resolve_tokens.py to write the product's design tokens to kit/tokens.css. Use it whenever a screen of the product has to appear in a video, when writing or fixing video/src/app.css or the template markup, when someone asks for exact sizes, colors, fonts, paddings, animations or icons of a screen, when a rebuilt screen "looks off" next to the real app, and when the design tokens or theme of a product need extracting. Framework adapters cover Angular with PrimeNG (proven), React, Vue, Tailwind and plain HTML (unproven).

josueh04/product-video-skills

Say where this session stands in the Product Video Skills workbench (setup state, which product and video the current folder belongs to, the stage of every video) and the exact next command to type. Also answers "how do I..." questions about the workbench from its docs.

josueh04/product-video-skills

Start a new video of the current product - create videos/<video>/, write BRIEF.md, the feature coverage matrix (COVERAGE.md) and the claims sheet (CLAIMS.md), propose chapters, then stop for the reviewer's sign-off. Never builds. Run only when the user types /video-new.

josueh04/product-video-skills

Turn a batch of reviewer feedback on the product's videos into one table per video, fix every video that got notes in parallel (one subagent each) while keeping approved parts, re-run QA and parity, bump versions and deliver. Run only when the user types /video-review.

josueh04/product-video-skills

Check this machine and install the pinned video toolchain of the Product Video Skills workbench (HyperFrames CLI, its rendering Chrome and its agent skills from the same release, the Python environment, the speech model for QA), then run the self-check. Safe to run again. `/video-setup check` only reports.

Skills relacionados