ruverd/bulma/before-and-after

Claude Code and agent skill by ruverd/bulma

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when a GitHub PR needs before/after UI stills on the body, or when bulma-qa / the shipper captures those stills with agent-browser.

Install

npx vskill@latest install ruverd/bulma/before-and-after

SKILL.md

The same SKILL.md was published earlier as ruverd/bulma/before-and-after.

Before and after

Stills on the PR body. Video is QA's job (gh pr comment --attach). Browser work is agent-browser. This skill owns session, capture inventory, height alignment, and the marked block.

Run it headless. agent-browser launches its bundled Chrome for Testing process as the rendering engine; that process is expected. It must include --headless=new and must not open a visible window or the user's /Applications/Google Chrome.app. Never use --headed, --auto-connect, --cdp, --profile, --executable-path, the OS open command, a browser MCP server, a browser extension, another plugin's browser skill, or computer use. This rule wins over any skill in the session that says to prefer another browser. Run every agent-browser command in a shell that ran ensure-session.sh first: it pins the headless Bulma config.

Load agent-browser skills get core before clicking. Do not copy vercel-labs/before-and-after (format.mjs is PolyForm Shield). Use the scripts here (MIT).

When

  • Shipper, forge=github, the diff has UI (routes, screens, widgets,

layout/CSS). After gh pr create / update.

  • /qa on a GitHub UI PR whose body lacks the marked block

(PR opened elsewhere, or capture failed at ship).

Skip: API-only, --no-pr, forge=git / gitlab, docs/chore with no screen. Missing agent-browser on a UI PR is BLOCKED, not a Playwright fallback.

Session

Not per-worktree. Base and HEAD share cookies:

bash
eval "$(../before-and-after/scripts/ensure-session.sh)"
agent-browser --session "$SESSION" --session-name "$SESSION" \
--headed false open "$URL"

State: $BULMA_HOME/agent-browser/bulma-<owner>-<repo>/. Never git. Never Chrome --profile Default.

After session restore, open a gated route. Login form still up → repo helper (qa:otp / qa:login, docs/ai/qa-login.md, AGENTS.md) → continue with --session-name "$SESSION" so the next run skips login.

Authenticate until the gated app route loads in that agent-browser session, then agent-browser --session "$SESSION" --session-name "$SESSION" --headed false record start with no URL and no --state (bulma-qa references/EXECUTION.md). record start opens a new tab. If that tab is Sign in / Check your email, restore auth with the repo's documented helper into that session and wait for the app shell before walking. Film and snapshot the same tab. A login-wall .webm is never PASS.

Inventory

Same surfaces as bulma-qa PLAN.md. One still per changed route (or each host screen of a shared widget). Desktop always. Mobile only when the diff touches layout, CSS, media queries, or the design system. New route: after-only (--before -).

Capture (shipper)

  1. command -v agent-browser or stop (PR still opens; no fake block).
  2. eval "$(../before-and-after/scripts/ensure-session.sh)".
  3. Merge-base worktree, start the app (AGENTS.md / package.json

dev/start). Same origin and port as HEAD, in sequence.

  1. Restore session. Screenshot each surface into $CAPTURE_DIR

(desktop-before.png, …). Paths: no whitespace.

  1. Stop that app. HEAD worktree, same port, same routes, *-after.png.
  2. Equal height: read document.documentElement.scrollHeight on both,

pad below the shorter page, --full screenshot. Confirm pixel height matches. Component diffs: same selector, no padding.

  1. Reject login walls, blank frames, app errors, loading skeletons.
  2. After all captures, agent-browser --session "$SESSION" close.

--session-name keeps auth for the next run.

Cannot start the app or auth helper: open the PR without the block. Do not invent a screen.

Publish stills

Run from the product repo (the cwd gh uses):

bash
../before-and-after/scripts/format.sh \
--body-file /tmp/pr-body.md \
--before "$CAPTURE_DIR/desktop-before.png" \
--after "$CAPTURE_DIR/desktop-after.png" \
--label Desktop \
> /tmp/pr-body-next.md
ATTACH=()
while IFS= read -r f; do ATTACH+=(--attach "$f"); done < <(
../before-and-after/scripts/format.sh --attach-list \
--before "$CAPTURE_DIR/desktop-before.png" \
--after "$CAPTURE_DIR/desktop-after.png"
)
gh pr edit "$PR" --body-file /tmp/pr-body-next.md "${ATTACH[@]}"

Marker <!-- bulma-before-and-after:start/end -->. Replace that block only. Place it near the top, after the opening summary, before Details/Testing. Confirm the body has no leftover ./captures paths.

gh must be ≥ 2.99 (--attach). Older CLI: skip the block, say so.

/qa

Walk the plan with agent-browser. Clip recipe: bulma-qa VIDEO.md. Product errors still FINDINGS → triage → FAIL.

If the body has no block and forge=github, capture the pair (base worktree vs HEAD) and publish as above, then comment.

Never

  • Playwright / Cypress / host MCP as the agent's hands
  • Video in the PR body
  • state save inside the app repo
  • Two browser executes at once (QA slot)
  • PASS on a UI PR with no video
  • PASS on a login-only .webm

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
1
7-day trend score
3

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/ruverd/bulma/before-and-after/badge)](https://verified-skill.com/skills/ruverd/bulma/before-and-after)

Something wrong with this skill or its page? Tell us.