What problem does it solve?
This Skill enables users to create custom slash commands in Claude Code, streamlining repetitive tasks and providing quick access to complex workflows. It enhances productivity by allowing users to trigger predefined actions or expand prompts with dynamic content.
Core Features & Use Cases
- Custom Command Creation: Define commands with static text, dynamic arguments (
{{arg}}, {{named_arg}}), and conditional content ({{#if}}).
- Multi-Step Workflows: Orchestrate complex sequences by embedding shell commands (
{{shell:git diff}}) or referencing other files within a single command.
- Command Organization & Best Practices: Learn to structure commands within plugins, use clear naming conventions, and document arguments for discoverability.
- Use Case: Create a
/gcm (Git Commit Message) command that automatically analyzes staged changes ({{shell:git diff --staged}}) and generates a conventional commit message, saving time on manual commit message crafting.
Quick Start
Create a new command named '/greet' that takes a single argument (a name) and responds with "Hello, {{name}}!".