# Test snapshot updates (/testing--snapshot-update)

/testing--snapshot-update is a Claude Code skill in the Code section. Reviews failing test snapshots and decides whether each is an intended change, a real bug or a flaky test before updating anything.

- Web version: https://skills.sgomez.dev/en/s/testing--snapshot-update
- Section: [Code](https://skills.sgomez.dev/en/code.md)
- Author: Santiago Gómez de la Torre
- License: MIT
- Source: https://github.com/sgomez-dev/claude-skills/blob/main/skills/testing/snapshot-update.md
- Updated 26 Mar 2026

## How to ask for it

- `/testing--snapshot-update update snapshots that changed on purpose`
- `/testing--snapshot-update review why these test snapshots are failing`
- `/testing--snapshot-update which snapshots should I regenerate after this change?`

## Install

macOS · Linux:

```
curl -fsSL https://raw.githubusercontent.com/sgomez-dev/claude-skills/main/install.sh | bash
```

Windows:

```
irm https://raw.githubusercontent.com/sgomez-dev/claude-skills/main/install.ps1 | iex
```

Claude Code plugin:

```
/plugin marketplace add sgomez-dev/claude-skills
/plugin install testing-skills@claude-skills-collection
```

## Permissions

- Reads: `**/*`
- Writes: `**/__snapshots__/**`
- Runs: `npm test -- -u`, `npx jest -u`
- Network: No
- Destructive: No

## Author's description

Review and update test snapshots intelligently

- [How we review this](https://skills.sgomez.dev/en/methodology.md)
