slash-commands
OfficialCreate fast, reliable Claude Code slash commands.
System Documentation
What problem does it solve?
This Skill provides best practices for creating Claude Code slash commands. It helps you configure frontmatter, leverage dynamic features, apply command patterns, and decide when to use slash commands vs skills vs subagents.
Core Features & Use Cases
- Frontmatter configuration guidance for allowed-tools, description, and model overrides
- Dynamic features: support for
$ARGUMENTS,!bash context, and file references with@ - Command patterns for Git workflows, multi-agent orchestration, and code reviews
- Decision guidance on when to use slash commands versus skills or subagents
- Templates and patterns to accelerate command creation and standardization
Quick Start
Create a new slash command by adding a Markdown file under .claude/commands/ (project) or ~/.claude/commands/ (personal). Include a YAML frontmatter with at least name and description, and place the operational instructions in the body following the frontmatter. Use the provided templates in references/ to guide design and adhere to frontmatter rules. To test, type /<command-name> in Claude Code.
Dependency Matrix
Required Modules
None requiredComponents
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: slash-commands Download link: https://github.com/horuz-ai/claude-plugins/archive/main.zip#slash-commands Please download this .zip file, extract it, and install it in the .claude/skills/ directory.