validate-cr-annotations

Official

Enforce correct CR annotations in code.

Authorphase-rs
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill enforces the mandatory verification protocol for MTG Comprehensive Rules annotations. Every CR number must be verified against docs/MagicCompRules.txt before entering the codebase, preventing incorrect annotations from being committed.

Core Features & Use Cases

  • Verification protocol: For every CR number you are about to write, run grep to locate the line in docs/MagicCompRules.txt.
  • Batch verification: When multiple CR annotations are updated, verify all at once with a small loop.
  • Format and validation guidance: Ensures the CR prefix, numbering, and sub-rule letters exist and match the official text before integration.
  • Use case: Prevents erroneous CR annotations in engine code during reviews and commits.

Quick Start

Before adding a CR annotation, grep the target rule in docs/MagicCompRules.txt to confirm its existence and alignment with the intended text.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: validate-cr-annotations
Download link: https://github.com/phase-rs/phase/archive/main.zip#validate-cr-annotations

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.