fix-scenarios

Fix failing scenario tests by analyzing open issues and oracle texts.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/Tomoda826/mtg-goldfisher --skill fix-scenarios
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fix-scenarios
Source: https://github.com/Tomoda826/mtg-goldfisher/tree/main/.claude/skills/fix-scenarios
Command: npx skills add https://github.com/Tomoda826/mtg-goldfisher --skill fix-scenarios

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Picks the next open issue from docs/SCENARIO_ISSUES.md, deeply analyzes each affected scenario against oracle text, fixes the test or engine (one issue per run), and verifies the fix.

Core Features & Use Cases

  • Read the issue tracker and select the highest-impact OPEN issue.
  • Deeply analyze each affected scenario by consulting card oracle texts and engine IR, determine whether tests or engine are at fault, implement a fix, and re-validate.
  • Create and validate end-to-end test scenarios that prove the fix works and covers edge cases.

Quick Start

Run the fix-scenarios workflow to read docs/SCENARIO_ISSUES.md, pick the next OPEN issue, implement the fix, and validate it with existing or new scenarios.

Frequently Asked Questions about fix-scenarios

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

FAQPage Schema
How do I automatically fix failing scenario tests from an issue tracker?

To automatically fix failing scenario tests, this Skill reads open issues from docs/SCENARIO_ISSUES.md, analyzes affected scenarios against oracle texts, applies validated changes to tests or engine logic, and verifies the fixes end-to-end.

How does scenario test automation determine whether to fix the test or the engine logic?

Scenario test automation determines whether to fix the test or engine logic by deeply analyzing each affected scenario against oracle text and engine IR, isolating the root cause before applying minimal validated changes to restore correct behavior.

What's the best way to validate fixes for scenario tests using JSON and issue trackers?

The best way to validate fixes for scenario tests is to create and run end-to-end test scenarios that prove the fix works, using the repository's standard execution scripts to verify the updated scenario JSONs and engine logic.

Do I need a specific issue tracker format to automate scenario test fixes?

Yes, you need a specific issue tracker format: the workflow reads open issues directly from the docs/SCENARIO_ISSUES.md file in your repository to select the highest-impact failing scenario test to process.

Can I use this automated scenario runner to fix multiple test issues at once?

No, you cannot use this automated scenario runner to fix multiple test issues at once; it processes exactly one open issue per run to ensure minimal, validated changes and clear documentation in SCENARIO_ISSUES.md.

Why does my scenario test fix need new test scenarios added to the repository?

Your scenario test fix needs new test scenarios to ensure changes are supported by end-to-end validation, proving the fix works and adequately covers edge cases before updating the issue tracker documentation.