The meta-skill that builds and improves all your skills, including itself. Watches your work sessions (autonomous or human-led), captures patterns, corrections and judgement calls, and turns them into skill improvements and new skill candidates for your review. Practical application of the Augmented Expertise methodology. Open source: CC BY 4.0.
Python agent-skillsai-skillsaugmented-expertiseawesome-skillsclaudeclaude-codeclaude-code-skillclaude-code-skillsclaude-coworkclaude-skillsmeta-skillrebelyticsskill-automationskill-builderskill-creationskill-improvementskill-managementskills
Staging: snapshot before a second pass, and keep reflows out of content
Eoghan Henn0accf35987e9
diff --git a/references/skill-authoring.md b/references/skill-authoring.mdindex 767fb81..762335b 100644--- a/references/skill-authoring.md+++ b/references/skill-authoring.md@@ -644,7 +644,9 @@ re-check exists, do not record the value — record how to obtain it.and establish freshness PER COPY from evidence — mtime, contentprobes, hashes — never from role ("the repo", "the live version");then pick the base explicitly. During multi-pass work in interactive- sessions, re-verify the baseline before interpreting any diff: a diff+ sessions, snapshot the staged copy before each pass (weekly-review.md,+ Delivery — an unversioned staging tree keeps no other baseline) and+ re-verify the baseline before interpreting any diff: a diffthat SHRINKS against a supposedly-fixed baseline means the baselineabsorbed earlier changes (e.g. the user installed a staged updatemid-session), not that edits vanished. Treat unexpected diff-statdiff --git a/references/weekly-review.md b/references/weekly-review.mdindex 1fa8759..bb146dc 100644--- a/references/weekly-review.md+++ b/references/weekly-review.md@@ -982,7 +982,9 @@ common way a staged skill's frontmatter stops parsing — seethat any Python check run inside the staged tree runs with`PYTHONDONTWRITEBYTECODE=1` (a `py_compile` there leaves a `__pycache__/`the pre-delivery gate rejects, on a mount that cannot unlink it without-the delete grant), and an explicit rule that subagents do not change+the delete grant), whether the pass is a content pass or a reformat —+never both in one edit, and a snapshot of the staged directory taken+before it (Delivery) — and an explicit rule that subagents do not changeany observation's status and do not write observations: a finding worthlogging goes in the subagent's final report and the parent writes it,because two writers watching one task from two vantages log one finding@@ -1334,6 +1336,30 @@ the same evening the first had been installed; the date-keyed anchor pointedat the installed copy, and only a manual check of the manifest stateprevented seeding over it.)+**The previous staged state is part of the deliverable — snapshot+before any second pass, and never let a reflow ride along with+content.** The staging tree is not under version control and the seed+is the only baseline the procedure takes, so a second pass over a staged+copy — a follow-up apply round, a density pass, a correction the user+asked for — overwrites the one state the reviewer's diff needed; the+reconciliation gate compares staged against live, which answers "was+this installed?", never "what did this pass change?". Before any pass+that rewrites a staged skill, copy the directory beside itself as+`<anchor>/<skill-name>.pre-<passname>`, named so the gate's directory+sweep and the keep-two prune cannot mistake it for a staged copy; it+goes when its anchor goes. And keep whitespace passes out of content+passes: a re-wrap moves every line, so a plain diff reports total churn+and the few lines that actually changed are invisible in it (observed:+a delegated density pass cut ~4% of the words and re-wrapped every file+to a uniform width to make its line count honest — two files it changed+by 0% and 1.2% showed as fully rewritten, and no pre-pass baseline+existed). Content first, reviewed; reformat as a separate step whose+diff can be discarded wholesale; a brief that delegates one says which+of the two it is and forbids the other. Reviewability is a property of+the pair of states, not of the final artefact — a process that produces+a new state without preserving the old one has produced a replacement,+not a reviewable change.+**Staging manifest.** Every delivery appends one entry to`[workspace folder]/skill-updates/PENDING.md` — creating the file when itis absent, and never starting it at today: on creation, list every skill