Skip to content

Commit 3926575

Browse files
author
Waldek Herka
committed
feat(lib): add hub-release-analyzer for GitHub release analytics
Add CLI tool to analyze GitHub release download statistics for prompt-registry hub configurations. Features: - Parse hub configs from local files, GitHub repos, or direct YAML URLs - Concurrently fetch release data from multiple sources - Aggregate downloads by source, bundle, and version - Generate CSV and Markdown reports - Full unit test coverage
1 parent a7ff87d commit 3926575

File tree

5 files changed

+1502
-1
lines changed

5 files changed

+1502
-1
lines changed

lib/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ npx --package @prompt-registry/collection-scripts list-collections
4646

4747
# Publish affected collections (CI/CD)
4848
npx --package @prompt-registry/collection-scripts publish-collections
49+
50+
# Analyze hub release downloads
51+
npx --package @prompt-registry/collection-scripts hub-release-analyzer https://github.com/owner/repo
52+
npx --package @prompt-registry/collection-scripts hub-release-analyzer ./hub-config.yml --output-dir ./reports
4953
```
5054

5155
### After Installation
@@ -70,6 +74,7 @@ create-skill my-skill --description "A helpful skill"
7074
| `publish-collections` | Build and publish affected collections |
7175
| `list-collections` | List all collections in repo |
7276
| `create-skill` | Create a new skill directory structure |
77+
| `hub-release-analyzer` | Analyze GitHub release download statistics for hub configs |
7378

7479
## Programmatic API
7580

0 commit comments

Comments
 (0)