Logo di 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

Panoramica

Pubblicato darob-balfre
Repositorydryui
Nome della skilldryui-feedback
Stelle
9
Fork
0
File inclusi
Solo istruzioni
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da rob-balfre su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Dryui Feedback in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/rob-balfre/dryui/tree/main/skills/dryui-feedback
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Dryui Feedback in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Dryui Feedback non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Dryui Feedback non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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.

Domande frequenti

Cosa fa la skill IA 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.

Perché usare Dryui Feedback su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Dryui Feedback è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Dryui Feedback in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/rob-balfre/dryui/tree/main/skills/dryui-feedback. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Dryui Feedback?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Dryui Feedback?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Dryui Feedback: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Dryui Feedback è gratuita?

Sì. È pubblicata su GitHub da rob-balfre con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇