mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-19 02:17:09 +00:00
Discovery skips well-known target dot-dirs (.claude, .cursor, ...) so that target-synced copies are not mistaken for source skills. filepath.Walk visits the walk root first, so pointing an install directly at such a directory — `skillshare install user/repo/.claude` — matched the guard on the root itself and returned SkipDir before scanning anything, yielding zero skills. Exempt the walk root from the dot-dir filter in discoverSkills and scanAgentDir: it was requested explicitly, so filtering it can only discover nothing. .git stays unconditionally skipped, and repo-root walks are unchanged, preserving the original guard.