docs(distill): mirror-don't-compress rule for instruction files - #6
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 numberedLEARNINGS.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.