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.