Logotipo de Prototype Previewer

Prototype Previewer

Comunidad
chocpink123
prototype-previewer

Creates a polished interactive web prototype previewer for new or existing products. Use when the user asks for an HTML prototype, a clickable multi-screen flow preview, a reviewable app mock, a screen-by-screen web prototype, or a Figma-ready capture page. Produces a three-panel reviewer with flow navigation, a device viewport, editable review notes, and an optional figma_capture_index.html derived from the interactive source.

Descripción general

Editorchocpink123
Repositorioprototype-previewer-skill
Nombre de la habilidadprototype-previewer
Estrellas
32
Forks
2
Archivos incluidos
6
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando una petición es realmente relevante.

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

  • 6 archivos incluidos

    Scripts, plantillas y referencias que el modelo puede leer mientras trabaja. Los archivos son de solo lectura y nunca se ejecutan.

  • Código abierto

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

Instalación

Instala la habilidad de IA Prototype Previewer 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/chocpink123/prototype-previewer-skill/tree/main/prototype-previewer
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → Desde 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/chocpink123/prototype-previewer-skill.git /tmp/prototype-previewer-skill
mkdir -p .claude/skills
cp -r /tmp/prototype-previewer-skill/prototype-previewer .claude/skills/prototype-previewer
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Prototype Previewer 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 es relevante, 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 Prototype Previewer 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 Prototype Previewer 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 relevante, 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á.

Prototype Previewer

Overview

This skill creates a reusable prototype review surface instead of a throwaway mock. The default output is a desktop review page with a left-side flow navigator, a center device or viewport preview, and a right-side review notes panel that stays synchronized with the active screen.

The same source material in this repo can also be reused in Cursor and Claude Code through the adapter files under adapters/.

Use this skill when the goal is fast product review, flow validation, or Figma handoff from a local web prototype.

Workflow

  1. Inspect the repo or brief before writing anything. Infer the product type, primary entry screen, major branches, detail pages, empty states, loading states, and any bottom-nav or tab structure. Every independent page or state counts as its own data-screen.

  2. Build or update index.html as the interactive reviewer. The default structure should be:

    • left: clickable flow list with short summaries
    • center: mobile device shell or browser viewport with stateful screens
    • right: editable review notes for the active screen
  3. Preserve the stable behavior recovered from prior sessions.

    • Use English for visible UI labels and review notes by default.
    • If another language is needed, require it explicitly in the prompt.
    • Interactions are local-only JavaScript. Do not depend on a backend.
    • Important states should be reviewable inside the preview itself: loading, empty vs filled, drill-down detail, tab switches, and one or two key CTA transitions.
    • The notes panel should auto-switch with the active screen and save edits to localStorage.
    • Resizable vertical dividers between columns are allowed and may be enabled by default.
  4. Build or update figma_capture_index.html when the prototype may be captured into Figma. That page should fetch /index.html, parse the source HTML, clone the preview device once per screen, disable motion, and render one static section per data-screen. Mark readiness with document.body.dataset.captureReady = "true".

  5. Validate before finishing.

    • Every screen block has data-screen and data-screen-label.
    • The interactive preview has a visible default entry state.
    • The PRD panel follows screen changes and the Save action persists.
    • The capture page can derive one section per screen from index.html.
    • If needed, run python3 scripts/check_previewer.py <project-root>.

Adaptation Rules

  • If the product is mobile-first, keep a phone shell by default.
  • If the product is desktop-first, replace the phone shell with a browser frame, but keep the same three-panel reviewer shell.
  • If the repo already has a previewer, extend it instead of replacing working patterns.
  • If copy is missing, prefer realistic placeholders over blocking on clarification.
  • If the repo is React, Next, or another framework, it is still acceptable to create a standalone index.html review surface for rapid iteration.

Load These Resources

Primary Files To Edit

When you want to change the behavior or look of the generated reviewer, edit these files first:

  • assets/index.template.html This is the main interactive reviewer template. Change layout, dividers, resizing behavior, panel widths, interactions, default screen list, and default notes here.
  • assets/figma_capture_index.template.html Change this when the Figma capture output should behave differently from the interactive reviewer.
  • SKILL.md Change this when you want the assistant to follow different rules, defaults, or workflows.
  • references/previewer-spec.md Change this when the stable contract should evolve.

Output Contract

The preferred baseline output is:

  • index.html
  • figma_capture_index.html

You may add small supporting files if the project truly needs them, but keep the default prototype reviewer self-contained and easy to hand off.

Archivos incluidos

El modelo los lee según los necesita mientras la habilidad está cargada. Se ofrecen como archivos de lectura y nunca se ejecutan.

Preguntas frecuentes

¿Qué hace la habilidad de IA Prototype Previewer?

Creates a polished interactive web prototype previewer for new or existing products. Use when the user asks for an HTML prototype, a clickable multi-screen flow preview, a reviewable app mock, a screen-by-screen web prototype, or a Figma-ready capture page. Produces a three-panel reviewer with flow navigation, a device viewport, editable review notes, and an optional figma_capture_index.html derived from the interactive source.

¿Por qué usar Prototype Previewer en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Prototype Previewer 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 Prototype Previewer en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/chocpink123/prototype-previewer-skill/tree/main/prototype-previewer. TypingMind lee su archivo SKILL.md, empaqueta sus archivos y la instala como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Prototype Previewer?

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 Prototype Previewer?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Prototype Previewer 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 Prototype Previewer?

Sí. chocpink123 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 todos

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 👇