feat(skills): curated GitHub catalog redesign (#3016)

* feat(skills): remove ClawHub catalog integration

Drop the ClawHub registry as a skills catalog source across web server,
shared UI, VS Code, docs, and locales. The catalog now serves git-based
sources only: the curated Anthropic repo and user-defined repositories.
Also removes the now-unused adm-zip dependency.

* feat(skills): redesign catalog around curated GitHub repositories

Replace the single-source dropdown with a card grid of curated GitHub
repositories (Anthropic, OpenAI, Cursor pstack/skills, Matt Pocock) plus
user-defined sources. Source cards show skill counts, GitHub stars, and
last-updated time; a global search covers all loaded sources.

Server: curated sources gain GitHub repo metadata (stars, pushed_at)
fetched best-effort with a 3-hour in-memory and on-disk cache; scans
run through a concurrency-limited, deduplicated cache with 3-hour TTL
persisted across restarts. Refresh still bypasses the cache.

Shared UI: source cards, global search with clear button, per-skill
GitHub links, install/installed states. VS Code curated list updated
to match. All new copy translated across 12 locales.

* fix(skills): address catalog review findings

- GitHub metadata fetch timeout drops to 1.5s (under the catalog
  client's 3s deadline) and failed lookups cache briefly (5 min) so
  repeated catalog loads do not re-hit a failing API.
- Disk cache files are written with owner-only permissions (0o600);
  rename preserves the mode.
- loadSource deduplicates concurrent in-flight requests per source and
  the shared isLoadingSource flag now clears only when the last active
  source load finishes.
This commit is contained in:
Bohdan Triapitsyn
2026-08-20 01:40:10 +03:00
committed by GitHub
parent 90d8868bfc
commit 1ed3f1f575
45 changed files with 1143 additions and 1286 deletions
@@ -845,16 +845,26 @@ export const settingsDict = {
'settings.skills.catalog.page.mode.manual': 'Manuell',
'settings.skills.catalog.page.mode.external': 'Extern',
'settings.skills.catalog.page.title': 'Fähigkeitskatalog',
'settings.skills.catalog.page.subtitle': 'Installiere fertige Skills aus kuratierten Repositories oder füge eine eigene Quelle hinzu.',
'settings.skills.catalog.page.section.sources': 'Quellen',
'settings.skills.catalog.page.searchAllPlaceholder': 'Skills in allen Quellen suchen…',
'settings.skills.catalog.page.search.clear': 'Suche löschen',
'settings.skills.catalog.page.source.skillsCount': 'Skills: {count}',
'settings.skills.catalog.page.source.stars': 'Sterne: {count}',
'settings.skills.catalog.page.source.updated': 'Aktualisiert {time}',
'settings.skills.catalog.page.source.addOwnTitle': 'Eigene Quelle hinzufügen',
'settings.skills.catalog.page.source.addOwnDescription': 'Beliebiges Git-Repository mit Skills',
'settings.skills.catalog.page.source.viewRepo': 'Repository auf GitHub öffnen',
'settings.skills.catalog.page.skill.viewOnGithub': 'Skill auf GitHub ansehen',
'settings.skills.catalog.page.list.searchTitle': 'Suchergebnisse',
'settings.skills.catalog.page.section.sourceRepository': 'Quell-Repository',
'settings.skills.catalog.page.field.selectSourcePlaceholder': 'Quelle auswählen',
'settings.skills.catalog.page.actions.refreshTitle': 'Aktualisieren',
'settings.skills.catalog.page.actions.removeCatalogTitle': 'Katalog entfernen',
'settings.skills.catalog.page.actions.addCatalog': 'Katalog hinzufügen',
'settings.skills.catalog.page.actions.removeCatalog': 'Katalog entfernen',
'settings.skills.catalog.page.actions.loadMoreSkills': 'Weitere Fähigkeiten laden',
'settings.skills.catalog.page.loading.catalog': 'Wird geladen...',
'settings.skills.catalog.page.loading.skills': 'Fähigkeiten werden geladen...',
'settings.skills.catalog.page.loading.more': 'Wird geladen...',
'settings.skills.catalog.page.foundCount': '{count} Fähigkeit(en) gefunden',
'settings.skills.catalog.page.error.catalogTitle': 'Katalogfehler',
'settings.skills.catalog.page.empty.noSkillsTitle': 'Keine Fähigkeiten gefunden',
@@ -862,7 +872,6 @@ export const settingsDict = {
'settings.skills.catalog.page.badge.installed': 'installiert ({scope})',
'settings.skills.catalog.page.badge.notInstallable': 'nicht installierbar',
'settings.skills.catalog.page.badge.unknown': 'unbekannt',
'settings.skills.catalog.page.byOwnerPrefix': 'von',
'settings.skills.catalog.page.removeDialog.title': 'Katalog entfernen',
'settings.skills.catalog.page.removeDialog.description': 'Sind Sie sicher, dass Sie diesen Katalog entfernen möchten?',
'settings.openchamber.passkeys.title': 'Passkeys',