snapshot-tests Skill
Record and validate swift-snapshot-testing snapshots in the SwiftStreamingMarkdown package: regenerate reference PNGs, run snapshot tests, and diff failed snapshots. Published by microsoft in SwiftStreamingMarkdown.
What is snapshot-tests Skill?
Record and validate swift-snapshot-testing snapshots in the SwiftStreamingMarkdown package: regenerate reference PNGs, run snapshot tests, and diff failed snapshots. Published by microsoft in SwiftStreamingMarkdown. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.
Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.
Key capabilities
- Includes SKILL.md support
- Reusable instructions support
- Testing
- Design and media
- Testing use cases
- Design and media use cases
Technical details
- Install or run with Copy skill directory
When to use snapshot-tests Skill
- Use it for testing.
- Use it for design and media.
Built with
Editorial notes
Source
- Creator: microsoft
- Repository: microsoft/SwiftStreamingMarkdown
- Skill file: .agents/skills/snapshot-tests/SKILL.md
What it does
Record and validate swift-snapshot-testing snapshots in the SwiftStreamingMarkdown package: regenerate reference PNGs, run snapshot tests, and diff failed snapshots.
Skill instructions
Snapshot Tests Skill Workflow for recording and validating swift-snapshot-testing snapshots in the SwiftStreamingMarkdown package. When to use this skill Trigger when the user asks anything that resolves to one of: - Record — "record snapshots", "re-record the snapshots", "update snapshots", "regenerate references" → use Mode 1. - Validate — "validate snapshots", "run snapshot tests", "check snapshots for regressions", "diff the failed snapshots" → use Mode 2. If the request is ambiguous (e.g. "fix the snapshot tests"), validate first (Mode 2) and only re-record after the user confirms the visual changes are intentional. Repo context | Thing | Location | |---|---| | Base class for every snapshot test | Tests/MarkdownTextTests/SnapshotTestFoundation/SnapshotTestCase.swift | | Recording toggle (committed commented out) | line 18 of that file: // isRecording = true | | Diff-tool configuration | SnapshotTesting.diffTool = "diff-image" in setUp() (line 17) | | Reference PNGs | Tests/Markdow
Explore related resources
Frequently asked questions
What is snapshot-tests?
snapshot-tests is a open-source AI agent skill with Copy skill directory. Record and validate swift-snapshot-testing snapshots in the SwiftStreamingMarkdown package: regenerate reference PNGs, run snapshot tests, and diff failed snapshots.
Who is snapshot-tests best for?
snapshot-tests is best for reusing agent instructions, scripts, and references, testing workflows, design and media workflows.
How do I install snapshot-tests?
Install or run snapshot-tests using Copy skill directory. Check snapshot-tests for the latest setup command.
Is snapshot-tests actively maintained?
snapshot-tests may need a closer maintenance check before production use.
Auto-fetched from GitHub.