slash-commands

Solid

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

AI & Automation 3,795 stars 297 forks Updated 4 months ago MIT

Install

View on GitHub

Quality Score: 86/100

Stars 20%
100
Recency 20%
50
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 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 ```bash mkdir -p .claude/commands cat > .claude/commands/optimize.md << 'EOF' --- description: Analyze code for performance issues --- Review this code for: - Performance bottlenecks - Memory leaks - Caching opportunities EOF ``` ### Personal Commands ```bash mkdir -p ~/.claude/commands cat > ~/.claude/commands/review.md << 'EOF' --- description: Security-focused code review --- Check for vulnerabilities: - Input validation - SQL injection - XSS risks EOF ``` ## Command File Format ```yaml --- description: Brief description for /help allowed-tools: [Bash, Read, Write] # Optional argument-hint: "[file] [type]" # Optional --- Your markdown instructions here. Use $1, $2 for arguments or $ARGUMENTS ...

Details

Author
parcadei
Repository
parcadei/Continuous-Claude-v3
Created
5 months ago
Last Updated
4 months ago
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

slash-commands

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

495 Updated 1 months ago
vibeeval
AI & Automation Listed

command-development

This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.

13 Updated yesterday
thevibeworks
AI & Automation Listed

creating-commands

Creates new Claude Code slash commands following best practices. Guides through command structure, naming, arguments, and frontmatter. Use when user wants to create a command, build a slash command, or asks about command best practices.

335 Updated today
aiskillstore
AI & Automation Solid

command-development

This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.

4,111 Updated 3 days ago
Galaxy-Dawn
AI & Automation Solid

command-development

This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.

339 Updated 1 weeks ago
tzachbon