rust-snapshot-review

Detect and manage .snap.new files from cargo nextest runs.

1|Updated Nov 25, 2025
One-click install
npx skills add https://github.com/89jobrien/dotfiles --skill rust-snapshot-review
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rust-snapshot-review
Source: https://github.com/89jobrien/dotfiles/tree/main/dot-claude/skills/rust-snapshot-review
Command: npx skills add https://github.com/89jobrien/dotfiles --skill rust-snapshot-review

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Detect and manage insta snapshot updates (.snap.new) produced by cargo nextest to prevent accepting stale or unintended output.

Core Features & Use Cases

  • Detect: locate .snap.new files excluded from target builds.
  • Diff: compare new snapshots with existing ones and show inline diffs.
  • Accept/Reject: bulk or selective acceptance with safety checks.

Quick Start

Run the snapshot-review process after a cargo nextest run to process insta snapshots and decide which updates to keep.

Frequently Asked Questions about rust-snapshot-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I safely review and accept insta snapshot updates?

To safely review insta snapshot updates, run a snapshot-review process after cargo nextest to scan for .snap.new files, present diffs against existing snapshots, and apply selective or bulk acceptance with staleness safeguards.

What is the best way to manage .snap.new files generated by cargo nextest?

Managing .snap.new files generated by cargo nextest involves detecting them outside target builds, comparing their contents to existing snapshots, and safely accepting or rejecting the updates to prevent stale outputs.

How does snapshot testing handle stale outputs with cargo-nextest?

Snapshot testing handles stale outputs by applying staleness safeguards during the review process, ensuring that outdated .snap.new files generated by cargo nextest are identified and rejected before acceptance.

Can I selectively accept insta snapshot changes instead of bulk updating?

Yes, you can selectively accept insta snapshot changes. The review process allows you to inspect inline diffs of .snap.new files and choose specific updates to keep, preventing unintended bulk acceptance.

Why do I need to review snapshot changes after running cargo nextest?

You need to review snapshot changes after running cargo nextest to avoid accepting stale or unintended outputs. The process detects .snap.new files, compares them with existing snapshots, and applies safety checks before acceptance.

Does this snapshot review process work with insta and cargo-nextest?

Yes, this snapshot review process works directly with insta and cargo-nextest. It identifies .snap.new files produced by cargo nextest, compares them to existing insta snapshots, and manages their safe acceptance.