What problem does it solve?
This Skill helps you build reliable Claude Code slash commands by teaching the required Markdown structure, YAML frontmatter configuration, and the correct ways to pass inputs and resources into a command.
Core Features & Use Cases
- Define command behavior with YAML frontmatter: Set discoverable descriptions, model selection, tool permissions, argument hints, and manual-only invocation.
- Design flexible command interfaces: Capture dynamic user input with $ARGUMENTS and positional arguments like $1, $2, and validate expectations in the prompt.
- Inject context safely and effectively: Load file contents into the command via @file references and gather live repository context using Bash execution (!
... syntax).
- Organize commands for teams and plugins: Use namespacing patterns for plugin commands and integrate command workflows with plugin components (agents, skills, hooks).
- Use references and examples progressively: Start with core fundamentals and expand into advanced workflows, interactive commands (AskUserQuestion), testing strategies, and marketplace-ready documentation patterns.
Quick Start
Create a new command file and start with a YAML block that includes a description, then write the command instructions to guide Claude on exactly what to do when the slash command is invoked.