Commit Graph

6 Commits

Author SHA1 Message Date
Yilin Jing 27de37e2b0 feat(website): display skill installation counts from skills.sh
- Add scripts/fetch-install-stats.py to scrape install counts
- Add GitHub Action to run daily and update install-stats.json
- Update worker.js to show install count badges on skill cards and detail pages
- Generate initial install-stats.json

Closes #12
2026-01-23 18:23:08 +08:00
Yilin Jing 65b6aca906 fix: Correct jq syntax and add explicit bash shell for Windows compatibility
- Fixed jq query to correctly extract dependency names from object format
  Changed: keys[]? | .[] (which extracted version values)
  To: select(.dependencies | type == "object") | .dependencies | keys[]

- Added explicit 'shell: bash' for test jobs on Windows
  Windows runners default to PowerShell which can't execute Bash syntax
  This ensures bash is used for all test steps regardless of OS
2026-01-21 20:17:16 +08:00
Yilin Jing e61839219f fix: Update skills.json validation to support semantic versioning in dependencies
Changed validation script to handle new object-based dependency format
(from array to {dependency: version} format) while maintaining
backwards compatibility with legacy array format.

Previous format: "dependencies": ["twitter", "reddit"]
New format:     "dependencies": {"twitter": ">=1.0.0", "reddit": ">=1.0.0"}
2026-01-21 20:15:08 +08:00
Yilin Jing 10218ed453 refactor: standardize installation to npx skills add, remove install.sh and manual install docs 2026-01-21 13:21:18 +08:00
Yilin Jing 2d510b959a Refactor install.sh to use jq for skills.json parsing, add cross-platform CI tests 2026-01-19 19:08:17 +08:00
Yilin Jing d9e06891ba Add GitHub Actions workflow for auto-deploy to Cloudflare Workers 2026-01-17 20:05:49 +08:00