Logo di Pr Screenshots

Pr Screenshots

Community
marckohlbrugge
pr-screenshots

Put screenshots of a visible change, before and after, in the pull request (and on the issue), so reviewers can see it without running the app. Use whenever work changes what users see (a redesign, a new screen, styling, layout, empty or loading states, UI copy), when opening or updating a PR for such work, or when someone asks to see what something looks like.

Panoramica

Pubblicato damarckohlbrugge
Repositoryskills
Nome della skillpr-screenshots
Stelle
749
Fork
57
File inclusi
Solo istruzioni
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 marckohlbrugge su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Pr Screenshots 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/marckohlbrugge/skills/tree/main/skills/pr-screenshots
  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/marckohlbrugge/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/pr-screenshots .claude/skills/pr-screenshots
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Pr Screenshots 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 Pr Screenshots 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 Pr Screenshots 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à.

PR screenshots

Reviewers often look at UI work from the PR alone, sometimes on a phone. Every change they can see gets screenshots in the PR description. You already take screenshots to check your own work; these are the same ones, cropped and posted.

1. Capture

  • Real captures of the running app, never mock-ups. Use realistic data (seeds or a copy of production-like data), not "Lorem ipsum" and three rows.
  • Before and after for any change to existing UI: capture the same screen, state and size on the base branch first (a second worktree avoids stashing), then on yours. A new screen only needs an after.
  • Cover what the change is about: light and dark mode when the app has both, each state the change touches (empty, loading, signed in or out, the edge case that was fixed).
  • Web: Playwright or whatever browser tool you have, at a phone width and a desktop width when the layout differs.
  • iOS: a simulator of your own so parallel sessions don't fight over one (xcrun simctl create pr-shots "iPhone 17 Pro", boot, install, simctl ui <udid> appearance dark, simctl launch <udid> <bundle-id> <args>, simctl io <udid> screenshot <file>), deleted afterwards. Launch arguments that open the screen directly save a lot of tapping. In zsh, $ARGS holding several words is passed as one argument; write them out.
  • Look at every image yourself before posting it.

2. Prepare

Crop to the part that changed, with a little context, and scale to about 640px wide. Crop before and after to the same box so they line up. Use ImageMagick (sips --cropOffset is unreliable):

bash
magick full.png -crop <w>x<h>+<x>+<y> +repage -resize 640x -strip out.png

To join several into one image (handy for issue trackers and chat):

bash
magick a.png b.png c.png -background white -splice 24x0 +append -chop 24x0 -resize 1600x -strip strip.png

3. In the pull request

Agents can't reliably upload images to a PR description from the command line, so the images ride along on the PR branch and leave again before merge:

bash
mkdir -p pr-assets && cp <images> pr-assets/
git add pr-assets && git commit -m "Screenshots for PR"
SHA=$(git rev-parse HEAD)
git rm -rq pr-assets && git commit -m "Remove PR screenshots"
git push

Embed them in the PR description as a table with a short caption per column, using the screenshot commit's SHA:

markdown
| Before | After |
|---|---|
| <img src="https://github.com/<owner>/<repo>/blob/<SHA>/pr-assets/before.png?raw=true" width="300"> | <img src="https://github.com/<owner>/<repo>/blob/<SHA>/pr-assets/after.png?raw=true" width="300"> |

For light and dark, use one row each: | Light | before | after |.

  • The PR's ref keeps the commit, so the links keep working after merge. With squash merges the images never reach main; with merge commits they stay in history but not in the tree.
  • A rebase or force-push changes the SHA: update the links. Check an image exists with gh api "repos/<owner>/<repo>/contents/pr-assets/after.png?ref=<SHA>" --jq .size.
  • Images in a public repo are public. Crop out personal data.

4. On the issue (optional)

If the work is tracked in an issue tracker, post one comment with the joined image, a one-line caption saying what each panel shows, and the PR link. For Linear's MCP, upload in two steps within 60 seconds: prepare_file_upload (filename, image/png, exact byte size from stat -f %z), then curl -X PUT --data-binary @strip.png to the returned URL with every returned header, then save_comment with the returned markdown.

When the change is iterated after review, post new screenshots rather than editing old ones, so the history shows what changed.

Never

  • Leave pr-assets/ in the final diff (git diff origin/main --stat before asking for review).
  • Post a screenshot you haven't looked at.
  • Show only the after for a change to existing UI.

Domande frequenti

Cosa fa la skill IA Pr Screenshots?

Put screenshots of a visible change, before and after, in the pull request (and on the issue), so reviewers can see it without running the app. Use whenever work changes what users see (a redesign, a new screen, styling, layout, empty or loading states, UI copy), when opening or updating a PR for such work, or when someone asks to see what something looks like.

Perché usare Pr Screenshots su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Pr Screenshots è 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 Pr Screenshots in TypingMind?

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

Quali modelli IA possono usare Pr Screenshots?

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 Pr Screenshots?

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

La skill IA Pr Screenshots è gratuita?

È pubblicata su GitHub da marckohlbrugge. Consulta il repository per i termini di licenza. 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 👇