Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

sbshot-visual-diff

Skill by SigNoz

Run SigNoz's sbshot to shoot Storybook stories at two git refs and produce a visual diff a reviewer can read. Built for developers preparing a PR who need before and after screenshots or proof that unrelated screens did not change.

  • Score 82
  • 33k stars
  • NOASSERTION
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install sbshot-visual-diff

Built from the published package, never by AI.

git clone --depth 1 https://github.com/SigNoz/signoz /tmp/signoz && mkdir -p ~/.claude/skills && cp -r /tmp/signoz/.claude/skills/sbshot-visual-diff ~/.claude/skills/sbshot-visual-diff

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install sbshot-visual-diff in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill teaches an assistant to use sbshot, a tool from SigNoz that shoots Storybook stories at two git refs and pixel-diffs the two runs. The workflow is capture once per ref, diff the pairs by relative path, tag the pairs a reviewer should check, and export a static site. The skill also sets rules that prevent false changes, such as starting a fresh Storybook for each ref, capturing both dark and light themes, and measuring noise with a second capture of the same commit.

It is written for developers who need a visual diff, before and after screenshots, or a screenshot comparison for a pull request. The skill warns that a diff only covers stories that exist, so screens and states without stories must be written first. The exported site can be hosted and linked in the PR body under Screenshots / Screen Recordings.

Written from the project's SKILL.md and checked against it.

What it can do

  • Capture storiesShoots Storybook stories from a dev server, build directory or project for each git ref.
  • Diff runsPixel-diffs two capture runs, pairing shots by relative path.
  • Theme captureCaptures dark and light themes with the --theme dark,light option.
  • Noise measurementDiffs two captures of the same commit to mark pairs that move for no reason.
  • Tag pairsTags the pairs a reviewer should look at, with a note explaining why.
  • Export static siteExports only non-identical pairs as a static site with WebP images.
  • Scope capturesLimits a capture with --title or --stories to keep long runs manageable.

What you need

  • Node.js, to run sbshot through npx
  • A running Storybook dev server
  • Git, with worktrees for each ref
  • ImageMagick, for the green-parallel mode

Try asking

  • Run a visual diff of my branch against its merge-base and summarize what changed.
  • Tag the changed Alerts screens in this diff and add notes for the reviewer.
  • Export the sbshot diff and write the Screenshots section for my PR body.

Good to know

  • Not published as a package. It runs through npx from the GitHub repository.
  • The frontend has no build-storybook script, so capture needs a running dev server.
  • The --noise option ignores how far a pair moved and can hide real changes.
  • On macOS a capture can run one story at a time, which makes long runs much slower.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .claude/skills/sbshot-visual-diff/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md9 KB

Alternatives to sbshot-visual-diff

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

sbshot-visual-diff: common questions

Does sbshot catch changes on screens that have no Storybook story?

No. A screen or state without a story produces no pair, so it looks unchanged. The skill says to write the missing stories before capturing.

Why does the skill say to use the merge-base instead of origin/main?

Against a main branch that has moved on, every commit main gained shows up as reverted. The merge-base avoids this.

How do I reduce flaky results in the diff?

Measure noise by capturing the same commit twice and diffing those runs with --noise. For stories that stay flaky, the skill suggests fixing the story instead.

How do I install sbshot-visual-diff?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is sbshot-visual-diff free?

The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.

Is sbshot-visual-diff safe to use?

It scores 82 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to sbshot-visual-diff?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

sbshot-visual-diff Install

Add to stack

Loading.