Communitygithub.com

josueh04/product-video-skills

Entrevista al usuario sobre un producto, luego crea products/<slug>/ con su propio historial git, un product.yaml completo y skills vinculados, obtiene sus fuentes y construye su kit. Ejecutar solo cuando el usuario escriba /product-new.

¿Qué es product-video-skills?

Esta skill guía al usuario a través de una entrevista estructurada sobre un producto para crear un nuevo directorio de producto en el workbench. Primero realiza una entrevista para recopilar información clave (nombre, posicionamiento, fuentes, reparto ficticio, términos prohibidos) y evitar iteraciones costosas posteriores. Luego escribe automáticamente una carpeta products/<slug>/ con su propio historial git, un archivo product.yaml completo y los skills vinculados. Finalmente invoca dos skills basados en modelo: source-recon para obtener las fuentes del producto y product-kit para extraer tokens, fuentes, iconos, logos y nombres. Está diseñada para Claude Code y plataformas similares, y se ejecuta solo cuando el usuario escribe /product-new. La skill maneja casos como argumentos --from para basarse en ejemplos existentes, y garantiza que nunca sobrescribe productos existentes ni almacena credenciales.

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

Preguntar en tu IA favorita

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

Documentación

/product-new

Crea una carpeta de producto en el workbench: una entrevista breve, un script que escribe la carpeta, luego las dos skills invocadas por modelo que la completan (source-recon obtiene el código, product-kit extrae tokens, fuentes, iconos, logos, reparto y nombres).

Por qué una entrevista antes de cualquier otra cosa: en la producción de donde provienen estas skills, el reparto, los nombres de producto y el posicionamiento llegaron una revisión a la vez, y cada una forzó una regeneración. Cada respuesta recopilada aquí es una ronda de revisión que no ocurre después.

Antes de empezar

Resuelve el workbench desde la ruta real de esta skill (funciona desde el workbench y desde una carpeta de producto):

PVS_HOME="$(cd "$(cd "${CLAUDE_SKILL_DIR}" && pwd -P)/../.." && pwd)"

Verifica el slug desde los argumentos: de 2 a 40 letras minúsculas, dígitos o guiones, comenzando con una letra. Si $PVS_HOME/products/<slug> ya existe, detente e indícalo: nunca sobrescribas un producto, tiene su propio historial y probablemente briefs firmados. Si el usuario pasó --from examples/acme (u otra carpeta), la entrevista solo necesita lo que difiere de ella.

Informa al usuario, una vez, antes de conectar cualquier repositorio: Claude lee el código del producto, lo que significa que se envía al modelo como contexto. Deben asegurarse de que su empresa lo permita.

1. Entrevista

Pregunta en grupos pequeños (dos o tres preguntas por mensaje), en el idioma del usuario. Propón un valor predeterminado para cualquier cosa que puedas inferir, para que el usuario principalmente confirme. La lista completa de preguntas con la razón detrás de cada una está en references/interview.md; léela antes de preguntar.

  1. El producto: su nombre, qué es en una frase (el posicionamiento), para quién es.
  2. Frases prohibidas: descripciones que el equipo rechaza, incluso si un documento de la empresa las usa.
  3. Fuentes: para cada una (frontend, backend, diseño, docs), una URL de git o una ruta local, la rama que está en producción, el directorio de la aplicación y el framework (angular-primeng, react, vue, svelte, html, other). Pregunta qué rama está realmente desplegada: un checkout desactualizado costó tiempo real en la producción original.
  4. Documentación: URLs, rutas de repositorio o mcp:<nombre> (solo lectura).
  5. Marca: solo si no está en el frontend (archivos de logotipo y fuente). De lo contrario, product-kit lo encuentra.
  6. Reparto ficticio: propón una empresa y dos o tres personas con nombres completos, un teléfono 555 y un correo electrónico en un dominio example/.test. Ofrécelo para veto en una pregunta cerrada con tu propuesta como valor predeterminado. Los revisores reaccionan fuertemente a nombres sospechosos o con sonido real, y una persona cuyo apellido cambia entre videos es un error que se envía.
  7. Nombres y pronunciaciones: los nombres canónicos, las cadenas heredadas que la UI en vivo aún puede mostrar, y cómo se pronuncian las palabras de la marca.
  8. Términos prohibidos: competidores, proveedores, clientes reales, cualquier cosa que nunca deba verse u oírse.
  9. Revisor: quién firma la matriz de cobertura y la hoja de afirmaciones de cada video.

Nunca pidas un token, una contraseña o una clave SSH, ni ofrezcas almacenar uno. Las fuentes se obtienen con el acceso git que la máquina ya tiene. Si una URL contiene credenciales (https://user:token@...), pide al usuario que las elimine; el script las rechaza de todos modos.

2. Escribir la carpeta

Escribe las respuestas en un archivo temporal con forma de product.yaml (cualquier subconjunto; ver references/answers.example.json), fuera del repositorio, luego ejecuta:

"$PVS_HOME/bin/pvs-py" "$PVS_HOME/skills/product-new/scripts/new_product.py" <slug> \
  --answers <scratch>/answers.json [--from examples/acme]

El script copia _template/product y luego la carpeta --from sobre ella (por lo que un ejemplo que carece de un archivo, como kit/RULES.md, aún obtiene el de la plantilla), fusiona las respuestas en product.yaml línea por línea (los comentarios de la plantilla son la documentación del usuario, por lo que se mantienen), escribe CLAUDE.md y .gitignore cuando la plantilla no tiene ninguno, ejecuta scripts/link-skills.sh para que cd products/<slug> && claude vea las mismas skills, y hace un primer commit de git. Rechaza un slug existente, credenciales en una URL, y correos electrónicos o teléfonos del reparto que no sean obviamente ficticios. Si falla, corrige la respuesta que nombra y ejecútalo de nuevo; no crees la carpeta manualmente.

Si imprime "still to fill in product.yaml" (aún por completar en product.yaml), esos son marcadores de posición de la plantilla que la entrevista no cubrió. Pregunta sobre ellos, o indica al usuario cuáles quedan.

3. Completarlo

Llama a estas skills invocadas por modelo a través de la herramienta Skill, en este orden:

  1. source-recon, para obtener cada fuente en products/<slug>/sources/ y fijarla en sources.lock. Si una obtención falla por acceso, informa el error exacto de git y detente: el usuario arregla el acceso en su máquina, nunca dándote una credencial.
  2. product-kit, para extraer kit/tokens.css, fuentes, iconos, logotipos, y para escribir el reparto, nombres y pronunciaciones en el kit y kit/RULES.md.

Ambas escriben solo dentro de la carpeta del producto. Nunca edites nada en sources/.

4. Informe

Una tabla breve, luego el siguiente comando:

ElementoValor
Carpetaproducts/<slug>/ (git: primer commit o por qué no)
Fuentesrol, rama, commit de sources.lock
Kitlo que product-kit extrajo, y lo que no pudo encontrar
Repartolos nombres congelados, para un último veto
Abiertomarcadores de posición aún en product.yaml, cualquier cosa no verificada

Siguiente: cd products/<slug> && claude, luego /video-new <video>.

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

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

Coordinate the build of one or more signed videos of the current product with subagents (source recon, product truth, UI specs, voice, one builder per video), re-run QA itself, then deliver. A light coordinator that never builds itself. Run only when the user types /video-build.

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