Lightlines
Catalogue
Sign in
By vercel-labs

before-and-after

vercel-labs

Put visual proof directly in your GitHub pull request.

pull request documentation

What it does

Adds existing screenshots or screen recordings to a GitHub pull request as before/after comparisons or previews.

When to use it

Use when a pull request needs visual media attached to its description.

How to use it

Give it a GitHub pull request and existing visual media in the project; it uploads the files and updates the PR description.

What you provide

  • a GitHub pull request
  • existing visual media
  • An existing project
  • Your files

Uses


Access · 5

This skill

GitHub

Write

Updates your GitHub pull request

/tmp/before-and-after.md, /tmp/pr-body.md, and /tmp/pr-body-next.md

Write

Saves temporary Markdown files

browser cookies and local storage

Read

Uses stored browser session data

captured page DOM

Write

Pads the shorter page DOM

What you need · 6

Node.js must be available to run the formatter.

The GitHub CLI must be available to read, edit, and attach files to pull requests.

agent-browser is used to create screenshots or recordings and inspect browser page state.

Requires GitHub access that can upload attachments and edit the target pull request.


About this skill

Visibility
Public
Repository
vercel-labs/before-and-after
Created
Oct 8, 2026
Updated
Oct 8, 2026
Files
2