← ClaudeAtlas

dhpk-rules-distilllisted

Scans installed skills to extract cross-cutting principles and distill them into rules (append, revise, or create rule files), for periodic rules maintenance, after installing new skills, or when a dhpk-skill-stocktake surfaces patterns that should be rules. Not for: creating skills (use dhpk-create-skill), one-off rule edits, code review. Output: candidate report (principle + evidence + verdict) for user approval.
hmj1026/dhpk · ★ 2 · Data & Documents · score 71
Install: claude install-skill hmj1026/dhpk
# Rules Distill Scan installed skills, extract cross-cutting principles that appear in multiple skills, and distill them into rules — appending to existing rule files, revising outdated content, or creating new rule files. Applies the "deterministic collection + LLM judgment" principle: scripts collect facts exhaustively, then an LLM cross-reads the full context and produces verdicts. ## When to Use - Periodic rules maintenance (monthly or after installing new skills) - After a skill-stocktake reveals patterns that should be rules - When rules feel incomplete relative to the skills being used ## When NOT to Use - Creating or editing a single skill (use `dhpk-create-skill`) - One-off manual rule edits where no cross-skill pattern is involved - Language- or framework-specific knowledge (keep it in the skill or a language rule) - Code review (use `dhpk-change-review`) or skill-quality audits (use `dhpk-skill-health-audit` / `dhpk-skill-stocktake`) ## How It Works Resolve the harness directory with `@skills/dhpk-harness-revise/references/harness-directory-contract.md` before collecting skills or rules so scans cannot mix platforms. The rules distillation process follows three phases: ### Phase 1: Inventory (Deterministic Collection) #### 1a. Collect skill inventory ```bash bash ~/.claude/skills/dhpk-rules-distill/scripts/scan-skills.sh ``` #### 1b. Collect rules index ```bash bash ~/.claude/skills/dhpk-rules-distill/scripts/scan-rules.sh ``` #### 1c. Present to user