List the user's custom slash commands so they can see what they've saved.
Do this:
- Read the user's global commands directory
~/.claude/commands/and find every*.mdfile (ignoreREADME.md). - Also check the current project's
.claude/commands/directory if it exists. - For each command file, show:
- the command name (filename without
.md, prefixed with/), - its
descriptionfrom the frontmatter (or the first line if no frontmatter), - whether it is global (user) or project.
- the command name (filename without
- Present them as a simple, readable list grouped by global vs project.
- If there are none, say so and remind the user they can create one with
/slash-it:create-cmd <name>.