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

Function isSkillFile

src/skills/loadSkillsDir.ts:484–486  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

482// --- Legacy /commands/ loader ---
483
484function isSkillFile(filePath: string): boolean {
485 return /^skill\.md$/i.test(basename(filePath))
486}
487
488/**
489 * Transforms markdown files to handle "skill" commands in legacy /commands/ folder.

Callers 3

transformSkillFilesFunction · 0.70
getCommandNameFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected