omgskills Get the Mac app
Skill

generate-snapshot-tests

@getsentry 44k stars Updated 2026-07-28 Author match: High

Generate snapshot test files for Sentry frontend React components. Use when asked to "generate snapshot tests", "add snapshot tests", "create visual snapshots", "write snapshot tests", "add visual regression tests", or "snapshot this component". Accepts an optional component path or name via $ARGUMENTS.

apmcrash-reportingcrash-reportscsp-reportdevopsdjangoerror-loggingerror-monitoring

Install

Install this Claude and Codex skill with the command below. The command stays visible even when copy support is unavailable.

Install command
git clone https://github.com/getsentry/sentry /tmp/sentry && ln -s /tmp/sentry/.agents/skills/generate-snapshot-tests ~/.claude/skills/generate-snapshot-tests

View on GitHub

From README

Generate Snapshot Tests Generate a .snapshots.tsx file colocated with a Sentry React component, following the established pattern used by core design system components. Step 1: Locate the Component If $ARGUMENTS is provided, treat it as a path or component name. Otherwise ask the user which component to snapshot. Search strategies: Use Glob or Grep to find the file if the exact path is unknown.

More from this repo