MCPcopy Create free account
hub / github.com/CreminiAI/skillpack / parseSkillNames

Function parseSkillNames

src/commands/create.ts:25–30  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

23// ---------------------------------------------------------------------------
24
25function parseSkillNames(value: string): string[] {
26 return value
27 .split(",")
28 .map((name) => name.trim())
29 .filter(Boolean);
30}
31
32function normalizeSourceInput(value: string): string {
33 return value.trim().replace(/^npx\s+skills\s+add\s+/u, "");

Callers 1

interactiveCreateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected