← ClaudeAtlas

rule-minerlisted

Mine your Claude Code sessions and code-review history for the corrections you keep repeating, cluster them, adversarially verify each candidate, and distill the survivors into CLAUDE.md rules — or check that existing rules still hold. Uses a dynamic Workflow harness with one verifier per rule to avoid false positives. Use when the user says 'mine my sessions for rules', 'what corrections do I keep making', 'turn my repeated feedback into CLAUDE.md rules', 'audit my CLAUDE.md rules', or 'why does Claude keep missing X'.
vanducng/skills · ★ 0 · AI & Automation · score 76
Install: claude install-skill vanducng/skills
# Rule Miner Turn the corrections you keep making into durable rules — and keep the rules you already wrote honest. It runs as a **dynamic [Workflow](#how-it-runs)**: separate agents with their own context windows, so verification can't be biased by the agent that proposed the rule. ## What this skill is — and isn't | Skill | Question it answers | Output | |---|---|---| | **`vd:rule-miner` (--mine)** | **"What do I keep correcting that should be a rule?"** | **CLAUDE.md rule proposals, evidence-backed** | | **`vd:rule-miner` (--check)** | **"Do my existing rules still hold on this code?"** | **Confirmed rule violations, false-positives filtered** | | `vd:docs` | "Is the team documentation current?" | Updated `docs/` | | `vd:code-review` | "Is this change ready to land?" | Inline PR comments | Rule-miner manages the **rules Claude follows** (CLAUDE.md, `~/.claude/rules/*.md`), not project docs and not a specific diff's review. It proposes; it never silently rewrites your rule files. ## Two directions | Mode | Direction | What it does | |---|---|---| | `--mine` *(default)* | history → rules | Sweep sessions + git + PR reviews for repeated corrections, cluster, verify each candidate, distill survivors into proposed rules | | `--check` | rules → code | Load the existing rule set, run one verifier agent per rule against a diff/codebase, skeptic-filter false positives, report real violations | Detect from the argument. "what do I keep correcting / turn my feedback into rules