11 Commits
Author SHA1 Message Date
Willie Hung 7cfdf540a3 fix: add dry-run warning message to update command
The update --dry-run flag was missing the warning banner that other
commands display, making it unclear that no changes would be made.
2026-01-16 01:03:41 +08:00
Willie Hung 4337bf7890 feat: add update command for built-in skill
- Add `skillshare update` to download latest skill from GitHub
- Download skill during init with fallback if offline
- Remove embedded template approach
- Add integration tests for update command
- Update README with update command docs
2026-01-16 00:52:31 +08:00
Willie Hung 6f5f5460fe feat: add uninstall and list commands
- uninstall: remove skills from source with confirmation prompt
- list: show installed skills with source info
- --verbose flag for detailed output
- integration tests for both commands
- README documentation
2026-01-15 23:36:55 +08:00
Willie Hung 0a410234fd feat: add skill installer and expand dry-run previews 2026-01-15 23:15:38 +08:00
Willie b93ad3ffe4 refactor: split main.go into separate command files
Split the 1585-line main.go into focused modules:
- main.go: entry point and command routing
- init.go: initialization command
- sync.go: sync command
- status.go: status command
- target.go: target management commands
- diff.go: diff command
- backup.go: backup and restore commands
- pull.go: pull command
- doctor.go: diagnostic command
- helpers.go: shared utility functions

No functional changes - purely structural refactoring for maintainability.
2026-01-14 22:16:24 +08:00
Willie f5e9d9644e docs: improve README with better structure and content
- Add badges (License, Go version, Release)
- Add ASCII flow diagram showing architecture
- Add Table of Contents for navigation
- Add "Why skillshare?" comparison table
- Add Use Cases section (Individual, Team, Open Source)
- Add FAQ section with common questions
- Add Contributing guide with development setup
- Reorganize sections for better readability
2026-01-14 22:12:56 +08:00
Willie 3a4bc02244 feat: improve init flow with explicit target selection
- Only auto-add target when user copies from it
- Ask user before adding other detected targets
- Detect CLI tools with parent directory (not initialized)
- Add "Sync Across Machines" section to README
2026-01-14 20:59:34 +08:00
Willie 95ca07be89 feat: add target info/mode commands, show mode in status/doctor
- Add `skillshare target <name>` to show target details
- Add `skillshare target <name> --mode <mode>` to change target mode
- Show sync mode [merge/symlink] in status and doctor output
- Show warning when configured mode doesn't match actual state
- Fix sync to properly convert between symlink and merge modes
- Simplify module name to `skillshare`
- Remove go install option from README (incompatible with simplified module)
2026-01-14 20:43:00 +08:00
Willie 98d0ddf189 feat: add diff, backup, doctor commands and backup mechanism
- Add `diff` command to show differences between source and target
- Add `backup` command for manual backup with recent backup list
- Add `doctor` command to diagnose configuration issues
- Add internal/backup package for backup functionality
- Fix diff command incorrectly showing "not linked" for symlink mode targets
- Update README with new commands documentation
2026-01-14 20:24:40 +08:00
Willie 75c0e4bead feat: add merge mode, make it default
- merge mode: symlink individual skills, preserve local skills
- symlink mode: entire directory becomes symlink
- safer default that won't move existing skills
2026-01-14 20:06:14 +08:00
Willie b3b7bcf0fc feat: initial release of skillshare
Share skills across AI CLI tools (Claude Code, Codex, Cursor, Gemini, OpenCode)
with a single source directory and symlinks.

Commands:
- init: Initialize with source directory, auto-detect CLI tools
- sync: Migrate existing skills and create symlinks
- status: Show target status
- target: Manage targets (add/remove/list)
2026-01-14 18:09:36 +08:00