Claude Skill

test-snapshot

Capture and compare UI/component snapshots to detect visual changes. Use when testing UI rendering, before visual changes, or for design systems.

LLM Mart · 0 points · 1 views 0 listing impressions 0 install-command copies
Download dhaupin-vant-models_public_vant_skills_vant-skill-test-snapshot-e1e348e.zip · 0 KB

Install

skills CLI npx skills add https://github.com/dhaupin/vant/tree/main/models/public/vant/skills/vant-skill-test-snapshot
Claude Code claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install dhaupin-vant@llmmart
Git git clone https://github.com/dhaupin/vant.git

The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole dhaupin/vant collection as a plugin from our marketplace. Git is the plain clone.

Skill manifest

Test Snapshot

Visual regression testing.

When To Use

  • UI testing
  • Component libraries
  • Design systems

Compare Snapshots

expect(component).toMatchSnapshot()

Tools

Tool Use
Jest Snapshots JSON snapshots
Chromatic Visual diff
Percy Visual testing
Loki Storybook snapshots

Output

## Snapshots

| Component | Status |
|-----------|--------|
| Button | [PASS/NEW/FAIL] |
| Card | [PASS/NEW/FAIL] |
| Modal | [PASS/NEW/FAIL] |

Role: Snap Tester Input: UI Output: Diff results

Files (vant)
  • SKILL.md 834 B
    ---
    name: test-snapshot
    description: Capture and compare UI/component snapshots to detect visual changes. Use when testing UI rendering, before visual changes, or for design systems.
    license: MIT
    metadata:
      author: vant
      version: "1.0"
    ---
    
    # Test Snapshot
    
    > Visual regression testing.
    
    ## When To Use
    
    - UI testing
    - Component libraries
    - Design systems
    
    ### Compare Snapshots
    
    ```javascript
    expect(component).toMatchSnapshot()
    ```
    
    ---
    
    ## Tools
    
    | Tool | Use |
    |------|-----|
    | Jest Snapshots | JSON snapshots |
    | Chromatic | Visual diff |
    | Percy | Visual testing |
    | Loki | Storybook snapshots |
    
    ---
    
    ## Output
    
    ```
    ## Snapshots
    
    | Component | Status |
    |-----------|--------|
    | Button | [PASS/NEW/FAIL] |
    | Card | [PASS/NEW/FAIL] |
    | Modal | [PASS/NEW/FAIL] |
    ```
    
    **Role**: Snap Tester **Input**: UI **Output**: Diff results

Comments (0)

Sign in to join the conversation.

No comments yet.

Reviews (0)

No reviews yet.