Commit Graph
72 Commits
Author SHA1 Message Date
Willie Hung e12617df6e fix: run brew update before upgrade for Homebrew installs
Ensures users get the latest version by syncing the tap first.
v0.6.7
2026-01-21 13:06:38 +08:00
Willie Hung 1756d8034c feat: block update on repos with uncommitted changes
Prevents accidental data loss by checking for uncommitted changes
before running git pull on tracked repos. Use --force to override.
v0.6.6
2026-01-21 12:56:29 +08:00
Willie Hung ad6715539e fix: GetTrackedRepos now correctly checks for '_' prefix
The function was checking for '@' prefix instead of '_', causing
`skillshare update --all` to find no tracked repositories.
v0.6.5
2026-01-21 11:39:39 +08:00
Willie Hung ae194a8bb2 chore: update demo 2026-01-21 10:11:13 +08:00
Willie Hung f60d46c4f5 feat: remove ss symlink, add alias docs
- Remove automatic ss symlink creation from install.sh and upgrade
- Add optional alias setup instructions to README
- Update skill version to 0.6.4
v0.6.4
2026-01-21 01:11:30 +08:00
Willie Hung f2aa06e729 feat: discover mode, version display, ss shorthand
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
v0.6.3
2026-01-21 00:54:55 +08:00
Willie Hung 1033aba2d9 feat: show CLI and skill version in status and doctor v0.6.2 2026-01-21 00:46:45 +08:00
Willie Hung 17c6e93212 feat: show skill version in status and doctor
- status: always display local skill version
- doctor: add skill version check
- Fix upgrade command hint (update -> upgrade --skill)
2026-01-21 00:42:12 +08:00
Willie Hung d43afa5269 feat: add discover mode for init command
- 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
2026-01-21 00:42:05 +08:00
Willie Hung 8bcf5b6a13 feat: add 5 new agents to DefaultTargets
- clawdbot, droid, kilocode, roo, windsurf
- Fix amp path to ~/.config/agents/skills
- Update docs/targets.md with new agents list
2026-01-21 00:41:57 +08:00
Willie Hung 08de85e390 docs: restructure README and add comprehensive docs/
- Slim README from 777 to 214 lines for better readability
- Adjust value prop: emphasize sync, bidirectional, team over AI-native
- Split detailed content into docs/ directory:
  - install.md: init, install, update, upgrade, uninstall
  - sync.md: sync, pull, push, backup, restore with diagrams
  - targets.md: target management with flowcharts
  - cross-machine.md: multi-machine sync setup
  - team-edition.md: tracked repos, nested skills, team sharing
  - configuration.md: config file reference
  - faq.md: doctor command, FAQ, troubleshooting
- Add docs/README.md as documentation index
- Remove /docs/ from .gitignore
2026-01-20 22:50:52 +08:00
Willie Hung 8a5cd8cea9 docs: simplify skillshare skill docs and bump to v0.7.0
- Condense SKILL.md with cleaner command pattern table
- Add GitHub shorthand (owner/repo) format examples
- Document upgrade command in status.md
- Clarify source path concept in init.md
- Reorganize install.md with update command section
v0.6.1
2026-01-20 21:39:20 +08:00
Willie Hung 64669e62ba docs: add release link to What's New section 2026-01-20 02:38:44 +08:00
Willie Hung fd4387460a feat: Team Edition - tracked repos, nested skills, collision detection
## New Features
- Tracked repositories: `install --track` to clone team skill repos
- Nested skills: organize in folders, auto-flatten on sync (work/api → work__api)
- Name collision detection: warns when multiple skills share same SKILL.md name
- Auto-pruning: orphaned symlinks cleaned on sync
- Custom naming: `--name` flag for tracked repos

## Changes
- Require target path to exist when adding targets
- Add sync reminder after adding target
- Improve pruning messages (broken vs orphan symlinks)
- Add `{team}:{name}` naming convention recommendation

## Files
- New: update.go, gitignore.go, frontmatter.go
- Updated: sync.go, install.go, uninstall.go, validate.go
- Docs: README.md, SKILL.md
v0.6.0
2026-01-20 01:56:07 +08:00
Willie Hung ca38929364 chore: add .worktrees to gitignore 2026-01-19 23:58:59 +08:00
Willie Hung aaae299f9e feat: require target path to exist and show sync reminder
- 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
v0.5.3
2026-01-19 22:18:08 +08:00
Willie Hung 5e15e6bc8a fix: update opencode target path from skill to skills
Opencode unified their path structure to use "skills" (plural).
See: https://opencode.ai/docs/skills/
v0.5.2
2026-01-19 21:06:22 +08:00
Willie Hung ffc9c50237 fix: download entire skillshare skill directory instead of just SKILL.md
Use install.Install() to clone the entire skill directory including
references/ and scripts/ subdirectories.
v0.5.1
2026-01-16 22:28:27 +08:00
Willie Hung 2250736c77 docs: add skill name example for --update flag 2026-01-16 22:20:02 +08:00
Willie Hung 729369c4d0 fix: add --skill flag to upgrade tests to avoid GitHub API rate limits in CI v0.5.0 2026-01-16 22:16:27 +08:00
Willie Hung 4af34fe695 feat: rename update to upgrade with CLI self-update support
- 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`
2026-01-16 22:12:03 +08:00
Willie Hung cf14445c7e feat: add npx-style zero-install runner
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.
2026-01-16 20:25:31 +08:00
Willie Hung fd2c69dbc5 feat: check remote skill version instead of CLI version v0.4.2 2026-01-16 03:40:16 +08:00
Willie Hung 0c7d8be08d feat: check skill version in status command
- Add version field to SKILL.md frontmatter
- Show update prompt when CLI version > skill version
- Suggest `skillshare update && skillshare sync`
v0.4.1
2026-01-16 03:23:46 +08:00
Willie Hung a577c53d6c fix: quote argument-hint to fix YAML parsing 2026-01-16 03:19:58 +08:00
Willie Hung 96585a7626 fix: show informative messages when remote already exists
- 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
v0.4.0
2026-01-16 03:00:19 +08:00
Willie Hung a4c863bb51 test: add tests for init --remote on existing config
Verify that --remote flag works when config already exists:
- Adds git remote successfully
- Dry-run shows what would be done without changes
2026-01-16 02:57:25 +08:00
Willie Hung 4bda08c6e0 fix: allow init --remote on already initialized config
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.
2026-01-16 02:56:36 +08:00
Willie Hung c9e71fb16e test: add integration tests for pull --remote flag
Add 5 tests covering:
- No git repo error handling
- No remote configured error
- Uncommitted changes detection
- Dry-run mode preview
- Actual pull with sync to targets
2026-01-16 02:55:14 +08:00
Willie Hung 14b4809c62 feat: add cross-machine sync with push/pull commands
- Add `skillshare push` command (git add, commit, push)
- Add `skillshare pull --remote` flag (git pull + sync all)
- Add `--remote` flag to init for setting up git remote
- Add interactive remote setup prompt during init
- Update README with cross-machine sync workflow
- Update SKILL.md with new commands and AI behavior guide
2026-01-16 02:51:40 +08:00
Willie Hung 0b5b1dd48b fix: skip duplicate check for merge mode targets
Merge mode allows local skills by design. Only check for duplicates
in symlink mode targets where local copies are unexpected.
v0.3.4
2026-01-16 02:00:40 +08:00
Willie Hung fe4c762fa6 fix: correct misleading duplicate skills fix suggestion 2026-01-16 01:57:12 +08:00
Willie Hung a4ec283d29 docs: streamline README and elevate target management
- Consolidate redundant "why skillshare" sections into concise block
- Add Target Management subsection to Commands table
- Create dedicated Target Management reference section
- Remove duplicate content under Configuration
2026-01-16 01:50:28 +08:00
Willie Hung 6f2b51d75d fix: track warnings separately from errors in doctor summary
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.
v0.3.3
2026-01-16 01:44:48 +08:00
Willie Hung 13470262d0 docs: highlight skillshare's unique advantages in README
- Add "Why skillshare?" comparison table vs competitors
- Emphasize bidirectional sync, backup/restore, diagnostics
- Add Key Features section with core differentiators
2026-01-16 01:39:58 +08:00
Willie Hung ccdc34d0cf feat: enhance doctor command with comprehensive checks
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
2026-01-16 01:32:12 +08:00
Willie Hung 2b9565afc3 feat: add interactive multi-select for skill discovery
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.
2026-01-16 01:26:57 +08:00
Willie Hung 01bad709a1 feat: add GitHub shorthand for install command
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.
2026-01-16 01:21:46 +08:00
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.
v0.3.2
2026-01-16 01:03:41 +08:00
Willie Hung 8369520fd1 docs: use detailed diagram for target remove FAQ 2026-01-16 01:00:15 +08:00
Willie Hung b8faa73fca docs: add FAQ about target remove safety 2026-01-16 00:59:53 +08:00
Willie Hung 8ed83fbb31 docs: add version note for update command 2026-01-16 00:57:52 +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
v0.3.1
2026-01-16 00:52:31 +08:00
Willie Hung 0d2f184655 feat: add skillshare skill to repository
Move skill content from embedded template to standalone file.
This enables users to update the skill via `skillshare update`.
2026-01-16 00:51:26 +08:00
Willie Hung e7a5419209 feat: add one-line install script
- Add install.sh for curl-based installation (macOS/Linux)
- Add scripts/test_install.sh for sandbox testing
- Update README with Quick Install section
2026-01-15 23:47:25 +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
v0.3.0
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 Hung 9483f300d1 chore: update readme 2026-01-15 22:03:11 +08:00
Willie Hung 3c28b254dd feat: add Amp, Gemini CLI, Letta as supported targets
- Add amp target (~/.amp/skills)
- Add gemini target (~/.gemini/skills)
- Add letta target (~/.letta/skills)
v0.2.4
2026-01-15 17:17:50 +08:00
Willie Hung 2a83d170eb feat: add Goose and global agents as supported targets
- Add goose target (~/.config/goose/skills)
- Add agents target (~/.config/agents/skills) for portable cross-agent skills
- Alphabetize target list for consistency
2026-01-15 17:12:15 +08:00