add-card-data-pipeline

Modify and maintain the MTG card data pipeline converting MTGJSON to card-data.json.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/gamajose/MagicTheGathering --skill add-card-data-pipeline-gamajose
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-card-data-pipeline
Source: https://github.com/gamajose/MagicTheGathering/tree/main/.claude/skills/add-card-data-pipeline
Command: npx skills add https://github.com/gamajose/MagicTheGathering --skill add-card-data-pipeline-gamajose

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Card Data Pipeline Skill consolidates and codifies the rules for editing the MTG card data pipeline that converts MTGJSON into the engine-ready, typed card exports, ensuring CR-correctness, consistent parsing, and validated exports.

Core Features & Use Cases

  • Orchestrates changes across MTGJSON parsing, oracle parsing, synthesis, and export to card-data.json, ensuring end-to-end consistency.
  • Supports adding new fields, changing parser outputs, updating the card database loading paths, and maintaining the coverage reporting pipeline.
  • Useful for developers implementing or debugging the card data pipeline: adding synthesis functions, validating how changes propagate to exports, and regenerating artifacts for testing and CI.

Quick Start

Regenerate the card export by running the oracle-gen data workflow to verify your changes.

Frequently Asked Questions about add-card-data-pipeline

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

FAQPage Schema
How do I convert MTGJSON data into an engine-ready card export?

To convert MTGJSON data, the card data pipeline loads raw inputs, builds oracle faces, applies synthesis rules, and exports typed card-data.json. You orchestrate changes across these paths to ensure end-to-end consistency.

What is MTG card data synthesis and when do I need to modify it?

MTG card data synthesis is the pipeline stage that processes parsed oracle faces into engine-ready outputs. You modify it when adding new fields or changing parser outputs, ensuring rules accuracy and validated exports.

How do I regenerate card-data.json after updating the MTGJSON parsing logic?

To regenerate card-data.json after updates, run the oracle-gen data workflow. This workflow validates that your parsing and synthesis changes propagate correctly to the final export artifacts.

Does the MTG card data pipeline require tests for new synthesis functions?

Yes, the card data pipeline requires adding tests for new synthesis functions. Adding tests verifies CR-accuracy and ensures that changes to the oracle face building or export paths remain validated.

Can I update the MTG card database loading paths without breaking the export?

Yes, you can update card database loading paths within the pipeline. The Skill coordinates changes across loading, synthesis, and export paths, requiring you to run the oracle-gen workflow to verify export consistency.

What is the best way to maintain CR-accuracy when modifying the MTG card data pipeline?

The best way to maintain CR-accuracy is verifying rules correctness during oracle parsing and synthesis. The pipeline codifies rules for editing these paths and requires regenerating artifacts with the oracle-gen workflow after changes.