What problem does it solve?
This Skill solves the problem of creating and managing Claude Code slash commands by providing comprehensive guidance on their structure, configuration, and best practices.
Core Features & Use Cases
- Command Creation: Learn how to define slash commands using Markdown files.
- Frontmatter Configuration: Understand YAML frontmatter fields like
description, allowed-tools, argument-hint, and model.
- Dynamic Arguments & References: Utilize
$1, $ARGUMENTS, and @path/to/file for dynamic command behavior.
- Bash Execution: Integrate shell commands using
! syntax for context gathering.
- Organization: Learn about flat and namespaced command structures.
- Plugin Commands: Understand
${CLAUDE_PLUGIN_ROOT} and plugin-specific patterns.
- Use Case: A developer needs to create a new slash command to automate code reviews. They consult this Skill to understand the file format, how to define arguments, and how to include bash commands for fetching git status.
Quick Start
Use the command development skill to learn how to create a new slash command for Claude Code.