source-command-regenerate-cards

Regenerate card abilities by re-parsing stored card text and updating card files.

Updated May 14, 2026
One-click install
npx skills add https://github.com/chroniicallydiistracted/LorcanaChamp --skill source-command-regenerate-cards-chroniicallydiistracted
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: source-command-regenerate-cards
Source: https://github.com/chroniicallydiistracted/LorcanaChamp/tree/main/references/lorcana-simulator/.agents/skills/source-command-regenerate-cards
Command: npx skills add https://github.com/chroniicallydiistracted/LorcanaChamp --skill source-command-regenerate-cards-chroniicallydiistracted

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill solves the problem of outdated or missing card ability logic after updates to card-text parsing rules, so your card database stays synchronized with the latest parser behavior.

Core Features & Use Cases

  • Batch regeneration: Re-runs the parser across specified sets, individual cards, or all sets to update abilities based on the latest card text interpretation.
  • Intelligent comparison: Compares newly parsed abilities against existing abilities and updates only what changed.
  • Safety via manual overrides: Skips cards marked with manual override by default to avoid overwriting manually maintained complex abilities.
  • Verification-focused workflow: Performs checks (e.g., type checks and card tests) to confirm regenerated changes are valid.
  • Use case example: After improving the parser so it recognizes a previously-missed trigger/effect pattern, you can regenerate Set 010 so affected cards gain the new ability outputs while leaving already-correct cards unchanged.

Quick Start

Run the regenerated card abilities command for a specific set by saying: /regenerate-cards 010.

Frequently Asked Questions about source-command-regenerate-cards

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

FAQPage Schema
How do I regenerate card abilities after updating my text parser rules?

To regenerate card abilities after parser changes, re-parse stored card text and update card files to match current parser output. You can target specific sets, individual card IDs, or trigger a full regeneration across all sets with confirmation.

Can I preview card ability regeneration changes before modifying files?

Yes, you can preview card ability regeneration changes before modifying files by running the command with the --dry-run flag. This allows you to verify newly parsed abilities against existing ones without committing updates.

How do I regenerate all card sets without overwriting manually maintained abilities?

Regenerating all card sets preserves manualOverride cards by default to avoid overwriting manually maintained complex abilities. You must explicitly use the --force flag to override this safety and update all targeted card files.

What YAML frontmatter is required to regenerate card abilities successfully?

Regenerating card abilities requires mandatory YAML frontmatter containing name and description fields for each card file. The regeneration process performs update and verify steps to confirm regenerated changes are valid without implementing new parser patterns.

Does batch card regeneration support targeted updates for a single card ID?

Yes, batch card regeneration supports targeted updates for a single card ID, specific sets, or full regeneration across all sets. It intelligently compares newly parsed abilities against existing ones and updates only what changed.

Why are my regenerated card abilities failing verification after a parser update?

Regenerated card abilities may fail verification if the stored card text lacks mandatory YAML frontmatter or if manual overrides conflict with new parser output. The process performs type checks and card tests to confirm validity without implementing new parser patterns.