{{define "merge-skill-list.html"}} {{if .SourceErrors}}
{{range $source, $error := .SourceErrors}} {{/* Skip auth-related error messages */}} {{if and (not (contains $error "GITHUB_TOKEN")) (not (contains $error "authentication")) (not (contains $error "rate limit"))}}
{{if eq $source "github"}}GitHub{{else if eq $source "gitlab"}}GitLab{{else if eq $source "skills.sh"}}SKILLS.sh{{else}}{{$source}}{{end}}: {{$error}}
{{end}} {{end}}
{{end}} {{if .Skills}}
{{range .Skills}}
{{.Name}} {{if eq .Source "local"}}Local{{else if eq .Source "skills.sh"}}SKILLS.sh{{else if eq .Source "github"}}GitHub{{else if eq .Source "gitlab"}}GitLab{{else if eq .Source "bitbucket"}}Bitbucket{{else if eq .Source "codeberg"}}Codeberg{{else}}{{.Source}}{{end}}
{{if .Description}}

{{truncate .Description 80}}

{{end}} {{if .Version}}

v{{.Version}}

{{end}}
{{end}}
{{if .HasNext}}
{{end}} {{else}}

{{if .Query}}No skills found for "{{.Query}}"{{else}}Enter a search term to find skills{{end}}

{{end}} {{end}}