MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / qualifySubSkillName

Function qualifySubSkillName

packages/agent-core/src/skill/scanner.ts:417–420  ·  view source on GitHub ↗
(parentName: string, skillName: string)

Source from the content-addressed store, hash-verified

415}
416
417function qualifySubSkillName(parentName: string, skillName: string): string {
418 if (skillName === parentName || skillName.startsWith(`${parentName}.`)) return skillName;
419 return `${parentName}.${skillName}`;
420}
421
422function hasSubSkillEnabled(skill: SkillDefinition): boolean {
423 const nested = skill.metadata['metadata'];

Callers 1

parseAndRegisterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected