managing-snapshot-tests

Solid

This skill enables Claude to manage and update snapshot tests using intelligent diff analysis and selective updates. It is triggered when the user asks to analyze snapshot failures, update snapshots, or manage snapshot tests in general. It helps distinguish intentional changes from regressions, selectively update snapshots, and validate snapshot integrity. Use this when the user mentions "snapshot tests", "update snapshots", "snapshot failures", or requests to run "/snapshot-manager" or "/sm". It supports Jest, Vitest, Playwright, and Storybook frameworks.

Testing & QA 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 93/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

## Overview This skill empowers Claude to efficiently manage snapshot tests by analyzing differences, selectively updating snapshots based on intentional changes, and identifying potential regressions. It provides a streamlined approach to maintain snapshot test suites across various JavaScript testing frameworks. ## How It Works 1. **Analyzing Failures**: Reviews failed snapshot diffs, highlighting intentional and unintentional changes with side-by-side comparisons. 2. **Selective Updating**: Updates specific snapshots that reflect intentional UI or code changes, while preserving snapshots that have caught regressions. 3. **Batch Processing**: Allows for batch updating of related snapshots to streamline the update process. ## When to Use This Skill This skill activates when you need to: - Analyze snapshot test failures after code changes. - Update snapshot tests to reflect intentional UI changes. - Identify and preserve snapshots that are catching regressions. ## Examples ### Example 1: Updating Snapshots After UI Changes User request: "I've made some UI changes and now my snapshot tests are failing. Can you update the snapshots?" The skill will: 1. Analyze the snapshot failures, identifying the diffs caused by the UI changes. 2. Update the relevant snapshot files to reflect the new UI. ### Example 2: Investigating Unexpected Snapshot Changes User request: "My snapshot tests are failing, but I don't expect any UI changes. Can you help me figure out what's going on...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

performing-visual-regression-testing

This skill enables Claude to execute visual regression tests using tools like Percy, Chromatic, and BackstopJS. It captures screenshots, compares them against baselines, and analyzes visual differences to identify unintended UI changes. Use this skill when the user requests visual testing, UI change verification, or regression testing for a web application or component. Trigger phrases include "visual test," "UI regression," "check visual changes," or "/visual-test".

2,266 Updated today
jeremylongshore
AI & Automation Solid

tracking-regression-tests

This skill enables Claude to track and run regression tests, ensuring new changes don't break existing functionality. It is triggered when the user asks to "track regression", "run regression tests", or uses the shortcut "reg". The skill helps in maintaining code stability by identifying critical tests, automating their execution, and analyzing the impact of changes. It also provides insights into test history and identifies flaky tests. The skill uses the `regression-test-tracker` plugin.

2,266 Updated today
jeremylongshore
AI & Automation Solid

snapshot-test-helper

Assist with snapshot test helper operations. Auto-activating skill for Test Automation. Triggers on: snapshot test helper, snapshot test helper Part of the Test Automation skill category. Use when writing or running tests. Trigger with phrases like "snapshot test helper", "snapshot helper", "snapshot".

2,266 Updated today
jeremylongshore
AI & Automation Solid

running-mutation-tests

This skill enables Claude to validate test suite quality by performing mutation testing. It is triggered when the user asks to run mutation tests, analyze test effectiveness, or improve test coverage. The skill introduces code mutations, runs tests against the mutated code, and reports on the "survival rate" of the mutations, indicating the effectiveness of the test suite. Use this skill when the user requests to assess the quality of their tests using mutation testing techniques. Specific trigger terms include "mutation testing", "test effectiveness", "mutation score", and "surviving mutants".

2,266 Updated today
jeremylongshore
AI & Automation Solid

managing-database-testing

This skill manages database testing by generating test data, wrapping tests in transactions, and validating database schemas. It is used to create robust and reliable database interactions. Claude uses this skill when the user requests database testing utilities, including test data generation, transaction management, schema validation, or migration testing. Trigger this skill by mentioning "database testing," "test data factories," "transaction rollback," "schema validation," or using the `/db-test` or `/dbt` commands.

2,266 Updated today
jeremylongshore