fix(scripts): make the dev skills sync opt-in - #21
Merged
Conversation
A build wrote diffity-dev-* into ~/.claude/skills every time, which is how it came to delete unrelated skills in the first place. The dev variants drive the diffity-dev binary from a local checkout, which most builds do not want, and installing them alongside the plain skills gives an agent two candidates with identical descriptions. DIFFITY_SYNC_DEV_SKILLS=1 opts back in. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018PkYQzbsnMihHesafWvXKs
This was referenced Aug 21, 2026
Merged
fiddur
marked this pull request as ready for review
August 21, 2026 13:36
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.
npm run buildwrotediffity-dev-*into~/.claude/skillsevery time — the same write that deleted unrelated skills before #1 fixed the destructive half. Writing to $HOME should be the thing you ask for, not the default.It also actively hurts once the plain skills are installed: an agent then sees
diffity-reviewanddiffity-dev-reviewwith identical descriptions and picks one arbitrarily, and the dev one invokes adiffity-devbinary that only exists afternpm run link-dev.DIFFITY_SYNC_DEV_SKILLS=1opts back in, documented in the README env table.Stacked on #20.
🤖 Generated with Claude Code
https://claude.ai/code/session_018PkYQzbsnMihHesafWvXKs