rules-distill
Installation
SKILL.md
rules-distill — promote cross-cutting principles to rules
Scan installed skills, find principles that recur across 2+ skills, and distill them into rules — appending to, revising, or creating rule files. The skill produces candidates and verdicts; it never edits rules without your approval.
Design note: the old version shelled out to scan scripts and split analysis into thematic subagent batches with a cross-batch merge step. With a large context window that is unnecessary — and the cross-batch merge existed only to recover the "appears in 2+ skills" signal that batching broke. Reading every skill and every rule in one context makes that test exact, with no merge step.
When to Use
- Periodic rules maintenance (monthly, or after installing new skills)
- After a
skill-stocktakereveals patterns that should be rules - When rules feel incomplete relative to the skills in use