lorcana-test-generation

Generate happy-path ability tests for Lorcana cards from card files.

30|12|Updated Jul 10, 2025
One-click install
npx skills add https://github.com/TheCardGoat/tcg-engines --skill lorcana-test-generation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lorcana-test-generation
Source: https://github.com/TheCardGoat/tcg-engines/tree/main/.claude/skills/lorcana-test-generation
Command: npx skills add https://github.com/TheCardGoat/tcg-engines --skill lorcana-test-generation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generate basic happy-path tests for Lorcana card abilities. Tests verify ability behavior only - NO property validation tests. Use when implementing or updating card tests. Effects are tested separately in the engine.

Core Features & Use Cases

  • Identify card abilities from Lorcana definitions and produce corresponding test templates
  • Provide an interactive workflow to review, customize, and finalize tests per card
  • Emit a single test file per card containing all relevant ability tests

Quick Start

Provide the card file path to generate tests for a Lorcana card.

Frequently Asked Questions about lorcana-test-generation

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

FAQPage Schema
How do I generate tests for Lorcana card abilities?

Generate Lorcana card ability tests by providing a card file path; the tool reads card definitions, classifies abilities by type, and interactively produces behavior-focused test templates.

What does automated Lorcana ability testing cover?

Automated Lorcana ability testing covers happy-path behavior verification for card abilities. It explicitly excludes property validation tests, as effects are tested separately in the engine.

Do I need the @tcg/lorcana/testing package to generate card tests?

Yes, Lorcana test generation relies on LorcanaTestEngine and testing utilities from @tcg/lorcana/testing to classify abilities and ensure tests focus on behavior rather than data.

Can I customize test templates during the Lorcana test generation workflow?

Yes, the tool provides an interactive workflow to review, customize, and finalize tests per card before writing a single output test file containing all relevant ability tests.

Why does my Lorcana test file not include property validation tests?

Lorcana test files exclude property validation tests by design; the tool generates behavior-focused happy-path tests for card abilities, while effects are tested separately in the engine.

When should I use automated test generation for Lorcana cards?

Use automated Lorcana test generation when implementing or updating card tests to quickly produce basic happy-path ability tests, reducing manual test template creation effort.