MCPcopy Index your code
hub / github.com/github/awesome-copilot / getSkillDownloadName

Function getSkillDownloadName

website/src/scripts/modal.ts:60–62  ·  view source on GitHub ↗
(skill: SkillItem)

Source from the content-addressed store, hash-verified

58let skillsCache: SkillsData | null | undefined;
59
60function getSkillDownloadName(skill: SkillItem): string {
61 return skill.id || skill.path.split("/").pop() || "skill";
62}
63
64const RESOURCE_TYPE_TO_JSON: Record<string, string> = {
65 agent: "agents.json",

Callers 1

setupModalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected