Commit Graph
131 Commits
Author SHA1 Message Date
Willie 087ac0bbfb feat(website): add SEO essentials - sitemap, robots.txt, social card
- Enable sitemap plugin in docusaurus.config.ts
- Add robots.txt with sitemap reference
- Add social-card.png for Open Graph sharing
- Remove unused Docusaurus default files (markdown-page, placeholder images)
2026-02-01 23:16:57 +08:00
Willie 6cba953efa fix(website): responsive footer padding and README link corrections
- Add horizontal padding to footer on mobile/tablet (< 996px)
- Fix broken docs links in README:
  - /docs/guides/team-edition → /docs/guides/team-sharing
  - /docs/guides/cross-machine → /docs/guides/cross-machine-sync
  - /docs/faq → /docs/troubleshooting/faq
2026-02-01 23:02:31 +08:00
Willie 9cef926a68 docs(website): refactor docs 2026-02-01 22:52:11 +08:00
Willie 4b914b0636 docs(website): add Docusaurus docs synced from docs/
- Sync all docs content from docs/ to website/docs/
- Copy demo images from .github/assets to static/img/
- Convert image paths to Docusaurus format (/img/)
- Add complete command reference with screenshots
- Include FAQ, team edition, cross-machine guides
2026-02-01 21:22:41 +08:00
Willie 671ea9723a fix(install.sh): use redirect to avoid API rate limit
Use GitHub releases/latest redirect to get version tag instead of API.
Falls back to API if redirect fails.
2026-02-01 08:39:32 +08:00
Willie d084e59c8d fix(upgrade): gracefully handle rate limit, use cached version
- Skip CLI upgrade silently when API rate limited and no cache
- Use cached version to upgrade when API fails but cache exists
- Extract BuildDownloadURL for direct URL construction without API
- Add GetCachedVersion to expose cached latest version
v0.8.1
2026-02-01 08:33:54 +08:00
Willie e922f31f5a fix(install): preserve nested structure for orchestrator skills
- Fix bug where child skills were flattened to root instead of nesting under parent
- Add two-stage UX: "Install entire pack" or "Select individual skills"
- Root skill installs first, children marked as "included in parent"
- Add tests for orchestrator nesting and individual child installation
2026-02-01 08:27:20 +08:00
Willie 0355d36130 refactor(skill): optimize skillshare skill for conciseness
- Reduce SKILL.md from 109 to 78 lines (-28%)
- Add search command to description and documentation
- Simplify all reference files (total -180 lines)
- Add new command documentation to install.md
- Bump version to 0.8.1
2026-02-01 00:31:56 +08:00
Willie 2909030980 chore(docs): modify docs 2026-02-01 00:22:49 +08:00
Willie df1c6faa12 docs(readme): show recent version highlights (0.6-0.8) 2026-01-31 23:09:30 +08:00
Willie a739902ac2 feat!: rename pull <target> to collect, simplify pull for git-only
BREAKING CHANGE: Command restructure for clearer symmetry

- Local sync: sync/collect (Source ↔ Targets)
- Remote sync: push/pull (Source ↔ Git Remote)

Changes:
- Add `collect` command (was `pull <target>`)
- Simplify `pull` to git remote only (was `pull --remote`)
- Add spinner effects to pull and push commands
- Update all documentation and skill references
- Add CHANGELOG.md
- Update help examples with practical workflows

Migration:
  pull claude     → collect claude
  pull --all      → collect --all
  pull --remote   → pull
v0.8.0
2026-01-31 20:52:09 +08:00
Willie 32014986ec fix(diff,sync): improve diff clarity and fix sync --force for merge mode
diff improvements:
- Use sync.DiscoverSourceSkills for proper tracked repo handling
- Remove "Diff:" prefix, show target name directly
- Clearer descriptions: "missing", "local copy (sync --force to replace)", "local only"
- Add action hints explaining what sync/pull commands will do

sync --force fix:
- Now properly replaces local copies with symlinks in merge mode
- Previously --force only worked for symlink mode conflicts

help improvements:
- Add GIT REMOTE section grouping push and pull --remote together
- Remove logo from status command (high-frequency operation)

docs: update sync.md with new diff output format and symbols table
2026-01-31 20:22:51 +08:00
Willie e4565005b5 refactor: reduce cyclomatic complexity across CLI commands
Extract options structs and helper functions to reduce complexity:
- cmdInit: 49 → 5 (extract parseInitArgs, validateInitOptions, etc.)
- cmdUninstall: 39 → 12 (extract parseUninstallArgs, resolveUninstallTarget)
- cmdList: 33 → 12 (extract parseListArgs, buildSkillEntries)
- cmdInstall: 28 → 6 (extract parseInstallArgs, dispatchInstall)
- search.Search: 29 → ~5 (extract fetchCodeSearchResults, processSearchItems)
- main: 24 → 9 (command map pattern replaces switch)
- targetRemove: 21 → 7 (extract parseTargetRemoveArgs, backupTargets)
- updateAllTrackedRepos: 20 → ~10 (extract updateTrackedRepoQuick)
- cmdPush: 19 → 10 (extract parsePushArgs, checkGitRepo)

Overall: 19 functions > 15 reduced to 11 (42% improvement)
2026-01-31 19:53:28 +08:00
Willie 743055a0b4 chore: remove badge from README
Removed downloads badge from README.
2026-01-31 19:02:08 +08:00
Willie Hung ffd019ed8f chore(readme): add GitHub stars badge and call-to-action
Encourage users to star the repo with a social-style badge
at the top and a subtle note in the Contributing section.
2026-01-31 17:54:36 +08:00
Willie Hung 1ae5921611 chore(readme): adjust align 2026-01-31 16:53:39 +08:00
Willie Hung 0f7ba6ff8d fix(windows): improve junction error messages and path comparison
- Add detailed error messages when junction/symlink creation fails
  - Pre-flight checks for source existence and target conflicts
  - Capture mklink /J stderr output
  - Show both junction and symlink failure reasons

- Add case-insensitive path comparison for Windows (NTFS)
  - New PathsEqual() and PathHasPrefix() in utils/path.go
  - Fix 8 path comparisons that could fail due to case differences
  - Affects sync, pull, target remove, diff, and doctor commands
v0.7.2
2026-01-31 16:50:39 +08:00
Willie Hung 83bd7d45ef feat(targets): add 6 new agents to supported targets
Add AdaL, Augment, iFlow, OpenClaude, Trae CN, and Mistral Vibe.
Total supported agents: 43.
v0.7.1
2026-01-31 16:34:36 +08:00
Willie Hung 1aab744b04 feat(search): add skillshare search command
- Search GitHub for skills containing SKILL.md files
- Sort results by repository stars (most popular first)
- Interactive selector with "Search again" option
- Auto-detect gh CLI token for authentication
- Filter out forked repositories
- Support --json, --list, --limit flags
v0.7.0
2026-01-31 15:29:49 +08:00
Willie Hung 31a7b66edf fix(upgrade): handle Windows executable locking during self-upgrade
Windows locks running executables, preventing direct replacement.
Solution: rename running exe to .old, then rename new exe in place.
Cleanup of .old files happens on next startup.
v0.6.31
2026-01-31 12:43:44 +08:00
Willie Hung bf286f1d88 fix(upgrade): add Windows zip support
- Handle .zip format for Windows releases (vs .tar.gz for others)
- Add extractFromZip() and refactor extraction logic
- Update test to use --force flag for upgrade flow
v0.6.30
2026-01-31 03:40:34 +08:00
Willie Hung 829a8f8911 fix(upgrade): skip skill confirmation when already installed
- Show "Already up to date ✓" with └─ when skill exists
- Remove unnecessary confirmation prompt
- Use --force to explicitly upgrade existing skill
v0.6.29
2026-01-31 03:18:47 +08:00
Willie Hung f5798fc0ea fix(upgrade): add GitHub token support and improve rate limit handling
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
v0.6.28
2026-01-31 03:10:55 +08:00
Willie Hung 4419a63401 feat(upgrade): redesign upgrade command with tree-style UI
- Use tree structure (▸ → ├─ → └─) for upgrade progress
- Show CLI version and status in structured format
- Show skill status before download
- Use TreeSpinner for async operations
v0.6.27
2026-01-31 02:58:06 +08:00
Willie Hung 02730e4387 fix(upgrade): add logo and show version earlier
- Add logo with version to upgrade command
- Show current version before checking GitHub API
2026-01-31 02:56:20 +08:00
Willie Hung 3bb6edc12a feat(ui): redesign install command with tree-style output
- 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
v0.6.26
2026-01-31 02:51:00 +08:00
Willie Hung 1619d1d8d0 docs: add platform, Go Report Card, and Downloads badges 2026-01-31 02:05:32 +08:00
Willie Hung 83849bd557 fix(backup): handle Windows junctions in copyDir
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
2026-01-31 01:57:58 +08:00
Willie Hung 96af2d8191 docs: add Windows notes and update paths
- 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
v0.6.25
2026-01-31 01:26:37 +08:00
Willie Hung 75dbeb083a feat(ui): use pterm spinner for download progress
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.
2026-01-31 01:24:31 +08:00
Willie Hung 0ed6948711 fix(init): show progress when downloading skillshare skill
Add header and status messages before downloading the default
skillshare skill during init, so users know what's happening.
2026-01-31 01:19:40 +08:00
Willie Hung a869838c2b feat(windows): use junction instead of symlink, show git progress
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
2026-01-31 01:18:14 +08:00
Willie Hung 606949b320 feat(install): add Windows PowerShell installer
- Add install.ps1 for one-line Windows installation
- Update README with Windows install instructions
- Update install.sh to point Windows users to PowerShell script
2026-01-31 00:59:00 +08:00
Willie Hung e764b0a206 feat(targets): add openclaw support (moltbot renamed)
Moltbot rebranded to OpenClaw with new skills directory
(~/.openclaw/skills). Keep moltbot as legacy alias.
v0.6.24
2026-01-30 15:38:27 +08:00
Willie Hung 33eb894063 test(help): update assertions to match new help format
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.
2026-01-30 13:44:31 +08:00
Willie Hung 6f8b6768c3 feat(ui): redesign help output with ASCII art and color 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
v0.6.23
2026-01-30 13:37:49 +08:00
Willie Hung 4ce9992ff0 fix(ui): use ASCII arrow to prevent box misalignment
Unicode arrow (→) has ambiguous width in East Asian terminals,
causing pterm box rendering to misalign. Use ASCII (->) instead.
v0.6.22
2026-01-30 10:09:03 +08:00
Willie Hung 3de857b382 feat(update): support skills with metadata in --all
- `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
v0.6.21
2026-01-30 09:43:04 +08:00
Willie Hung 0134ec0df5 chore(docs): add new command doc 2026-01-29 13:46:50 +08:00
Willie Hung 115a554d3c feat: add Kimi CLI support
Add ~/.kimi/skills/ as a sync target for Kimi Code CLI.
v0.6.20
2026-01-28 23:20:42 +08:00
Willie Hung 0f114dc298 feat: add new command to create skill templates
- `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
2026-01-28 17:24:58 +08:00
Willie Hung 4a65a981f3 feat: expand supported agents from 17 to 35
Add 18 new agents: cline, codebuddy, commandcode, continue, junie,
kiro, kode, mcpjam, moltbot, mux, neovate, openhands, pi, pochi,
qoder, qwen, trae, zencoder

- Rename clawdbot to moltbot
- Fix antigravity path to global_skills
- Update docs with new agent table
v0.6.19
2026-01-28 17:16:02 +08:00
Willie Hung 8652ac95e5 docs: add Star History section to README 2026-01-26 18:04:14 +08:00
Willie Hung 683d22573d fix: use runewidth for correct Unicode character width calculation
The arrow character (→) takes 2 columns in terminal but was counted as 1,
causing box misalignment. Now using go-runewidth for accurate width calculation.
v0.6.18
2026-01-25 02:58:46 +08:00
Willie Hung 9fbfe0e88a fix: resolve box rendering issues and improve list UI
- Add displayWidth() to calculate visible string width excluding ANSI codes
- Fix box padding calculation in Box, WarningBox, SummaryBox, UpdateNotification
- Disable git color output in GetCommitsBetween to prevent ANSI codes in commit hashes
- Improve list command: dynamic name alignment, add icons, remove duplicate separators
v0.6.17
2026-01-25 02:49:54 +08:00
Willie Hung 19d641d66b feat: move version cache to XDG-compliant location
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.
v0.6.15
2026-01-24 23:34:23 +08:00
Willie Hung 3a3f0ef6f2 fix: remove ANSI codes from update notification content
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.
2026-01-24 01:55:03 +08:00
Willie Hung 84c75b51b4 fix: skip version check after upgrade command
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.
v0.6.14
2026-01-24 01:43:15 +08:00
Willie Hung 8617fe235d feat: support discovery mode for git subdirectories
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
2026-01-24 01:39:12 +08:00
Willie Hung 806e14096d feat: handle force push when updating tracked repos
When using --force flag, use git fetch + reset --hard instead of
git pull. This handles cases where remote history was rewritten
(force push).
v0.6.13
2026-01-24 00:07:27 +08:00