ui-demo
Qué hace
Esta herramienta crea vídeos de demostración pulidos de aplicaciones web. Graba tu pantalla con un cursor visible y un ritmo natural, para que parezca una presentación profesional.
Cuándo usarla
- ✓Cuando pides un vídeo de demostración, una grabación de pantalla o un tutorial.
- ✓Cuando quieres mostrar visualmente cómo funciona una función o un flujo de trabajo.
- ✓Cuando necesitas un vídeo para la documentación o para presentárselo a otras personas.
Link de la skill
https://github.com/affaan-m/ECC/blob/main/skills/ui-demo/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Crea un vídeo que muestre cómo rellenar el formulario de solicitud de compra.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
Primero, la herramienta explora la página para entender los elementos (campos, botones). Luego ensaya los pasos sin grabar, para asegurarse de que todo funciona. Por último, graba el vídeo siguiendo una historia, con pausas naturales.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
UI Demo Video Recorder
Record polished demo videos of web applications using Playwright's video recording with an injected cursor overlay, natural pacing, and storytelling flow.
When to Use
- User asks for a "demo video", "screen recording", "walkthrough", or "tutorial"
- User wants to showcase a feature or workflow visually
- User needs a video for documentation, onboarding, or stakeholder presentation
Three-Phase Process
Every demo goes through three phases: Discover -> Rehearse -> Record. Never skip straight to recording.
Phase 1: Discover
Before writing any script, explore the target pages to understand what is actually there.
Why
You cannot script what you have not seen. Fields may be <input> not <textarea>, dropdowns may be custom components not <select>, and comment boxes may support @mentions or #tags. Assumptions break recordings silently.
How
Navigate to each page in the flow and dump its interactive elements:
// Run this for each page in the flow BEFORE writing the demo script
const fields = await page.evaluate(() => {
const els = [];
document.querySelectorAll('input, select, textarea, button, [contenteditable]').forEach(el => {
if (el.offsetParent !== null) {
els.push({
tag: el.tagName,
type: el.type || '',
name: el.name || '',
placeholder: el.placeholder || '',
text: el.textContent?.trim().substring(0, 40) || '',
contentEditable: el.contentEditable === 'true',
role: el.getAttribute('role') || '',
});
}
});
return els;
});
console.log(JSON.stringify(fields, null, 2));
What to look for
- Form fields: Are they
<select>,<input>, custom dropdowns, or comboboxes? - Select options: Dump option values AND text. Placeholders often have
value="0"orvalue=""which looks non-empty. UseArray.from(el.options).map(o => ({ value: o.value, text: o.text })). Skip options where text includes "Select" or value is"0". - Rich text: Does the comment box support
@mentions,#tags, markdown, or emoji? Check placeholder text. - Required fields: Which fields block form submission? Check
required,*in labels, and try submitting empty to see validation errors. - Dynamic content: Do fields appear after other fields are filled?
- Button labels: Exact text such as
"Submit","Submit Request", or"Send". - Table column headers: For table-driven modals, map each
input[type="number"]to its column header instead of assuming all numeric inputs mean the same thing.
Output
A field map for each page, used to write correct selectors in the script. Example:
/purchase-requests/new:
- Budget Code: <select> (first select on page, 4 options)
- Desired Delivery: <input type="date">
- Context: <textarea> (not input)
- BOM table: inline-editable cells with span.cursor-pointer -> input pattern
- Submit: <button> text="Submit"
/purchase-requests/N (detail):
- Comment: <input placeholder="Type a message..."> supports @user and #PR tags
- Send: <button> text="Send" (disabled until input has content)
Phase 2: Rehearse
Run through all steps without recording. Verify every selector resolves.
Why
Silent selector failures are the main reason demo recordings break. Rehearsal catches them before you waste a recording.
How
Use ensureVisible, a wrapper that logs and fails loudly:
async function ensureVisible(page, locator, label) {
const el = typeof locator === 'string' ? page.locator(locator).first() : locator;
const visible = await el.isVisible().catch(() => false);
if (!visible) {
const msg = `REHEARSAL FAIL: "${label}" not found - selector: ${typeof locator === 'string' ? locator : '(locator object)'}`;
console.error(msg);
const found = await page.evaluate(() => {
return Array.from(document.querySelectorAll('button, input, select, textarea, a'))
.filter(el => el.offsetParent !== null)
.map(el => `${el.tagName}[${el.type || ''}] "${el.textContent?.trim().substring(0, 30)}"`)
.join('\n ');
});
console.error(' Visible elements:\n ' + found);
return false;
}
console.log(`REHEARSAL OK: "${label}"`);
return true;
}
Rehearsal script structure
const steps = [
{ label: 'Login email field', selector: '#email' },
{ label: 'Login submit', selector: 'button[type="submit"]' },
…
Preguntas frecuentes
¿Qué es 'Playwright'?
Es una herramienta que permite automatizar acciones en navegadores web, como hacer clic en botones o rellenar formularios, para crear vídeos o pruebas.
¿Qué significa 'pulido'?
Significa que el vídeo tendrá un aspecto profesional, con un cursor visible y un ritmo que no es ni demasiado rápido ni demasiado lento.
¿Por qué ensayar antes de grabar?
Para asegurarse de que la herramienta encuentra correctamente todos los botones y campos con los que tiene que interactuar. Si algo falla durante el ensayo, es posible que el vídeo no se grabe bien.
Detalles
Descripción original del autor
Record polished UI demo videos using Playwright. Use when the user asks to create a demo, walkthrough, screen recording, or tutorial video of a web application. Produces WebM videos with visible cursor, natural pacing, and professional feel.
repo: affaan-m/ECC
Popularidad
- Estrellas en GitHub
- 280 mil
- Posición en el ranking
- #427
- Licencia
- MIT
- Actualizada
- 15/10/2026
Comentarios
- …
Más skills de este repositorio
accessibility
280 milAyuda a tu agente a crear interfaces accesibles para todos. Asegura que webs y apps funcionen bien para personas con discapacidad, como ciegas o con movilidad reducida.
agent-architecture-audit
280 milHace que tu agente compruebe que todo funciona bien. Encuentra y corrige problemas en sistemas de IA para que se comporten como se espera.
agent-eval
280 milAyuda a tu agente a comparar distintas herramientas de programación con IA. Mide cuál es más rápida, más barata y más fiable para tareas concretas.
agent-harness-construction
280 milHace que tu agente entienda mejor cómo realizar tareas. Optimiza las herramientas e instrucciones que usa para aumentar sus probabilidades de éxito.
Skills parecidas
ai-presenter-video
260 milConvierte un tema o un guion y una sola foto de presentador que tengas autorización para usar en un vídeo terminado con presentador parlante, narración y subtítulos.
brag-slim
260 milPermite que tu agente cree un vídeo corto de lanzamiento para un proyecto o una web, reutilizando la interfaz real, las tipografías y los recursos, con música y sonido.
kanban-video-orchestrator
260 milPlanifica un proyecto de vídeo como un equipo de agentes de IA, cada uno de los cuales se encarga de una parte como escenas, música o montaje, desde un teaser corto hasta una historia más larga.