Логотип Prototype Previewer

Prototype Previewer

Спільнота
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.

Огляд

Видавецьchocpink123
Репозиторійprototype-previewer-skill
Назва навичкиprototype-previewer
Зірки
32
Форки
2
Файли в пакеті
6
ЛіцензіяMIT
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 6

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Опубліковано на GitHub користувачем chocpink123. Перегляньте вихідний вміст перед установленням.

Встановлення

Установіть навичку ШІ Prototype Previewer у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до Плагіни → Навички.
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/chocpink123/prototype-previewer-skill/tree/main/prototype-previewer
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Нова навичка → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

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
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Prototype Previewer в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Prototype Previewer, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції Markdown, а не код для певного постачальника, тому навичка Prototype Previewer не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож невикористана навичка нічого не коштує.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

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.

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ 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.

Навіщо використовувати Prototype Previewer у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Prototype Previewer — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Prototype Previewer у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/chocpink123/prototype-previewer-skill/tree/main/prototype-previewer. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Prototype Previewer?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Prototype Previewer?

Зі скількома забажаєте. Якщо модель підтримує навички, ви можете використовувати з нею Prototype Previewer — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama та інші — усе в TypingMind із власними ключами API.

Чи безкоштовна навичка ШІ Prototype Previewer?

Так. Навичку опубліковано на GitHub: chocpink123, за ліцензією MIT. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це багаторазовий набір інструкцій, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти для виклику — код, який десь виконується й повертає результат. Натомість навичка ШІ надає моделі знання та порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний ШІ-простір уже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇