Extracts cross-cutting principles from local skills and distills them into actionable project-wide rules.
Rules Distill is a maintenance and optimization utility for Claude Code that prevents principle drift by analyzing your skill library. It automatically scans your installed skills for recurring patterns and utilizes LLM judgment to promote these patterns into centralized rule files. By following a 'deterministic collection + LLM judgment' approach, it ensures that your project rules remain current, actionable, and comprehensive without requiring manual documentation management. It is ideal for developers managing complex agent harnesses who need to maintain high standards of consistency across diverse coding tasks.
Key Features
01Thematic clustering for cross-batch principle analysis
02Multi-verdict logic for appending, revising, or creating rule files
03Automated inventory scanning of skills and rule headings
04Safe execution model requiring explicit user approval for all changes
05Detailed reporting with evidence-based links back to original skills
06172,008 GitHub stars
Use Cases
01Updating project-wide security or style standards based on evolving implementation patterns
02Centralizing repetitive logic from multiple skills into a single source of truth
03Performing periodic rules maintenance after installing or creating new developer skills