Logo de Prototype Previewer

Prototype Previewer

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

Visão geral

Publicado porchocpink123
Repositórioprototype-previewer-skill
Nome da habilidadeprototype-previewer
Estrelas
32
Forks
2
Arquivos incluídos
6
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    Habilidades de IA são Markdown simples, não código específico de um provedor, por isso funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • 6 arquivos incluídos

    Scripts, modelos de documentos e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente leitura e nunca são executados.

  • Código aberto

    Publicada por chocpink123 no GitHub. Leia o conteúdo-fonte antes de instalar.

Instalação

Instale a habilidade de IA Prototype Previewer no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL da pasta da habilidade exibida abaixo e confirme.
    https://github.com/chocpink123/prototype-previewer-skill/tree/main/prototype-previewer
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Nova habilidade → Via URL GitHub, depois cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse 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
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Prototype Previewer em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Prototype Previewer automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Prototype Previewer não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu 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.

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Prototype Previewer faz?

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 que usar Prototype Previewer no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. Prototype Previewer é escrito em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. O TypingMind usa suas próprias chaves de API, então o pagamento é feito diretamente aos provedores, em vez de uma assinatura por licença de usuário, e suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Prototype Previewer no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/chocpink123/prototype-previewer-skill/tree/main/prototype-previewer. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Prototype Previewer?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Prototype Previewer?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Prototype Previewer com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Prototype Previewer é gratuita?

Sim. A habilidade é publicada no GitHub por chocpink123 sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, modelos de documento ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas para chamar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA fornece conhecimento e um processo ao modelo: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver todos

Crie seu próprio espaço de IA agora

Inscreva-se na nossa newsletter para receber novidades sobre recursos e futuros sorteios 👇