Skip to content

Trending browse + local filter for skills registry - #100

Open
tonkapark wants to merge 3 commits into
Shpigford:mainfrom
tonkapark:feat/registry-trending-browse
Open

Trending browse + local filter for skills registry#100
tonkapark wants to merge 3 commits into
Shpigford:mainfrom
tonkapark:feat/registry-trending-browse

Conversation

@tonkapark

@tonkapark tonkapark commented May 29, 2026

Copy link
Copy Markdown
Screenshot 2026-05-29 at 11 25 22 AM

Summary

Rework Browse Skills so it opens to a populated Trending list instead of a blank placeholder, with instant local filtering and a TTL disk cache.

  • Scrape skills.sh's trending page once (~600 skills ranked by installs); cache in memory for the session and on disk with a 6h TTL (~/Library/Application Support/Chops/trending-cache.json)
  • Typing filters the trending set locally and instantly (substring match across name, ID, source) — broader and faster than the fuzzy name-search API
  • Long-tail skills not in the trending set are still fetched via the live /api/search API and merged in below local matches
  • Official only toggle + checkmark.seal.fill badge
  • Resilient: if the scrape fails, Browse falls back cleanly to the live search path; expired cache simply re-scrapes (no stale data served)

Docs

  • README restructure + docs/feature/skills-discovery.md writeup
  • CHANGELOG.md [Unreleased] entry

Testing

Built LocalRelease and click-tested: Trending loads on open, local filter returns broad results, Official-only filters to badged skills, disk cache shows instantly on relaunch.

🤖 Generated with Claude Code

tonkapark and others added 3 commits May 29, 2026 10:59
Browse Skills opened to a blank placeholder and only the fuzzy
name-search API (e.g. "react" -> 1 result). Scrape skills.sh's
trending page once (~600 skills ranked by installs), cache it in
memory and on disk (6h TTL), and drive an instant local substring
filter — broader and faster than the API, with API hits merged in
for the long tail. Adds an Official-only toggle and badge.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@tonkapark

Copy link
Copy Markdown
Author
discovery

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant