Back to skills
SKILL.md
Validate Rules
ASecurityValidate rules against schema and contracts
- 11 stars
- 0 votes
- 0 copies
- 3 views
- Added February 10, 2026
Security analysis
100/100Pro scans all 3 files and shows the line behind each finding
npx -y skills add reporails/rules --skill validate-rules --agent claude-codeAre you the author of Validate Rules?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/reporails-validate-rules)---
name: validate-rules
description: Validate rules against schema and contracts
---
# /validate-rules
Validate rules against their schema and rule.md/rule.yml contracts.
## Usage
```
/validate-rules [coordinate] [options]
```
**Options:**
- `--category <cat>`: Validate only rules in category (structure, content, efficiency, maintenance, governance)
## Examples
```
/validate-rules # All rules
/validate-rules CORE:S:0001 # Single rule
/validate-rules --category structure # Category filter
```
## Workflow
1. Load rule schema from `backbone.schemas.rule`
2. Load coordinate map from `backbone.registry.coordinate_map`
3. Resolve rule directories via `backbone.rules.patterns`
4. For each rule:
- Validate rule.md frontmatter against schema
- Validate rule.yml patterns match check IDs in rule.md
- Verify coordinate exists in coordinate-map.yml
- Verify check types don't exceed declared rule type ceiling
- Verify supersedes target is at a strictly lower level
## Quick Reference
| Level | Check |
|-------|-------|
| 1 | Schema: fields, types, format, coordinate pattern |
| 2 | Contract: rule.md ↔ rule.yml check ID matching |
| 3 | Cross-reference: coordinate-map, tombstones, supersession |
Files in this skill
- SKILL.md
- validation.md
- workflow.md
Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.