# Rule

> Rule-based compliance checking — find problems, ensure minimum quality. Pair with `x rule` for the shell workflow; see rule-vs-score.md for when to use rule vs score.

- Skill: `x-cmd/rule-2` (Agent Skill, multi-file: 6 files)
- Install (CLI): `npx skillmds@latest add x-cmd/rule-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/x-cmd/rule-2/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Productivity, Coding & Dev Tools
- Author: x-cmd (https://skillmd.com/u/x-cmd)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/x-cmd/rule-2

---



# Rule

Rule-based compliance checking. Find problems, ensure minimum quality.

See [rule-vs-score.md](rule-vs-score.md) for when to use rule vs score.

## Related

- [score](../score/SKILL.md) — paired scoring companion (see rule-vs-score)
- [naming](../naming/SKILL.md) — naming candidates are validated against rule
- [ontology-database](../ontology-database/SKILL.md) — rule enforces schema constraints for ondb
- [devloop](../devloop/SKILL.md) — rule.yml is the devloop verification artifact

