MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / isSkillFile

Function isSkillFile

source code/utils/plugins/loadPluginCommands.ts:55–57  ·  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

53 * Check if a file path is a skill file (SKILL.md)
54 */
55function isSkillFile(filePath: string): boolean {
56 return /^skill\.md$/i.test(basename(filePath))
57}
58
59/**
60 * 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