Skip to content

listCommands

listCommands(repoDir, userClaudeDir): SlashCommand[]

Defined in: src/commands.ts:194

Discover installed slash commands for the New Task picker and inline / autocomplete. Built in precedence order (lowest first, each later source shadowing earlier on a name clash): builtin → plugin → user → project. Sorted by name. repoDir null → no project layer.

string | null

string

SlashCommand[]