record-golden-test

Official

Capture golden replays for visual regression

Authorpunkfuncgames
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Creates reproducible, time-stamped play-session replays and keyframe screenshots to serve as golden references for automated visual regression testing, removing guesswork from UI and gameplay visual checks after code changes.

Core Features & Use Cases

  • Deterministic Replay Recording: Capture all input events and periodic keyframe screenshots while a user plays a session to produce a JSON replay with referenced PNG keyframes.
  • Golden Replay Validation: Replay saved sessions by injecting recorded inputs, recapture screenshots at keyframe timestamps, and compare semantically using AI vision to detect visual regressions.
  • Use Case: Record a 30–60 second reference playthrough of a Unity scene, annotate semantic keyframes, and validate builds on CI to catch broken UI, missing entities, or layout regressions.

Quick Start

Start a recording of the playable scene at 1920x1080 with a 5 second keyframe interval, save the output to Tests/GoldenReplays, and run validate_golden_replay on the saved JSON.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: record-golden-test
Download link: https://github.com/punkfuncgames/tetris-clone/archive/main.zip#record-golden-test

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.