create-slash-commands
Expert guidance for creating Claude Code slash commands. Use when working with slash commands, creating custom commands, understanding command structure, or learning YAML configuration.
Security Assessment
About create-slash-commands
The 'create-slash-commands' skill provides expert guidance on building custom slash commands for Claude Code, empowering users to streamline and standardize their workflows with reusable prompts. Slash commands allow users to trigger complex tasks by typing a simple '/command-name' syntax, eliminating the need for repetitive manual input. This skill helps users design and configure these commands to fit specific needs, ensuring a more efficient and automated approach to managing code operations and tasks within Claude Code environments.
FAQ
How do I create a slash command?
To create a slash command, create a `.claude/commands/` directory, define a `command-name.md` file, add YAML frontmatter with a description, and write the command's prompt. Test it using `/command-name [args]`.
Can I use dynamic arguments in my commands?
Yes, dynamic arguments can be used by referencing `$ARGUMENTS` in the `<objective>` or `<process>` tags. These arguments are specified in the command's frontmatter under 'argument-hint'.
Are there any specific tags required for slash commands?
Yes, slash commands must include certain tags like `<objective>`, `<process>`, and `<success_criteria>`. Additional tags like `<context>`, `<verification>`, and `<output>` may be used depending on the complexity of the command.
Is there a limitation on the complexity of slash commands?
The complexity of slash commands can vary. Simple commands only require basic tags, while more complex commands may involve dynamic arguments, context loading, and output generation, requiring additional tags for clarity.
Install create-slash-commands
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
glittercowboy/taches-cc-resources