rules-distill

Extracts draft inventory-based rule recommendations from analyzed codebases, pending user approval for implementation.

1|Updated Mar 3, 2026
One-click install
npx skills add https://github.com/samymity/bridge-ventures-backend --skill rules-distill-samymity
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rules-distill
Source: https://github.com/samymity/bridge-ventures-backend/tree/main/.claude/skills/rules-distill
Command: npx skills add https://github.com/samymity/bridge-ventures-backend --skill rules-distill-samymity

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Your skill collection can accumulate overlapping best practices that stay trapped inside individual skills instead of becoming consistent, reusable rules.

Core Features & Use Cases

  • Cross-cutting principles extraction: Finds principles that appear across multiple skills and are candidates for promotion to rules.
  • Deterministic inventory + LLM judgment: Uses scripts to exhaustively inventory skills and existing rules, then uses an LLM to cross-read full context to make verdicts.
  • Actionable rule drafting: Produces “do X / don’t Y” behavioral guidance and routes each candidate to Append, Revise, New Section, New File, or Skip.
  • User-controlled application: Requires explicit user approval (or modification/skipping) before any rules are changed.

Quick Start

Run the rules-distill skill to scan installed skills and existing rule files, then review and approve the proposed rule updates in the resulting report.

Frequently Asked Questions about rules-distill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract cross-cutting principles from multiple installed skills into reusable rules?

To extract cross-cutting principles into reusable rules, you scan installed skills and existing rules inventories deterministically, then apply LLM-based cross-reading to produce candidate principles with evidence and violation risk. The process outputs a results.json file routing each candidate to Append, Revise, New Section, New File, or Skip actions.

What is rules distillation and when do I need it for knowledge management?

Rules distillation is the process of finding overlapping best practices trapped inside individual skills and promoting them to consistent, reusable governance rules. You need it during periodic rule maintenance, after skill stocktakes, or whenever rule coverage feels incomplete relative to your current skill set.

Does the rules-distill skill automatically modify existing rule files?

No, the rules-distill skill does not auto-modify rules. It produces candidate principles with evidence and saves a results.json file proposing Append, Revise, New Section, New File, or Skip actions. Explicit user approval, modification, or skipping is required before any rules are changed.

How do I maintain quality control when my skill collection accumulates overlapping best practices?

To maintain quality control over overlapping best practices, you run a deterministic inventory scan of all installed skills and existing rules, followed by LLM-based cross-reading verdicts. This generates actionable do X / don't Y behavioral guidance routed to specific rule update actions for user approval.

Can I use LLM judgment to draft behavioral governance rules from my existing automation skills?

Yes, you can use LLM judgment to draft governance rules from automation skills. The skill uses scripts to exhaustively inventory skills and existing rules, then leverages an LLM to cross-read the full context and make verdicts, producing actionable rule drafts without auto-modifying your files.

What are the limitations of using deterministic inventory scanning for rule maintenance?

Deterministic inventory scanning provides exhaustive coverage but relies on LLM cross-reading for verdicts, meaning output quality depends on context provided. It only generates candidate principles in results.json without auto-modifying rules, requiring manual user review and approval for every proposed Append, Revise, or New File action.