validate-cr-annotations

Verify MTG Comprehensive Rule annotations against the official rule list.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enforces the mandatory verification protocol for MTG Comprehensive Rules annotations. Every CR number is verified by grep before it is written. No exceptions.

Core Features & Use Cases

  • Enforces a mandatory CR verification workflow for code changes.
  • Supports batch verification for multiple CR numbers in a patch.
  • Provides a clear protocol to avoid introducing incorrect CR references in the codebase.

Quick Start

Run the CR annotation verification against docs/MagicCompRules.txt before committing changes.

Frequently Asked Questions about validate-cr-annotations

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

FAQPage Schema
How do I verify MTG Comprehensive Rules annotations before committing code changes?

Verify MTG CR annotations by running a grep check against the official docs/MagicCompRules.txt file before committing code changes. This enforces a mandatory verification protocol to ensure every CR number exists in the official rule list.

Can I batch validate multiple CR numbers in a single code patch?

Batch validation of multiple CR numbers is supported for a single code patch. The verification workflow checks all modified CR annotations at once against the official comprehensive rules to ensure correctness before repository entry.

What is a CR annotation verification protocol for Magic rules in code review?

A CR annotation verification protocol checks inline and doc comments containing Magic Comprehensive Rules references against the official rule list. It ensures developers avoid introducing incorrect CR references into the codebase during code changes and reviews.

Do I need an official MagicCompRules.txt file to validate CR annotations?

An official MagicCompRules.txt file is required to validate CR annotations. The verification process applies grep against this official rule list to confirm every CR number is correct before code enters the repository.

When should I run MTG CR annotation validation in my development workflow?

Run MTG CR annotation validation before committing changes to the repository. The verification protocol applies to developers who write, modify, or audit CR annotations across code changes and reviews, ensuring no incorrect references enter the codebase.