rule-writing
Installation
SKILL.md
Rule Writing
The single write path for rule files. One invocation = one rule added, edited, or removed. Full format details, budgets, and dialect mapping live in references/rule-format-spec.md — read it before writing.
Step 1 — Understand the request
Collect: the rule text (draft from the user or a calling skill), its scope (project-wide or specific paths), and its evidence. If the intent is unclear, ask one question with a recommended answer.
Step 2 — Admission filter
Reject the draft, stating which test failed, unless it is at least one of:
- Non-discoverable from the repo (landmine, tribal convention), or
- Mistake-correcting with observed evidence.