(group string)
| 48 | } |
| 49 | |
| 50 | func groupKind(group string) entities.Kind { |
| 51 | switch group { |
| 52 | case "instruction": |
| 53 | return entities.KindInstruction |
| 54 | case "prompt": |
| 55 | return entities.KindPrompt |
| 56 | case "skill": |
| 57 | return entities.KindSkill |
| 58 | case "agent": |
| 59 | return entities.KindAgent |
| 60 | case "plugin": |
| 61 | return entities.KindPlugin |
| 62 | } |
| 63 | return entities.Kind(group) |
| 64 | } |
| 65 | |
| 66 | // ============================================================================ |
| 67 | // search — 3-tier search: GitHub → skill_repos.json → config.yaml remotes |
no test coverage detected