golden-test

Automate creation and maintenance of stable golden prompt tests for Puppeteer-based tests.

64|8|Updated Oct 24, 2025
One-click install
npx skills add https://github.com/GregorStocks/mage-bench --skill golden-test
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: golden-test
Source: https://github.com/GregorStocks/mage-bench/tree/main/.claude/skills/golden-test
Command: npx skills add https://github.com/GregorStocks/mage-bench --skill golden-test

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Write or update low-noise golden prompt tests in puppeteer/tests, including minimal decks, replay scripts, and golden regeneration.

Core Features & Use Cases

  • Deterministic test scaffolding for Magic: The Gathering deck scenarios.
  • Guidance on building compact opening hands and recorded scenarios.
  • Use case: quickly validate a new mechanic with stable, low-noise goldens.

Quick Start

Create a small, deterministic golden test scenario and regenerate its golden artifacts.

Frequently Asked Questions about golden-test

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

FAQPage Schema
How do I create deterministic golden tests for Puppeteer?

Golden prompt tests are deterministic test cases for Puppeteer that validate game-play simulations with minimal deviation. They solve test flakiness by using compact opening hands and recorded scenarios to ensure stable, reproducible test execution.

How do I generate stable golden artifacts for Magic: The Gathering deck scenarios?

You generate stable golden artifacts for Magic: The Gathering deck scenarios by building compact opening hands and recorded replay scripts. This deterministic test scaffolding allows you to quickly validate new mechanics with stable, low-noise goldens.

Can I automate golden regeneration for Puppeteer tests using make targets?

Yes, you can automate golden regeneration for Puppeteer tests using make targets. The workflow provides golden helper integration and regeneration tooling to automatically update golden artifacts when your deterministic test scenarios change.

What is the best way to maintain low-noise golden prompt tests?

The best way to maintain low-noise golden prompt tests is using dedicated regeneration tooling and make targets. This standardizes test deck requirements and golden helper integration, minimizing deviation in AI-assisted test development workflows.

Does this golden test approach work for validating new game mechanics?

Yes, this golden test approach works for validating new game mechanics by creating small, deterministic golden test scenarios. You can quickly validate mechanics with stable goldens built from minimal decks and recorded replay scripts.