Index of every page on this site: llms.txt
All skills
onmax avatar

/before-after-evidence

@aecfada
by Maxonmax/comark-ui43 stars
3
Run it yourself

Shows a visible change as two comparable screenshots, before and after, with marks measured from the source and checked in the rendered page, and a change in motion as a short recording. Use when a pull request, bug fix, or design change alters what people see or how it moves, or when someone asks for before/after screenshots, a recording, or visual evidence.

Use this Skill: https://skilld.dev/gh/onmax/comark-ui/before-after-evidence

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesblocks.md

≈594 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Blocks for before/after evidence

These blocks come with comark-ui, or alone with comark-annotate and comark-diff. The comark-ui skill (vp dlx skills add onmax/comark-ui) documents every block in full.

::compare

Two :::screenshot blocks inside, before then after. They're titled Before and After unless they set title, and their notes are numbered across both.

Prop What it does
title Names the comparison for screen readers.
mode columns (default) side by side, or slider: one full-width image with a divider to drag. Use slider when the change is small and in the same spot, such as one label.

:::screenshot

Prop What it does
src Required. The image URL.
alt Required. What the image shows, in one phrase.
viewport The capture's size, like 640x420. Set the same on both sides; a compare reports a mismatch.
href The page you captured, such as the preview deployment, linked by its host above the image.
title A heading above the image, in place of Before or After.

Other Markdown inside the block, after its annotations, becomes the caption.

::::annotation

A direct child of a screenshot. Its content is the note, in Markdown.

Prop What it does
x y w h Required. The marked rectangle as percentages of the image, without %.
mark box (default), circle, underline, line, highlight, bracket, cross, check, or none.
color red for a problem, green for the fix, amber for a warning, violet (default) to point something out, gray, or a hex color.
side top or bottom moves the note into the margin with an arrow; in a side-by-side compare, left and right notes join the numbered list.

Notes without a side are numbered under their image, which is the clearest default in a compare.

::diff

Two fenced blocks inside, the file before and after, starting at the same line.

::diff{line=42 label="The change"}
```tsx [src/members/InviteDialog.tsx]
<button onClick={send}>Send invite</button>
```
```tsx
<button onClick={send} disabled={invalid}>Send invite</button>
```
::

line is the file's line number of the first line in both blocks. Keep a diff to the few lines that caused the change; the pull request has the rest.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning6d3 checks · Risk SAFE
  • Gen Agent Trust Hub6d

    The skill provides a structured workflow for generating visual evidence (screenshots and recordings) of UI changes. It utilizes standard development tools like Playwright and ffmpeg, and installs utility packages authored by the developer from the npm registry. No malicious patterns or security risks were identified.

  • Socket6d

    No alerts

  • Snyk6d

    Risk: MEDIUM · 2 issues

Signed by skilld at aecfada. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated last week

README badge

README badge for onmax/comark-ui/before-after-evidence