Create a new slash command for Claude Code.
Generate a new slash command file with proper structure, naming conventions, and examples for Claude Code plugins.
/plugin marketplace add artimath/surf-market/plugin install claude-code-meta@surf-marketCreate a new slash command for Claude Code.
Invoke slash-command-builder reference for current patterns:
skills/claude-code-meta/references/slash-command-builder.mdExtract requirements:
Plan command:
Create command file:
touch plugins/<plugin-name>/commands/<command-name>.md
Write command:
# Command Name
Brief description of what this command does.
## Usage
/command-name [optional-arg]
## What It Does
1. [Step 1]
2. [Step 2]
3. [Return results]
## Example
/command-name example-value
Expected output: [describe]
Test command:
/command-nameDocument:
Validate:
Return:
Naming:
Structure:
When to Use Commands vs Skills:
Best Practices:
skills/claude-code-meta/references/slash-command-builder.mdskills/claude-code-meta/references/command-testing.md