(source: SkillSource)
| 22 | commands: Command[]; |
| 23 | }; |
| 24 | function getSourceTitle(source: SkillSource): string { |
| 25 | if (source === 'plugin') { |
| 26 | return 'Plugin skills'; |
| 27 | } |
| 28 | if (source === 'mcp') { |
| 29 | return 'MCP skills'; |
| 30 | } |
| 31 | return `${capitalize(getSettingSourceName(source))} skills`; |
| 32 | } |
| 33 | function getSourceSubtitle(source: SkillSource, skills: SkillCommand[]): string | undefined { |
| 34 | // MCP skills show server names; file-based skills show filesystem paths. |
| 35 | // Skill names are `<server>:<skill>`, not `mcp__<server>__…`. |
no test coverage detected