Skip to content

fix(scripts): make the dev skills sync opt-in - #21

Merged
fiddur merged 1 commit into
developfrom
dev-skill-sync-opt-in
Aug 21, 2026
Merged

fix(scripts): make the dev skills sync opt-in#21
fiddur merged 1 commit into
developfrom
dev-skill-sync-opt-in

Conversation

@fiddur

@fiddur fiddur commented Aug 21, 2026

Copy link
Copy Markdown
Collaborator

npm run build wrote diffity-dev-* into ~/.claude/skills every 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-review and diffity-dev-review with identical descriptions and picks one arbitrarily, and the dev one invokes a diffity-dev binary that only exists after npm run link-dev.

DIFFITY_SYNC_DEV_SKILLS=1 opts back in, documented in the README env table.

Stacked on #20.

🤖 Generated with Claude Code

https://claude.ai/code/session_018PkYQzbsnMihHesafWvXKs

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
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