The upgrade command replaces the binary but the current process still
runs the old version. Skip version check notification after upgrade
to avoid showing stale update prompts.
When installing from a git subdirectory (e.g., user/repo/path/to/skills),
automatically scan for multiple skills within that subdirectory. If found,
enter discovery mode to let users select which skills to install.
- Add DiscoverFromGitSubdir() for subdirectory scanning
- Add includeRoot parameter to discoverSkills() to include root SKILL.md
- Add handleGitSubdirInstall() for subdir discovery flow
- Display "root" label for root-level skills in selection UI
- Auto-install if only one skill found, prompt selection if multiple
If user manually updates (not via skillshare upgrade), the cache
may still show an older "latest" version. Now clears cache when
current version >= cached latest to trigger fresh fetch.
- Check GitHub releases API for new versions (24h cache)
- Display colorful update notification when update available
- Skip check for dev builds
- Cache stored at ~/.skillshare/version-check.json
- Add PTerm library for modern CLI output
- Add internal/ui/pterm.go with spinner, box, progress bar utilities
- Add internal/git/info.go for git diff/commit info retrieval
- Update install.go with header boxes, spinners, progress bars
- Update update.go with header boxes, spinners, change summaries
- Fallback to plain text for non-TTY environments
Previously --force only skipped the warning. Now it runs
git restore . to discard uncommitted changes before git pull,
ensuring a clean sync with remote.
New features:
- Discover mode: ss init --discover to add new agents
- Version display: status/doctor show CLI and skill versions
- Shorthand: ss command (symlink to skillshare)
- 5 new agents: clawdbot, droid, kilocode, roo, windsurf
Improvements:
- Interactive arrow-key selection for init targets
- upgrade --cli creates ss symlink for existing installs
- Better error messages with --discover suggestion
- Add --discover flag to detect new agents
- Add --select flag for non-interactive mode (AI use)
- Use survey.MultiSelect for interactive target selection
- Update init.md with discover flags documentation
- Add 8 test cases for discover functionality
- Change TargetPath validation to return error when path doesn't exist
instead of just a warning
- Add sync reminder message after successful target add
- Add TestTargetPath unit tests and integration test for non-existent path
- Rename `update` command to `upgrade`
- Add CLI binary self-update from GitHub releases
- Add `--cli` and `--skill` flags to upgrade specific components
- Detect Homebrew installation and use `brew install` instead
- Refactor SKILL.md with progressive disclosure pattern
- Split references into separate files (status, sync, install, etc.)
- Move run.sh to skills/skillshare/scripts/
- Fix --update flag to auto-reinstall when git pull not possible
BREAKING CHANGE: `skillshare update` is now `skillshare upgrade`
Add run.sh that downloads and caches skillshare binary for execution
without requiring global installation. The binary is cached in
~/.cache/skillshare/ and auto-updates every 24 hours.
Update skillshare skill to use runner function for zero-install support.
- Show message when remote is already configured with same URL
- Show warning and hint when trying to set different remote
- Show warning when git is not initialized
- Add tests for all edge cases
When config exists and --remote is provided, only add the git remote
instead of returning an error. This enables adding remote to existing
setups without re-initialization.
Doctor now distinguishes between errors (broken symlinks, missing source)
and warnings (uncommitted git changes, duplicate skills). Summary shows
"N warning(s)" instead of "All checks passed!" when warnings exist.
Add new diagnostic checks:
- Git status: uncommitted changes, remote configuration
- Skill validation: detect skills without SKILL.md
- Broken symlinks: find invalid symlinks in targets
- Duplicate skills: warn about same skill in multiple locations
- Backup status: show last backup time
- Version check: notify if newer version available
Replace text-based number input with survey's MultiSelect widget:
- Use arrow keys to navigate
- Space to toggle selection
- Enter to confirm
This provides a more intuitive UX similar to modern CLI tools.
Support owner/repo shorthand that expands to github.com/owner/repo:
- skillshare install anthropics/skills
- skillshare install anthropics/skills/skills/pdf
This matches the UX of npm, go get, and skild for faster installs.