Logo van Dryui Feedback

Dryui Feedback

Community
rob-balfre
dryui-feedback

Apply a single DryUI feedback submission. Use whenever you have a submission id from the feedback widget, a `feedback_get_submissions` payload, a screenshot annotated with arrows/text/components/region boxes, or a request like "act on submission X" / "resolve this feedback" / "the user drew a box on the page and labelled it Y". The skill covers reading the submission, decoding the four intent kinds (drawings / components / removed / moved), the lint trip-wires that block the dev server, and the resolve handshake.

Add to TypingMind

Overzicht

Uitgeverrob-balfre
Repositorydryui
Skillnaamdryui-feedback
Sterren
9
Forks
0
Meegeleverde bestanden
Alleen instructies
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door rob-balfre op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Dryui Feedback in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/rob-balfre/dryui/tree/main/skills/dryui-feedback
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

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-feedback .claude/skills/dryui-feedback
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Dryui Feedback in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Dryui Feedback automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Dryui Feedback niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

DryUI Feedback

Single job: take one feedback submission and apply the smallest change that satisfies it. Read the screenshot, decode the structured intents, edit the source, run check, mark resolved. Stop.

The submission shape

A submission is a presentation JSON object (fetch with MCP feedback_get_submissions or curl http://127.0.0.1:4748/submissions/<id>):

id, url, viewport, scroll
preferredScreenshotPath          ← read this first
screenshotPath: { png, webp }    ← raw screenshot paths; png may be empty for legacy rows
textNotes[]                      ← direct text instructions extracted from drawings
drawingHints[]                   ← paired { drawing, hint } entries
summary                          ← counts by intent kind, hint corner, and structured change kind
drawings[]                       ← raw annotations the user drew
hints[]                          ← raw parallel array: each drawing's nearest element + position
components[]                     ← components the user added through the inspector
removed[]                        ← elements the user removed
moved[]                          ← elements the user dragged to a new position

The screenshot is the most direct signal — open preferredScreenshotPath before reading any structured data. Everything else exists to disambiguate what you're seeing. The raw arrays are preserved as escape hatches when the presentation fields are not enough.

Decoding the four intent kinds

Each submission can carry zero or more of these. Treat them as instructions, not suggestions.

drawings[] — annotations

Each entry has a kind (freehand / arrow / text / eraser) and coordinates. Treat textNotes[] as direct user instructions — they're literal sentences the user typed onto the page (e.g. "more padding here", "make this blue", "remove this"). Use drawingHints[] to pair each drawing with its nearest DOM hint; the raw drawings[] and hints[] arrays remain available if you need index-level detail.

Arrows usually point from a label to the thing being modified. Freehand sketches mark a region without naming it — combine with the screenshot to figure out what's circled.

components[] — additions

Each entry: { kind, label, props, rect }. The user picked a DryUI component (e.g. "Card", "Button") and dropped it at rect (viewport coordinates). Apply by inserting that component into the source at the closest matching DOM ancestor, with the user's label and props.

removed[] — deletions

Each entry: { tag, selector?, rect }. The user wants this element gone. Remove the corresponding source node. If the surrounding area becomes empty, leave it empty — don't backfill. The user can ask for a replacement in a follow-up submission.

moved[] — repositions

Each entry: { tag, selector?, originalRect, currentRect }. The user dragged an element from originalRect to currentRect (viewport coordinates). The screenshot shows a solid blue outline at the new position and a dashed blue ghost at the original position so you can see the displacement at a glance. Treat this as a layout intent — the user wants the element to live where the solid outline sits. Edit the data-layout block in src/layout.css (different grid area, reordered template, new track) to match. Apply directly when the move fits an existing sibling slot.

Layout discipline

DryUI does not ship a layout component. All page-level display: grid and display: flex declarations live in src/layout.css (or @container blocks within it). Nowhere else for page layout.

Structural changes (new named region, new responsive shift, different grid template) and region-internal changes (padding inside a wrapper, gap between sibling elements, borders or backgrounds the user requested) are both yours to apply. For structural edits, work in src/layout.css under the existing [data-layout='<name>'] block — extend the template, add a new data-layout-area, or add an @container page (min-width: ...) rule. Pick the smallest edit that satisfies the feedback. Use the --dry-space-* token scale (--dry-space-2 = 8px, --dry-space-3 = 12px, --dry-space-4 = 16px, --dry-space-6 = 24px, --dry-space-8 = 32px) for spacing values; match nearby usage in the file rather than picking magnitudes by feel.

Lint trip-wires that will block the dev server

The DryUI lint runs as a Vite preprocessor — violations crash the dev server with a stack trace, so the user sees a red overlay instead of their page. Avoid every one of these when editing:

  • dryui/no-width — no width: / inline-size: (or min-/max- variants). Grid children are sized by their track in src/layout.css. The only allowed unit family is the typographic measure (ch, em, ex).
  • dryui/no-global — no :global(...) selectors. Use scoped CSS, data-attributes, or CSS variables.
  • dryui/no-inline-style — no style="..." attributes. Use scoped classes or CSS variables.
  • dryui/no-style-directive — no style:foo={bar} directives.
  • dryui/no-raw-native-element — use DryUI components, not raw HTML, for anything DryUI covers.
  • dryui/no-flex and dryui/no-raw-grid — flex and grid declarations only in src/layout.css.

Component preferences (avoid lint and a11y regressions)

Reach forNot
<Heading level><h1>–<h6>
<Text><p> / <span> for body
<Button><button>
<Input><input type="text">
<Slider><input type="range">
<Select><select>
<Checkbox><input type="checkbox">
<Separator><hr>
<Field.Root> + <Label>unlabelled form inputs

Raw HTML is permitted only for semantic landmarks (<header>, <nav>, <aside>, <main>, <footer>, <section>, <article>) and for content the DryUI surface doesn't cover (<ol>, <ul>, <li>, <a>).

Restraint

You're applying one submission. Do only what the feedback asks for:

  • Don't refactor adjacent code that wasn't called out.
  • Don't reformat the whole file.
  • Don't "improve" things the user didn't mention.
  • Don't add tests, comments, or docs unless the feedback explicitly asks.
  • Match the file's existing patterns — if it uses Heading level={3} for section headers, your additions should too.

If the feedback is ambiguous, prefer the smaller change. The user can always send another submission.

Hand-off table

Feedback shapeHand off to
Pure design tokens / theme decisions(theme agent — coming)
Forms wiring / a11y / focus / keyboard(forms agent — coming)
Microcopy or content-only editsapply directly
Padding / spacing / colour / size on existing elementapply directly
Structural layout change (new region, new responsive breakpoint, different template)apply directly in src/layout.css
Component swap (e.g., raw <button> → <Button>)apply directly
Adding a component the user explicitly placed via components[]apply directly
Removing an element via removed[]apply directly
Moving an element via moved[]apply directly

Default to "apply directly". Layout-shape edits live in src/layout.css; component edits live in the route file.

Workflow

  1. Get the submission. Use MCP feedback_get_submissions (preferred) or curl http://127.0.0.1:4748/submissions/<id>.
  2. Claim it. Call MCP feedback_claim_submission (or curl -X POST http://127.0.0.1:4748/submissions/<id>/claim -H "Content-Type: application/json" -d '{"agent":"claude","name":"Claude Code","model":"claude-opus-4-7","version":"<cli-version>"}'). This flips the dashboard status to Processing so the human knows you've picked it up, stamps the start time, and records which AI / model / version is working — the completed-tasks view uses that history. Pass the most specific name, model, and version you know. Skip this step only when reproducing the workflow in tests.
  3. Read the screenshot. Use the Read tool on preferredScreenshotPath. This is the ground truth.
  4. Locate the page in source. The submission's url maps to a route. For http://localhost:5174/foo that's src/routes/foo/+page.svelte. For the index, src/routes/+page.svelte.
  5. Pair drawings with hints. Prefer drawingHints[]; each pair has { drawing, hint }. If you need the raw arrays, for each drawings[i], look at hints[i].element to find the DOM target, and hints[i].corner + hints[i].percentX/Y for sub-element placement.
  6. Apply intents. In order: drawings (textNotes[] are instructions), components (additions), removed (deletions), moved (repositions — usually a src/layout.css edit). Make the smallest source edit that satisfies each.
  7. Run checks. Run the project’s focused check/build/test command for the changed file or package. Fix any violations the edit introduced — re-read this skill's lint section if confused.
  8. Resolve. Call MCP feedback_resolve_submission with the submission id, or curl -X PATCH http://127.0.0.1:4748/submissions/<id> -H "Content-Type: application/json" -d '{"status":"resolved"}'. The server stamps resolvedAt and computes durationMs from your claim so the dashboard can show how long the task took. Required to clear the submission from the queue.
  9. If you bail out, release. If you claimed a submission but decided not to apply it (out of scope, blocked, etc.), call MCP feedback_release_submission so the dashboard moves it back to Pending instead of leaving it stuck under your name.

Tone

Quiet. State the submission id and what intents it carries. Claim, make the edit, run the relevant project check, resolve. The user already wrote the feedback — don't re-explain it back to them.

Veelgestelde vragen

Wat doet de AI-skill Dryui Feedback?

Apply a single DryUI feedback submission. Use whenever you have a submission id from the feedback widget, a `feedback_get_submissions` payload, a screenshot annotated with arrows/text/components/region boxes, or a request like "act on submission X" / "resolve this feedback" / "the user drew a box on the page and labelled it Y". The skill covers reading the submission, decoding the four intent kinds (drawings / components / removed / moved), the lint trip-wires that block the dev server, and the resolve handshake.

Waarom Dryui Feedback gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Dryui Feedback bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Dryui Feedback in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/rob-balfre/dryui/tree/main/skills/dryui-feedback. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Dryui Feedback gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Dryui Feedback gebruiken?

Zoveel als je wilt. Je kunt Dryui Feedback gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Dryui Feedback gratis?

Ja. Deze skill is door rob-balfre op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇