What problem does it solve?
This Skill provides comprehensive guidance for creating and managing Claude Code slash commands, addressing the complexities of command development, plugin-specific features, and best practices.
Core Features & Use Cases
- Command Structure and Formatting: Learn the essentials of slash command file structure and YAML frontmatter configuration.
- Dynamic Arguments: Understand how to handle arguments in slash commands, including positional and remaining arguments.
- File References: Utilize file references for incorporating external files into commands.
- Bash Execution: Leverage Bash execution within commands for more advanced operations.
- Plugin Integration: Explore how to integrate slash commands with plugin components like agents, skills, and hooks.
- Validation Patterns: Learn how to implement validation patterns for argument, file, resource, and error handling.
- Use Case: Imagine you are a developer working on Claude Code plugins. Use this Skill to efficiently create custom slash commands for your plugins, ensuring they work seamlessly with other components.
Quick Start
To create a new slash command, use the command development skill to guide you through the process. Start by defining the command name and description, then specify the arguments and tools needed for the command.