一键导入
card-finder
Find Magic cards for compact golden-test scenarios using existing repo goldens, curated references, and Scryfall search recipes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Find Magic cards for compact golden-test scenarios using existing repo goldens, curated references, and Scryfall search recipes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Debug a failing golden test from GitHub Actions logs and fix the root cause without papering over nondeterminism.
Investigate a game from raw logs, trace bugs to source code, and file detailed issues. Use for deeper debugging than export-only analysis.
Repo-specific validation and PR instructions for mage-bench.
Analyze exported game files to assess gameplay, model decisions, and likely bugs without raw logs. Use for quick game triage.
Write or update low-noise golden prompt tests in tests/, including minimal decks, replay scripts, and golden regeneration.
Create a new game export schema version, migration module, and related tests.
| name | card-finder |
| description | Find Magic cards for compact golden-test scenarios using existing repo goldens, curated references, and Scryfall search recipes. |
Use this when the task is "find the right Magic cards for a test" rather than "write the golden itself."
Read only what you need:
references/golden-test-cards.md for repo-proven cards and query patternsStart with the curated reference. It is intentionally biased toward reusable, general-purpose test cards, not every niche card that happens to appear in a current golden.
If the mechanic is not covered there, run the helper script:
uv run python -m magebench.cli.find_test_cards --list-recipes
uv run python -m magebench.cli.find_test_cards --recipe zero-mana-body
uv run python -m magebench.cli.find_test_cards --recipe trigger-prompt --filter 't:white'
uv run python -m magebench.cli.find_test_cards --query 'game:paper unique:cards function:clone is:spell mv<=4 order:cmc direction:asc'
Bias toward cards that reduce turns, prompts, and unrelated board text: fast mana, zero-mana bodies, single-card setup, and deterministic triggers.
When giving recommendations, return a short list with "why this is useful in a golden" and "what noise it adds." Use existing repo goldens as evidence for what works, but do not turn the curated list into an index of one-off scenario cards.
game:paper unique:cards so results match paper
XMage coverage and collapse duplicate printings.order:cmc direction:asc when you want the cheapest setup pieces first.function: tags for broad roles such as function:clone,
function:removal, or function:counterspell.o: for Oracle text fragments, fo: when reminder text matters, and
o:/.../ regex when you care about text shape such as o:/^When/.is: flags for UI-heavy cards: is:mdfc, is:split, is:transform.!"Exact Name" when you already suspect a card and want all printings or
details for that exact card.If the user is also writing a golden, hand off to golden-test after the card
selection is narrowed down.