15 Commits
Author SHA1 Message Date
Willie Hung 3dd3721dc8 fix: update path validation to accept both 'skills' and 'skill'
OpenCode uses singular 'skill' directory name. Update validation
to use IsLikelySkillsPath() which recognizes both conventions.
v0.2.2
2026-01-15 00:02:24 +08:00
Willie 7cdd85a66e chore: update README.md 2026-01-14 23:56:07 +08:00
Willie acfdbe5751 fix: correct OpenCode skill path to match official spec
OpenCode uses `~/.config/opencode/skill/` (singular) not `skills/`
(plural) per official documentation.
v0.2.1
2026-01-14 23:35:39 +08:00
Willie f55e056fa4 feat: add comprehensive sandbox integration tests
Add complete integration test coverage for all CLI commands with
isolated sandbox environments that run on every change.

Changes:
- Add testutil package for sandbox test infrastructure
- Add 77 integration tests covering all commands (init, sync, status,
  diff, backup, restore, pull, doctor, target, version, help)
- Update CI workflow to run integration tests on Ubuntu and macOS
- Add SKILLSHARE_CONFIG env var support for test isolation
- Add mise.toml for task management
- Move scripts to scripts/ directory
v0.2.0
2026-01-14 22:35:33 +08:00
Willie f13c2ab0e8 docs: restructure README with inverted pyramid layout
Reorganize README to prioritize essential information at the top:
- Move installation and quick start to the very beginning
- Consolidate all commands into a single reference table
- Move detailed documentation below a visual separator
- Reduce FAQ from 10 to 4 focused questions
- Cut total length from 535 to 233 lines
2026-01-14 22:31:32 +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 21fecbebf7 docs: add uninstall instructions 2026-01-14 19:59:13 +08:00
Willie 165ffad36d feat: enable Homebrew tap support v0.1.1 2026-01-14 19:57:06 +08:00
Willie 3031e15e97 fix: disable homebrew tap (needs PAT setup) v0.1.0 2026-01-14 18:11:53 +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