Refactored GitHub API logic into shared internal/version/github.go:
- Support GITHUB_TOKEN and GH_TOKEN environment variables
- Clear error message when rate limit exceeded with fix instructions
- Removed duplicate API code from upgrade.go and check.go
- Use tree structure (▸ → ├─ → └─) for upgrade progress
- Show CLI version and status in structured format
- Show skill status before download
- Use TreeSpinner for async operations
- Add tree structure UI (▸ → ├─ → └─) for install progress
- Add SkillBox component for displaying skill details
- Customize survey multi-select with cleaner icons (✓, ▸)
- Unify UI across all install modes (discovery, track, subdir, direct)
- Show version number in logo for install commands
- Add logo to doctor and status commands
- Quiet git clone output for cleaner experience
On Windows, filepath.Walk may fail when encountering junctions with
"Incorrect function" error. This fix:
- Gracefully handles walk errors for symlinks/junctions
- Uses SkipDir to avoid entering junction directories
- Double-checks with Lstat for Windows reparse points
- Show Windows path in "How It Works" diagram
- Add note about NTFS junctions (no admin required)
- Add Windows FAQ entry
- Use "linked" instead of "symlinks" for cross-platform accuracy
Replace plain text with animated spinner from pterm library:
- init: show spinner while downloading skillshare skill
- upgrade: show spinner while downloading skill
The spinner displays elapsed time and success/failure status.
Windows symlinks require admin or Developer Mode. This commit:
- Add platform-specific link creation (junction on Windows, symlink on Unix)
- Show git clone progress instead of quiet mode for better UX
- Update doctor to test link support using the new createLink function
- Add install.ps1 for one-line Windows installation
- Update README with Windows install instructions
- Update install.sh to point Windows users to PowerShell script
Update help_test.go to check for "CORE COMMANDS" instead of
deprecated "Usage:" and "Commands:" strings after the help
output was redesigned with ASCII art and command grouping.
- Add figlet-style ASCII art logo with brand yellow color
- Group commands into logical sections (Core, Skill, Target, Sync, Utilities)
- Apply color scheme: yellow commands, cyan arguments, gray examples
- Implement ANSI-aware padding for proper column alignment
- `update --all` now updates both tracked repos and skills with
.skillshare-meta.json
- Add spinner with progress indicator [1/7] for each item
- Safe update: install to temp dir first, then swap (prevents data
loss on failure)
- Show warning (yellow) instead of error (red) for update failures
- Add Spinner.Warn() method for warning state
- `skillshare new <name>` creates SKILL.md with frontmatter
- Validates skill name (lowercase, hyphens, underscores)
- Converts kebab-case to Title Case for headings
- Supports --dry-run to preview
- Update docs/targets.md with ASCII art diagram
The arrow character (→) takes 2 columns in terminal but was counted as 1,
causing box misalignment. Now using go-runewidth for accurate width calculation.
Move version-check.json from ~/.skillshare/ to ~/.cache/skillshare/
to align with XDG Base Directory Specification. Add support for
XDG_CACHE_HOME environment variable. Auto-cleanup legacy cache
location on first run.
ANSI color codes in box content caused pterm to miscalculate width,
resulting in misaligned right border. Use plain text content and
let pterm handle the box styling.
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