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

Function isSkillFile

src/utils/plugins/loadPluginCommands.ts:53–55  ·  view source on GitHub ↗

* Check if a file path is a skill file (SKILL.md)

(filePath: string)

Source from the content-addressed store, hash-verified

51 * Check if a file path is a skill file (SKILL.md)
52 */
53function isSkillFile(filePath: string): boolean {
54 return /^skill\.md$/i.test(basename(filePath))
55}
56
57/**
58 * Get command name from file path, handling both regular files and skills

Callers 3

getCommandNameFromFileFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected