# Rule

> 基於規則的合規檢查 —— 找出問題、保證最低質量。與 `x rule` 配對使用 shell 工作流；rule vs score 的取捨見 rule-vs-score.md。

- Skill: `x-cmd/rule-5` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx get-skill add x-cmd/rule-5`
- Raw SKILL.md: https://api.skillmd.com/api/skills/x-cmd/rule-5/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: x-cmd (https://skillmd.com/u/x-cmd)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/x-cmd/rule-5

---



# Rule

基於規則的合規檢查。找出問題、保證最低質量。

rule vs score 的取捨見 [rule-vs-score.md](rule-vs-score.md)。

## Related

- [score](../score/SKILL.md) — 配對的評分伴侶（見 rule-vs-score）
- [naming](../naming/SKILL.md) — 命名候選用 rule 校驗
- [ontology-database](../ontology-database/SKILL.md) — rule 強制 ondb 的 schema 約束
- [devloop](../devloop/SKILL.md) — rule.yml 是 devloop 的驗證產物
