Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go

fix(handler): add .claude/skills/ candidate path for skills.sh import (#792)

Bohan Jiang1ee4e0501a95
diff --git a/server/internal/handler/skill.go b/server/internal/handler/skill.go
index ed45320b85..c1a7404daf 100644
--- a/server/internal/handler/skill.go
+++ b/server/internal/handler/skill.go
@@ -646,6 +646,7 @@ func fetchFromSkillsSh(httpClient *http.Client, rawURL string) (*importedSkill,
// Skills can be at different paths depending on the repo structure:
// skills/{name}/SKILL.md (most common)
+ // .claude/skills/{name}/SKILL.md (Claude Code native discovery)
// plugin/skills/{name}/SKILL.md (e.g. microsoft repos)
// {name}/SKILL.md (skill at repo root level)
defaultBranch := fetchGitHubDefaultBranch(httpClient, owner, repo)
@@ -654,6 +655,7 @@ func fetchFromSkillsSh(httpClient *http.Client, rawURL string) (*importedSkill,
candidatePaths := []string{
"skills/" + skillName,
+ ".claude/skills/" + skillName,
"plugin/skills/" + skillName,
skillName,
}