⚠️ Breaking Changes
Command Rename for Clearer Symmetry
| Before | After | Description |
|---|---|---|
pull claude
| collect claude
| Collect skills from target to source |
pull --all
| collect --all
| Collect from all targets |
pull --remote
| pull
| Pull from git remote |
New Command Structure
Remote (git)
↑ push ↓ pull
Source
↓ sync ↑ collect
Targets
| Operation | Commands | Direction |
|---|---|---|
| Local sync | sync / collect
| Source ↔ Targets |
| Remote sync | push / pull
| Source ↔ Git Remote |
🔧 Refactoring
Reduce cyclomatic complexity across CLI commands
Extract options structs and helper functions:
| Command | Before | After |
|---|---|---|
init
| 49 | 5 |
uninstall
| 39 | 12 |
list
| 33 | 12 |
install
| 28 | 6 |
search
| 29 | ~5 |
main
| 24 | 9 |
target remove
| 21 | 7 |
update --all
| 20 | ~10 |
push
| 19 | 10 |
Overall: 19 functions > 15 reduced to 11 (42% improvement)
Command separation
- Split
pull.gointocollect.go(local) andpull.go(git remote) - Separated concerns: local sync vs remote sync
✨ Improvements
- Added spinner effects to
pullandpushcommands - Unified error handling with spinner feedback
- Updated help examples with practical daily workflows
- Added team workflow examples in help
📖 Migration
# Before
skillshare pull claude
skillshare pull --remote
# After
skillshare collect claude
skillshare pullChangelog
- ffd019e chore(readme): add GitHub stars badge and call-to-action
- 1ae5921 chore(readme): adjust align
- 743055a chore: remove badge from README
- a739902 feat!: rename pull to collect, simplify pull for git-only
- 3201498 fix(diff,sync): improve diff clarity and fix sync --force for merge mode
- e456500 refactor: reduce cyclomatic complexity across CLI commands
Full Changelog: v0.7.0...v0.8.0