MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getSourceTitle

Function getSourceTitle

src/components/skills/SkillsMenu.tsx:24–32  ·  view source on GitHub ↗
(source: SkillSource)

Source from the content-addressed store, hash-verified

22 commands: Command[];
23};
24function 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}
33function 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>__…`.

Callers 1

SkillsMenuFunction · 0.85

Calls 2

capitalizeFunction · 0.85
getSettingSourceNameFunction · 0.85

Tested by

no test coverage detected