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

Function isOfficialMarketplaceSkill

src/tools/SkillTool/SkillTool.ts:935–942  ·  view source on GitHub ↗
(command: PromptCommand)

Source from the content-addressed store, hash-verified

933}
934
935function isOfficialMarketplaceSkill(command: PromptCommand): boolean {
936 if (command.source !== 'plugin' || !command.pluginInfo?.repository) {
937 return false
938 }
939 return isOfficialMarketplaceName(
940 parsePluginIdentifier(command.pluginInfo.repository).marketplace,
941 )
942}
943
944/**
945 * Extract URL scheme for telemetry. Defaults to 'gs' for unrecognized schemes

Callers 2

executeForkedSkillFunction · 0.85
callFunction · 0.85

Calls 2

parsePluginIdentifierFunction · 0.85

Tested by

no test coverage detected