Skip to content

docs(distill): mirror-don't-compress rule for instruction files - #6

Merged
ryanlitalien merged 1 commit into
mainfrom
docs/distill-mirror-instruction-files
Aug 30, 2026
Merged

docs(distill): mirror-don't-compress rule for instruction files#6
ryanlitalien merged 1 commit into
mainfrom
docs/distill-mirror-instruction-files

Conversation

@ryanlitalien

Copy link
Copy Markdown
Member

Documents how the auto-distill pipeline handles plugin instruction files, closing a gap where skill/agent/command edits in the private repo never reached this repo (only LEARNINGS.md/NOTES.md were ever synced).

New section (f) in DISTILLING.md: instruction files (*/skills/**/SKILL.md, */agents/*.md, */commands/*.md) are MIRRORED - sanitized per section (a) and held to the truthfulness rule (c), but never 30-50%-compressed and never allowed to drop a step, flag, exit code, or command form. Private-only cross-references (e.g. a numbered LEARNINGS.md §C (C3) pointer) get rewritten to their public form.

The matching automation change lands in the private repo's distill.yml (trigger paths + a two-mode prompt), so from now on a skill edit rides the same distill PR as any LEARNINGS change.

This file is public-repo-native (it describes distilling INTO this repo), so it is edited here directly rather than flowing through the distill process.

Adds section (f): skills/agents/commands instruction files are mirrored (sanitize
only, no 30-50% compression), unlike LEARNINGS/NOTES which are distilled. Matches
the two-mode split now in the private repo's distill.yml, which also triggers on
instruction-file changes so a skill edit reaches this repo. Previously nothing
synced instruction files.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@ryanlitalien
ryanlitalien merged commit 68d3f7e into main Aug 30, 2026
1 check passed
@ryanlitalien
ryanlitalien deleted the docs/distill-mirror-instruction-files branch August 30, 2026 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant