MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / getSkill

Method getSkill

src/services/skills/SkillsManager.ts:296–299  ·  view source on GitHub ↗

* Get a skill by name, source, and optionally mode

(name: string, source: "global" | "project", mode?: string)

Source from the content-addressed store, hash-verified

294 * Get a skill by name, source, and optionally mode
295 */
296 getSkill(name: string, source: "global" | "project", mode?: string): SkillMetadata | undefined {
297 const skillKey = this.getSkillKey(name, source, mode)
298 return this.skills.get(skillKey)
299 }
300
301 /**
302 * Find a skill by name and source (regardless of mode).

Callers 3

deleteSkillMethod · 0.95
moveSkillMethod · 0.95

Calls 2

getSkillKeyMethod · 0.95
getMethod · 0.65

Tested by

no test coverage detected