원클릭으로
add-random-card
Pick a random unimplemented card from a set and implement it. Accepts either a backlog cards.md path or a set name/code.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Pick a random unimplemented card from a set and implement it. Accepts either a backlog cards.md path or a set name/code.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Adds a new feature or mechanic to the Argentum Engine (SDK primitive, effect, trigger, condition, static/replacement ability, server/client capability) following the project's architecture and SDK-elegance principles. Use when implementing engine/SDK/server/client functionality that isn't a single card — e.g. "add an effect type", "support a new keyword", "add a decision UI", "make the engine handle X".
Implements new Magic: The Gathering cards for the Argentum Engine. Use when adding a new card, the user provides a card name to implement, or asks to implement a specific MTG card.
Review pending changes (a branch, PR, or working tree) for the Argentum Engine. Optimizes for an elegant, reusable SDK — flags one-off effects/abilities that should compose existing primitives — and checks correctness, projection use, tests, and architectural fit. Use when the user says "review this PR", "review this branch", "review my changes", or asks for a code review of pending work.
Generate a test scenario JSON for the DevScenarioController. Takes a description of what you want to test and produces a valid scenario file.
Pick the next unchecked Bloomburrow card from the AI advisor checklist, evaluate if it needs an advisor, create one if needed, and check it off.
| name | add-random-card |
| description | Pick a random unimplemented card from a set and implement it. Accepts either a backlog cards.md path or a set name/code. |
| argument-hint | <set-name-or-code> | <path-to-backlog-cards.md> |
Implement a random unimplemented card from the set referenced by $ARGUMENTS.
$ARGUMENTS can be either:
tempest, tmp, scourge, scg) → use the card-status script as the source of truth.cards.md (e.g., backlog/sets/scourge/cards.md) → use the hand-curated checklist.Check whether $ARGUMENTS looks like a file path (contains / or ends in .md).
scripts/card-status --set <CODE> succeeds; it doesn't require maintaining a hand-curated checklist.If you're unsure which mode applies, try card-status mode first and fall back to backlog mode if scripts/card-status errors with "no set found".
- [ ] are unimplemented, - [x] are implemented.tempest → tmp, bloomburrow → blb). Try the argument as-is first; card-status accepts both upper- and lower-case codes.scripts/card-status --set <CODE> --list to get the missing-card report. Output looks like:
Set Name (CODE) — X / Y implemented
Missing draft:
- Card Name One
- Card Name Two
...
Missing extras:
- Card Name Three
...
scripts/card-status errors with "no set found with code X": the set isn't scaffolded under mtg-sets/.../definitions/<code>/ yet. Stop and tell the user — they'll need to scaffold the empty set first (an empty <Set>Set.kt registered via ServiceLoader) before this mode can work. Do NOT fall back to picking a card from Scryfall directly; the add-card skill assumes the set is registered.jot -r 1 0 <max_index> to generate a true random 0-based index. LLM "random" picks aren't truly random.In card-status mode you already have the code. In backlog mode, infer it from the file path or header:
scourge → scgonslaught → onslegions → lgnportal → poralpha → leakhans-of-tarkir → ktktempest → tmpIf unclear, check the file header for the set name and map it.
Invoke the add-card skill with the card name and set code:
/add-card <Card Name> --set <set-code>
This handles: Scryfall lookup, card definition, set registration, effect implementation, tests, and building.
After the add-card skill completes:
cards.md file has the card checked off, the colour count in the header is updated, and the total implementation count is updated (add-card handles this in its Step 9).scripts/card-status --set <CODE> and confirm the implemented count went up by 1 and the picked card no longer appears in --list output. No backlog file to update.