Skill
generate-snapshot-tests
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.
Install
git clone https://github.com/getsentry/sentry /tmp/sentry && ln -s /tmp/sentry/.agents/skills/generate-snapshot-tests ~/.claude/skills/generate-snapshot-tests
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.
