.agents/skills/lorcana-cards/SKILL.md
Create, debug, fix, and triage Disney Lorcana cards in packages/lorcana/lorcana-cards, and extend the Lorcana engine when printed text exposes a bounded runtime gap.
npx skillsauth add TheCardGoat/lorcana-engine lorcana-cardsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill when working in packages/lorcana/lorcana-cards.
This package is not in one uniform migration state. Treat card type maturity as part of the task, not background noise.
Default references:
Do not assume a numbered test file means the card is really covered.
Card migration is not a lorcana-cards-only task. Printed behavior can depend on:
packages/lorcana/lorcana-cardspackages/lorcana/lorcana-enginepackages/lorcana/lorcana-typesBefore marking a card blocked, prove whether the issue is:
Do not infer a blocker from one stale generated stub, one commented legacy test, or one failing first attempt.
Before coding:
missingImplementation and missingTests.packages/lorcana/lorcana-cards/docs/ACTION_MIGRATION_ANALYSIS.md for action work.packages/lorcana/lorcana-cards/docs/SET_001_ITEM_MIGRATION_ANALYSIS.md for the set-001 item migration surface.memory/bank.md and memory/schema.md.packages/lorcana/lorcana-engine/src/runtime-moves/resolution/action-effects.packages/lorcana/lorcana-engine/src/runtime-moves/moves/abilities/activate-ability.ts.packages/lorcana/lorcana-engine/src/triggered-abilities/index.ts.packages/lorcana/lorcana-engine/src/rules/derived-state.ts and packages/lorcana/lorcana-engine/src/projection.packages/lorcana/lorcana-types/src.Useful repo checks:
rg --files packages/lorcana/lorcana-cards/src/cards
rg -n "missingImplementation|missingTests" packages/lorcana/lorcana-cards/src/cards/<SET>
rg -n "LEGACY IMPLEMENTATION|It\\.skip|Describe\\.skip" packages/lorcana/lorcana-cards/src/cards/<SET> -g '*.test.ts'
rg --files packages/lorcana/lorcana-cards/docs
rg -n "usesPerTurn|once-per-turn|first-time-each-turn|PLAYED_CARD|classification|discard" packages/lorcana/lorcana-engine/src packages/lorcana/lorcana-types/src -g '*.ts'
rg -n "put-on-bottom|reveal-top-card|cost-reduction|discard" packages/lorcana/lorcana-cards/src/cards -g '*.ts'
missingImplementation, missingTests, or abilities: [] do not count as migration coverage.Use actions as the default reference surface when you need the cleanest current DSL examples.
Workflow:
sequencechoiceoroptionalconditionalfor-eachscrytype: "action" DSL that matches printed text.missingImplementation or missingTests true only after the remaining blocker is proven.Use current live helpers first:
playCardplayCardWithChoiceplayCardWithDestinationsplaySongplaySongTogetherresolvePendingEffectrespondWithDo not treat character files as uniformly migrated.
First classify the card:
Then decide whether the card is:
Character guidance:
.test.ts file is only commented legacy content, treat the card as effectively untested.lorcana-engine and lorcana-types when the gap is bounded.Items are usually best modeled and tested through activateAbility(...), explicit costs, and authoritative zone assertions.
Default workflow:
exertinkactivateAbility(...) tests before widening scope.Active repo patterns exist for:
Locations are mature enough to use as real references.
Treat these as first-class patterns:
toBeAtLocation(...)Use live location tests instead of action analogies when the card text is really location-specific.
When a card is broken or suspicious, classify the failure before changing code:
Debugging rules:
This package also contains parser and generation tooling. Use that fact deliberately.
Inspect generated or parser-driven files when:
Key scripts:
bun run --cwd packages/lorcana/lorcana-cards generate
bun run --cwd packages/lorcana/lorcana-cards generate-cards:all --skip-fetch
bun run --cwd packages/lorcana/lorcana-cards fetch
Use generate-cards.ts / generate-cards-all.ts when the task is about regeneration or pipeline fixes.
Do not hide parser or generator gaps inside hand-authored card hacks. If the blocker is really generation or parser coverage, escalate it instead of baking in one-off local workarounds.
Default verification:
bun test --cwd packages/lorcana/lorcana-cards "./src/cards/<SET>/<TYPE>/<NUMBER>-<card-slug>.test.ts"
bun run --cwd packages/lorcana/lorcana-cards check-types
Widen scope only when needed:
Report clearly when:
check-types is failing for unrelated reasonsAfter substantive skill-guided work:
memory/bank.md in place when the repo state or guidance changed.memory/schema.md for the expected compact format.Reusable request templates live in PROMPTS.md.
documentation
One-time setup that gathers design context for your project and saves it to your AI config file. Run once to establish persistent design guidelines.
tools
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
development
--- name: review-pr-comments description: Systematically process GitHub pull request review feedback end-to-end: pick a target PR, identify unanswered or unresolved comments, handle each thread sequentially, implement required code updates, run repository verification checks, and post clear responses. Use when asked to review PR comments, resolve review threads, or address reviewer suggestions/questions. --- # Review PR Comments Process pull request feedback one thread at a time and finish wit
testing
Tone down overly bold or visually aggressive designs. Reduces intensity while maintaining design quality and impact.