What problem does it solve?
This skill validates rule files to ensure they meet Claude Code standards, including required YAML frontmatter, proper formatting, correct file paths, and accurate trigger definitions.
Core Features & Use Cases
- Frontmatter validation: checks for required fields (name, description, standard, etc.) and correct YAML syntax.
- Path and format checks: ensures rule files are located under /.claude/rules/ and follow naming conventions.
- Trigger and usage validation: verifies trigger definitions and usage examples align with SSOT.
- Code review and audit readiness: helps reviewers quickly identify non-compliant rules before merge.
Use Case: A maintainer adds a new rule or updates an existing one; run /rule-validate to confirm validity and prevent defects from entering the standard ruleset.
Quick Start
Provide the rule name (without extension) and run the validator to verify compliance.