Download for MacApple silicon, macOS 14+
Skill

generate-snapshot-tests

@getsentry Updated 2026-10-19

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

With your agent

Install OMGSkills skill "getsentry/sentry:generate-snapshot-tests" into this agent's normal skills directory: call the OMGSkills MCP get_install_plan tool for your agent and run the script it returns (it installs only the pinned commit and verifies SKILL.md), and stop if MCP or the pin is unavailable. Do not overwrite or change existing skills without asking me.

Manual command

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.