Files
skillshare/internal/install
Willie c7f8a86c62 feat(install): group config skills by repo to avoid redundant clones
When a registry has multiple skills from the same git repo,
InstallFromConfig now clones the repo once and installs each skill
from the local clone via InstallFromDiscovery. This mirrors the
optimization already present in search_batch.go for hub installs.

The install flow is restructured into 4 phases:
1. Tracked repos (unchanged, each does its own clone+discover)
2. Grouped plain skills (clone once per repo, install from discovery)
3. Singles (unchanged per-skill Install flow)
4. Reconcile config

Skills that fail to match in grouped discovery fall back to Phase 3.
2026-02-27 05:39:49 +08:00
..