Логотип Dryui Live Feedback

Dryui Live Feedback

Спільнота
rob-balfre
dryui-live-feedback

Open the DryUI app for visual feedback, wait for the user to annotate the page, then act on each submission via the dryui-feedback skill. Use when the user asks for live feedback, visual feedback, or to iterate on UI by drawing on it.

Add to TypingMind

Огляд

Видавецьrob-balfre
Репозиторійdryui
Назва навичкиdryui-live-feedback
Зірки
9
Форки
0
Файли в пакеті
Лише інструкції
ЛіцензіяMIT
Посилання
  • Інструкції у форматі Markdown

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

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

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

  • Усе необхідне — в інструкціях

    Усе потрібне моделі міститься в інструкціях — жодних додаткових файлів для синхронізації.

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

    Видавець на GitHub: rob-balfre. Перед установленням перегляньте вихідні файли навички.

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

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

1

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

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

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

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/rob-balfre/dryui.git /tmp/dryui
mkdir -p .claude/skills
cp -r /tmp/dryui/skills/dryui-live-feedback .claude/skills/dryui-live-feedback
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

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

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

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

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

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

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

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

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

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

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

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

Feedback

Orchestrates the visual feedback loop: ensure servers are running, open the app, wait for the user to draw annotations, then act on them.

1. Ensure the Feedback Server Is Running

Check the health endpoint:

bash
curl -s http://localhost:4748/health

If it returns {"status":"ok"}, the server is already running. Otherwise launch it:

bash
bunx dryui-feedback --no-open

In the DryUI monorepo, if you need a repo-internal fallback and dist/ does not exist, build first:

bash
cd packages/feedback-server && bun run build

The server binds port 4748 by default (DEFAULT_FEEDBACK_PORT) and walks up to the first free port if it's taken. State lives under <project>/.dryui/feedback/ (store.db, screenshots, server.json), so each project keeps its own queue.

If dryui.config.json has feedback.defaultAgent, the server uses it as the dispatch default. Users can edit that file directly or ask an agent to add one of the manual MCP paths listed under feedback.manualAgentConfig.

2. Confirm the Widget Is Wired and Find the Dev Server

2a. Verify @dryui/feedback and @dryui/feedback-server are installed and the widget is mounted

dryui-init installs @dryui/feedback and @dryui/feedback-server as dev deps but does NOT mount the widget by default — the mount is opt-in. Confirm the install + mount before continuing:

bash
test -f node_modules/@dryui/feedback/package.json && echo WIDGET_OK || echo WIDGET_MISSING
test -x node_modules/.bin/dryui-feedback && echo SERVER_OK || echo SERVER_MISSING
grep -q "from '@dryui/feedback'" src/routes/+layout.svelte && echo MOUNTED || echo MISSING

If WIDGET_MISSING or SERVER_MISSING, fall through to the dryui-init skill's Apply Setup → Install steps. If MISSING (mount), follow dryui-init → Live Feedback (Opt-In) to add the import + <Feedback serverUrl="http://localhost:4748" /> mount in src/routes/+layout.svelte. A package.json overrides entry alone is not proof of installation — bun only applies overrides when the package is also a dep, so the node_modules check is the source of truth. Skipping this step is the most common way the rest of the flow silently breaks: the import resolves at edit time but vite throws Cannot find module '@dryui/feedback' on first request, or bunx dryui-feedback 404s against the npm registry because no top-level package by that name exists.

@dryui/feedback pulls in lucide-svelte transitively. lucide-svelte 1.0.x ships internal ./icons/index imports without a .js extension, which Node strict ESM rejects, so vite must bundle it for SSR. The dryuiLayoutCss() plugin from @dryui/lint injects ssr.noExternal: ['lucide-svelte'] automatically. If the project's vite.config.* doesn't use dryuiLayoutCss() (custom setups, ejected configs), add ssr: { noExternal: ['lucide-svelte'] } to the vite config manually before starting the dev server -- otherwise the first SSR request crashes with Cannot find module '.../lucide-svelte/dist/icons/index'.

2b. Find the right dev server

Check for vite servers on common ports (5173, 5174, 5198, 5199, 5200):

bash
lsof -iTCP:5173 -iTCP:5174 -iTCP:5198 -iTCP:5199 -iTCP:5200 -sTCP:LISTEN -P 2>/dev/null

When more than one server is listening (a developer with several SvelteKit projects open will routinely have 5173/5174 taken by unrelated apps), match by the listening process's working directory. For each PID:

bash
lsof -p <PID> -a -d cwd -Fn 2>/dev/null | sed -n 's/^n//p'

Pick the URL whose process cwd equals $PWD. Do not assume the first port returned belongs to this project. If no listening server matches the cwd, look for a dev script in this project's package.json and start it.

3. Open the App in a Browser

Use the browser tools available in your environment. Probe one, fail fast, fall through — don't wait out 30s + 120s cascading timeouts.

Probe order:

  1. chrome-devtools-mcp MCP tools (list_pages, new_page, navigate_page, take_screenshot). If list_pages returns within ~5s, use this tool for the rest of the session.
  2. chrome-devtools-axi CLI. Run chrome-devtools-axi pages with a short shell-level timeout (e.g. timeout 5 chrome-devtools-axi pages). If it returns BRIDGE_NOT_READY or hangs, do not retry — the bridge state persists across calls.
  3. Codex playwright skill ($CODEX_HOME/skills/playwright/scripts/playwright_cli.sh open <url>). Reliable fallback when neither Chrome wrapper boots; uses a fresh Playwright browser per session.
  4. If none are available, tell the user to open the dev server URL manually.

Do not retry a browser tool whose bridge or MCP call has already failed once in this session — pivot to the next.

4. Tell the User What to Do

Say:

Draw your feedback on the page using the toolbar in the bottom-right corner. Available tools: pencil, arrow, text, move, and eraser. The toolbar can be dragged to reposition it. You can also toggle drawing mode with Cmd+M (or Ctrl+M).

When you are done annotating, let me know and I will review your drawings.

The feedback component draws SVG overlays on the page. Drawings are automatically persisted to the server. There is no explicit "Send" button -- drawings save as they are created.

5. Wait for Submissions

Use the feedback_get_submissions MCP tool to poll for pending submissions:

feedback_get_submissions(timeoutSeconds: 60)

This blocks until submissions arrive or the timeout expires. If it times out with timedOut: true, ask the user if they need more time.

Important: Use feedback_get_submissions, NOT feedback_get_all_pending or feedback_watch_annotations. The Feedback component creates submissions (screenshots + drawings), not annotations.

6. Review the Submissions

Each submission includes:

  • id -- unique submission ID
  • url -- the page URL where feedback was given
  • screenshotPath -- path to the saved screenshot file (read this with the Read tool to see the page)
  • drawings -- array of drawing objects the user made on the page
  • viewport -- viewport dimensions at time of submission
  • status -- pending or resolved
  • createdAt -- timestamp

Each drawing has a kind:

  • freehand -- strokes highlighting or circling areas (points array)
  • arrow -- pointing at specific elements (start and end points)
  • text -- inline text comments positioned on the page (position and text)

Use this data to identify what the user wants changed:

  1. Read the screenshot file to see the page as the user saw it
  2. Check drawing text labels for the user's comments/instructions
  3. Use arrows to identify which elements the user is pointing at
  4. Cross-reference url with routes to find the relevant page component

7. Act on the Feedback

Based on the submissions, make the necessary code changes. Treat feedback submissions as the highest-priority user intent for the current repair loop.

Use the same UI creation pipeline as the DryUI skill while resolving feedback:

  1. Read the feedback screenshot and drawings.
  2. Confirm any DryUI component APIs you touch with the dryui skill rules, component metadata, docs pages, or existing repo usage.
  3. Apply the requested fix using DryUI components, CSS grid layout, and --dry-* tokens.
  4. Run the relevant deterministic project check/build/test command.

Common actions:

  • Fix styling -- adjust colors, spacing, typography using --dry-* tokens
  • Adjust layout -- modify CSS grid tracks, gap, alignment
  • Move elements -- reorder markup or change grid placement
  • Fix bugs -- address functional issues the user identified
  • Change content -- update text, labels, or placeholder copy

After making changes, run the relevant project check command and fix violations. Then tell the user to refresh the page and verify. If using browser tools, trigger a reload.

8. Resolve Submissions

After acting on each submission, mark it as resolved:

feedback_resolve_submission(submissionId: "<id>")

After resolving all submissions, ask the user if they have more feedback. If yes, loop back to step 4.

Important Notes

  • The feedback HTTP server (port 4748) must be running for drawing persistence and submission storage to work. Without it, the <Feedback> component's drawings will not save.
  • The MCP server (dryui-feedback in .mcp.json) connects to the HTTP server to read/write data. Both must be running.
  • Use /submissions endpoints, NOT /sessions. The Feedback component creates submissions (screenshot + drawings), not sessions/annotations. Querying /sessions will always return empty results for this workflow.
  • The <Feedback> component is toggled with Cmd+M / Ctrl+M by default (configurable via the shortcut prop). The toolbar is hidden until activated.
  • Screenshots are saved as files at screenshotPath -- read them with the Read tool to see the annotated page.
  • Drawing coordinates are relative to the active feedback scroll root. On the docs site this is the main content pane, not the browser window.

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

Що робить навичка ШІ Dryui Live Feedback?

Open the DryUI app for visual feedback, wait for the user to annotate the page, then act on each submission via the dryui-feedback skill. Use when the user asks for live feedback, visual feedback, or to iterate on UI by drawing on it.

Навіщо використовувати Dryui Live Feedback у TypingMind?

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

Як встановити Dryui Live Feedback у TypingMind?

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

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

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

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

Зі скількома забажаєте. У TypingMind ви можете використовувати Dryui Live Feedback із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Dryui Live Feedback?

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

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

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

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

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

Усі
Логотип affaan-m

Competitive Platform Analysis

affaan-m
СпільнотаПопулярне

Використовуйте під час визначення меж конкурентного середовища: знайдіть конкурентів, класифікуйте їх і відфільтруйте за оцінками ще до початку порівняльного аналізу. Визначає, кого вважати конкурентом, до якого рівня його віднести…

40.4K
270.2K
Файлів: 1
Відкрити
Логотип affaan-m

Frontend Slides

affaan-m
СпільнотаПопулярне

Створюйте вражаючі HTML-презентації з насиченою анімацією з нуля або конвертуйте файли PowerPoint. Для створення презентацій, конвертації PPT/PPTX у вебформат або підготовки слайдів для виступу чи пітчу…

40.4K
270.2K
Файлів: 2
Відкрити
Логотип affaan-m

Plan Canvas

affaan-m
СпільнотаПопулярне

Відкривайте плани й HTML-артефакти на локальному полотні в браузері, де людина може анотувати елементи, спілкуватися в чаті та схвалювати їх або просити про зміни, не залишаючи сторінки. Використовуйте цю навичку для перегляду плану або…

40.4K
270.2K
Файлів: 1
Відкрити
Логотип mattpocock

Improve Codebase Architecture

mattpocock
СпільнотаПопулярне

Проскануйте кодову базу, щоб знайти можливості для поглиблення проєкту, покажіть їх у вигляді візуального HTML-звіту, а потім ретельно дослідіть обраний варіант.

22.3K
264.4K
Файлів: 2
Відкрити

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

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