Skip to content

Conversation

@randomm
Copy link
Owner

@randomm randomm commented Jan 16, 2026

Summary

Changes the OpenCode skill sync target directory from ~/.claude/skills/ to ~/.config/opencode/skill/, aligning with OpenCode's native skill location.

This is a minor version bump (v1.1.0) - not a breaking change since OpenCode reads from both locations for backward compatibility. Users do not need to take any action.

Changes

  • Updates sync target to ~/.config/opencode/skill/ directory
  • Implements clean-slate symlink management approach
  • Safety-first: only removes symlinks, never regular files
  • Adds comprehensive test coverage (95.91% coverage, 44/44 tests passing)

Migration Notes

  • ✅ No user action required - OpenCode continues to read from both locations
  • 🔄 New skills sync to the OpenCode-native directory going forward
  • 📝 Optional: Users can manually clean old symlinks from ~/.claude/skills/ if desired

Quality Gates

  • ✅ 44/44 tests passing
  • ✅ 95.91% code coverage
  • ✅ All linting and type checks passing

Closes #13

- Change sync target from ~/.claude/skills to ~/.config/opencode/skill
- Simplify symlink management with clean slate approach
- Only remove symlinks, never regular files (safety-first)
- Add comprehensive tests for symlink cleanup behavior

Closes #13
@randomm randomm merged commit 0c2394c into main Jan 16, 2026
1 check passed
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.

Change skill sync target from ~/.claude/skills to ~/.config/opencode/skill

2 participants