slash-commands

Create and use Claude Code slash commands - quick prompts, bash execution, file references

By parcadei · 486 installs

npx skills add parcadei/continuous-claude-v3 --skill slash-commands

Source repository · Upstream listing

Slash Commands Reference Create and use user triggered prompts with /command name syntax. When to Use "How do I create a slash command?" "What slash commands are available?" "Add bash to my command" "Use file references in commands" "Slash commands vs skills" Built in Commands Command Purpose /clear Clear conversation history /compact Compact conversation with focus /config Open settings interface /cost Show token usage /agents Manage sub agents /mcp Manage MCP servers /memory Edit CLAUDE.md files /model Select AI model /review Request code review /resume Resume session /help Get usage help Creating Commands Project Commands Personal Commands Command File Format Bash Execution Run bash before loading prompt with ! prefix: Rules: Must declare allowed tools: Bash(...) in frontmatter Use backticks: ! command Output is included in Claude's context File References Include files with @ prefix: Arguments Usage: Namespacing Organize with subdirectories: MCP Slash Commands MCP servers expose prompts as commands: Slash Commands vs Skills Aspect Slash Commands Skills Invocation Explicit: /command Auto discovered Files Single .md file Directory with SKILL.md Use Case Quick prompts Complex workflows Use slash commands for: Frequently typed prompts, simple templates Use skills for: Complex workflows, multiple files, auto discovery Example: Complete Git Commit Command Usage: /commit feat