From ec36f05e8606f877dd917bb1f4232c4e37c6e8a0 Mon Sep 17 00:00:00 2001 From: Paul O'Reilly Date: Sat, 28 Mar 2026 17:48:58 +1300 Subject: [PATCH] Update distill-best-practices to target skynet/best-practices repo All paths now point to ~/dev/claude/projects/best-practices/ instead of claude-foundations/best-practices/. The settings.yaml remains in claude-foundations (where the pipeline config lives). Co-Authored-By: Claude Opus 4.6 (1M context) --- skills/distill-best-practices/SKILL.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/skills/distill-best-practices/SKILL.md b/skills/distill-best-practices/SKILL.md index 363b425..0f16de1 100644 --- a/skills/distill-best-practices/SKILL.md +++ b/skills/distill-best-practices/SKILL.md @@ -2,9 +2,9 @@ name: distill-best-practices description: > Cross-project best practices distillation. Reads changed memory files from all tracked - projects and proposes additions, updates, or removals to claude-foundations/best-practices/. - Run from any project -- always targets claude-foundations as output. Interactive -- presents - proposals for approval before making changes. + projects and proposes additions, updates, or removals to ~/dev/claude/projects/best-practices/. + Run from any project -- always targets skynet/best-practices repo as output. Interactive -- + presents proposals for approval before making changes. allowed-tools: Read, Edit, Write, Glob, Grep, Bash(git -C *), Bash(git rev-parse *), Bash(ls *), Bash(cat *), Bash(head *), Bash(date *) --- @@ -16,10 +16,10 @@ You are extracting generalisable best practices from project-specific memory fil ### Pre-gathered context (read at runtime) The following files should be read using the Read tool at the start of execution: -- `~/dev/claude/projects/claude-foundations/best-practices/.distill-state.json` — Distill state (if not found, treat as `{}`) +- `~/dev/claude/projects/best-practices/.distill-state.json` — Distill state (if not found, treat as `{}`) - `~/dev/claude/projects/claude-foundations/settings.yaml` — Settings (if not found, use defaults from instructions) -- `~/dev/claude/projects/claude-foundations/BESTPRACTICES.md` — Current best-practices index -- Use Glob to list `~/dev/claude/projects/claude-foundations/best-practices/*.md` for available topic files +- `~/dev/claude/projects/best-practices/BESTPRACTICES.md` — Current best-practices index +- Use Glob to list `~/dev/claude/projects/best-practices/*.md` for available topic files - Use Glob to list `~/dev/claude/projects/*/` for the projects directory listing ## Instructions @@ -30,9 +30,9 @@ The project root is `~/dev/claude` (hardcoded — change at the top of the `!`co Key paths: - **Settings**: `~/dev/claude/projects/claude-foundations/settings.yaml` -- **Best practices dir**: `~/dev/claude/projects/claude-foundations/best-practices/` -- **Best practices index**: `~/dev/claude/projects/claude-foundations/BESTPRACTICES.md` -- **Distill state**: `~/dev/claude/projects/claude-foundations/best-practices/.distill-state.json` +- **Best practices dir**: `~/dev/claude/projects/best-practices/` +- **Best practices index**: `~/dev/claude/projects/best-practices/BESTPRACTICES.md` +- **Distill state**: `~/dev/claude/projects/best-practices/.distill-state.json` Read `settings.yaml` (pre-gathered above). @@ -109,11 +109,11 @@ For each approved proposal: If a new best-practices topic file is needed: - Create it following the format of existing files (top-level heading, subheadings per entry, 2-6 lines per entry) -- Add it to `~/dev/claude/projects/claude-foundations/BESTPRACTICES.md` with a one-line description +- Add it to `~/dev/claude/projects/best-practices/BESTPRACTICES.md` with a one-line description ### Step 6: Update distill state -Write `~/dev/claude/projects/claude-foundations/best-practices/.distill-state.json`: +Write `~/dev/claude/projects/best-practices/.distill-state.json`: ```json {