mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-20 20:34:19 +00:00
The CLI removed any skill or folder inside a tracked repo on its own: `skillshare uninstall _team/foo` moved the skill out of the repo's checkout, and `_team/vendor/_lib` (a submodule) was even treated as a tracked repo because the CLI marks every git checkout as one. Either way the repo was left dirty for the next update. The dashboard already refused single skills inside a repo, but the rule lived only in its handler. The rule now lives in internal/uninstall, which both the CLI and the dashboard go through: an item below a "_"-prefixed git checkout fails with ErrInsideRepo in Preflight and Run, even with --force. A followed source link is the user's own checkout, so skills below it can still be removed one at a time. The uninstall reference documents the rule and how to name a repo installed with --into, with ja/ko/zh-Hans/zh-Hant translations.